pull down to refresh
0 sats \ 2 replies \ @megaptera 16 Sep \ on: How to open Simple Taproot Channels on LND lightning
Is there a way I can make sure my peer does support taproot channels?
Yes you can via cli the command should be:
lncli listpeers | jq '.peers[] | select(.pub_key=="<peer_pubkey>") | .features'
if the peer is not connected, connect first:
lncli connect <peer_pubkey>@<host>:<port>
reply
lncli listpeers | jq '.peers[] | select(.pub_key=="<peer_pubkey>") | .features'
This one parses my complete existing channel partners. Is it really so rarely used, that out of 140 channels, 0 support STC?
lncli listpeers | jq '.peers[] | select(.features."24".is_known and .features."26".is_known) | {pub_key, features}'
reply