-
Repost of @benthecarman from Discord: "Is there a way to see if you have any on-chain funds for the node to claim that aren't confirmed yet (haven't gotten the spendable outputs event)?" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Response from @TheBlueMatt: get_spendable_balances in ChainMonitor/ChannelMonitor should return what you want, with the exception of a 0conf channel that hasn't yet had funding confirmed on chain, I think there's a bug there, i guess, where we dont display any spendable balances the intent is the balances set there is used to decide when to safely prune ChannelMonitors for old closed channels, tho we don't yet recommend actually deleting them unless you have a performance issue (ie are a big routing node), and if you do probably archive them dont delete just yet. |
Beta Was this translation helpful? Give feedback.
Response from @TheBlueMatt:
get_spendable_balances in ChainMonitor/ChannelMonitor should return what you want, with the exception of a 0conf channel that hasn't yet had funding confirmed on chain, I think there's a bug there, i guess, where we dont display any spendable balances the intent is the balances set there is used to decide when to safely prune ChannelMonitors for old closed channels, tho we don't yet recommend actually deleting them unless you have a performance issue (ie are a big routing node), and if you do probably archive them dont delete just yet.
to give us more time to be confident we dont have any bugs there.