quoting naddr1qv…ualjThe whoa of trying to balance public lightning channels on LND.
Node Active Capacity RemBalance(In) LocBalance(Out) Sent Received HTLCs Fee Weight ---- ------ -------- -------------- --------------- ---- -------- ----- --- ------ LQwD-Canada True 2,000,000 40,330 1,956,990 23,134,761 25,091,752 0 2020 1116 Uila-Hawaii True 1,000,000 959,376 37,613 3,984,098 3,024,721 0 2351 1116
pwd: PS /root/BTCPayServer/btcpayserver-docker Creating an Lightning Invoice for 5000 sats $mylncli = "lncli --macaroonpath /root/.lnd/admin.macaroon addinvoice 5000" $mylncli = "docker exec btcpayserver_lnd_bitcoin " + $mylncli $rslt = Invoke-Expression $mylncli | ConvertFrom-JSON
Self-Paying the Lightning Invoice for 5000 sats $cid = '888921066311188486' # LQwD-Canada $hop = '021eb3cebc4aee0e563d6ec77131035e817ad69c6c7577e0582e14ca06c502596a' # Uila-Hawaii $mylncli = "lncli --macaroonpath /root/.lnd/admin.macaroon payinvoice " $mylncli = "docker exec btcpayserver_lnd_bitcoin " + $mylncli $mylncli += "--allow_self_payment --fee_limit 30 --force " $mylncli += "--outgoing_chan_id " + $cid + " " $mylncli += "--last_hop " + $hop + " " $mylncli += "--pay_req " + $rslt.payment_request Invoke-Expression $mylncli
Interactive output generated from payinvoice command
When the command runs the console is locked up with a bunch of tabular output to the console showing the attempts at finding a payment route. Then finally... SUCCEEDED | LQwD-Canada->Jupiter01->WalletOfSatoshi.com->Uila->SANJOSE_UBETCHA
Now we see how the channel balances have changed.
./Get-PSLndExplorer.ps1 -lndcmd PayCh -dpx
”`
”`Node Active Capacity RemBalance(In) LocBalance(Out) Sent Received HTLCs Fee Weight
LQwD-Canada True 2,000,000 32,780 1,965,159 23,139,764 25,104,923 0 1401 1116 Uila-Hawaii True 1,000,000 954,376 42,614 3,984,098 3,029,721 0 2350 1116
YakiHonne on Nostr: Trying to balance public Lightning channels on LND, an experience full of challenges ...
Trying to balance public Lightning channels on LND, an experience full of challenges and surprises! ⚡️ More information,check out the article,written by cadayton (npub1xzu…taqn)