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
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