I am not responsible, directly or indirectly for the loss of funds using these commands. Use at your own risk.
alias lrecv="lncli listchannels | jq '[ .channels | .[] | select(.total_satoshis_received|tonumber>0) ]'"
| #!/bin/bash | |
| POST_INIT_SYNC_DELAY=60 | |
| POLL_DELAY=60 | |
| STALL_THRESHOLD=5 | |
| if [ -z `pidof btcd` ]; then | |
| echo "Starting btcd" | |
| nohup btcd & | |
| sleep $POST_INIT_SYNC_DELAY |