You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle SpliceChannel events and wire lifecycle hooks
- Plumb fee_estimator into LiquiditySource for splice UTXO selection
- Add splice_channel_for_lsps4() helper mirroring Node::splice_in()
- Add open_channel_for_lsps4() helper extracted from OpenChannel handler
- Handle SpliceChannel event: try splice, fallback to create_channel
- Wire SpliceFailed to reset LSPS4 liquidity cooldown
- Wire ChannelClosed to clear LSPS4 liquidity cooldown
- Switch to local path deps for cross-repo development
fix(lsps4): handle channel-not-usable splice error without fallback
When splice fails because the channel is reestablishing (not usable
yet), don't fall back to create_channel. The timer retries in ~1s
once reestablishment completes.
fix(lsps4): use unconfirmed UTXOs for splice funding
Splices are zero-conf anyway, so using unconfirmed inputs adds no
additional risk. Prevents splice failures when the LSP wallet has
unconfirmed change from a previous splice.
---------
Co-authored-by: Martin Saposnic <martinsaposnic@gmail.com>
0 commit comments