Why Nostr? What is Njump?
2023-07-19 03:34:13

bitcoincoderbob on Nostr: lnrpc.ChannelCloseSummary does not give remote channel balance on close. We can ...

lnrpc.ChannelCloseSummary does not give remote channel balance on close. We can derive it.

remote balance = channel capacity - local balance - sum(pending htlcs) - commit fee(miner fee) - any anchors

the pending htlcs, commit fee, and anchors are inside the resolutions field
Author Public Key
npub1ew4nntskh08fzkwjusrc9u5627g639c5z6udc4q3a3plr9ns4naqxp6qlf