Skip to content

Claiming on-chain funds that are not confirmed #2247

Answered by ConorOkus
ConorOkus asked this question in Help
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

ConorOkus
Apr 29, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by ConorOkus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant