Disclaimer: lnproxy.org now defaults to selecting a random relay from the centralized list you can find on github (one day we will query nostr for relay ads).

It's good time to post "running lnproxy-relay" and start collecting some some routing fees.

Reply to this note

Please Login to reply.

Discussion

Speaking of routing fees, they wont show up in `lncli feereport` but you can copy paste the payment hashes from the logs to a script like this to see how much you made:

```

lnproxy$ cat ./proxyfee

#!/bin/sh

{

lncli trackpayment --json $1 | jq -r '(.value_msat | tonumber) + (.fee_msat | tonumber)'

lncli lookupinvoice $1 | jq -r '.amt_paid_msat'

} |

awk '

NR == 1 {paid=$1 ; printf "paid: %0.0f\n", $1/1000}

NR == 2 {got=$1 ; printf " got: %0.0f\n", $1/1000}

END {printf "diff: %0.0f\n", (got - paid)/1000}

'

```

Run with `./proxyfee `