Holy shit. How do I find out if I have ANCHOR channels?

Reply to this note

Please Login to reply.

Discussion

In command line use command listchannels, it gives you all the data relevant to all channels. Look for "commitment_type": "ANCHORS", If you dont see this then I dont think it is

In umbrel from the umbrel directory put in below command

./scripts/app compose lightning exec lnd lncli listchannels

I created an alias for him. He can use the standard lncli and bitcoin-cli commands without needing to run the standard long Umbrel commands.

I used this to modify my bash rc file so all I have to do is type the actual command after myfunc and I can run any command. I gave him the full command incase he was a newb and didn’t know. Is there another way to run the commands by typing just the command and not preceding it with myfunc that you know of????

myfunc() {

./scripts/app compose lightning exec lnd lncli "$@"

}

yes, that's what i used to do essentially. edit .bash_aliases and add the following

alias lncli="/home/umbrel/umbrel/scripts/app compose lightning exec lnd lncli"

alias bitcoin-cli="/home/umbrel/umbrel/scripts/app compose bitcoin exec bitcoind bitcoin-cli"