Skip to content

More robust splicing edge cases - #3366

Merged
t-bast merged 3 commits into
masterfrom
splice-improve-pattern-matching
Aug 26, 2026
Merged

More robust splicing edge cases#3366
t-bast merged 3 commits into
masterfrom
splice-improve-pattern-matching

Conversation

@t-bast

@t-bast t-bast commented Aug 25, 2026

Copy link
Copy Markdown
Member

We apply some defense-in-depth to better handle edge cases during splicing where a remote peer doesn't follow the BOLTs. This also includes more thorough pattern-matching, which protects against future refactoring or new features from inadvertently introducing a vulnerability related to splicing.

We apply some defense-in-depth to better handle edge cases during
splicing where a remote peer doesn't follow the BOLTs. This also
includes more thorough pattern-matching, which protects against
future refactoring or new features from inadvertently introducing
a vulnerability related to splicing.
@t-bast
t-bast requested review from pm47 and sstone August 25, 2026 16:05
sstone and others added 2 commits August 26, 2026 15:16
When we were selling liquidity and abort the funding attempt after telling
our peer actor that the purchase was signed, we must send it a
LiquidityPurchaseAborted event. Otherwise the payment stays in the Funded
state, pointing at a funding transaction that will never exist: we hold the
upstream HTLCs until they expire, at which point we force-close a channel
that we aborted the splice on ourselves.
@t-bast
t-bast merged commit 59772fe into master Aug 26, 2026
1 check passed
@t-bast
t-bast deleted the splice-improve-pattern-matching branch August 26, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants