Skip to content

Add license scan report and status - #1

Closed
fossabot wants to merge 1 commit into
TheBlueMatt:masterfrom
fossabot:add-license-scan-badge
Closed

fossabot wants to merge 1 commit into
TheBlueMatt:masterfrom
fossabot:add-license-scan-badge

Conversation

@fossabot

Copy link
Copy Markdown

Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README.

Below are docs for integrating FOSSA license checks into your CI:

@fossabot

Copy link
Copy Markdown
Author

Your license scan is passing -- congrats!

Your badge status is now updated and ready to merge:

FOSSA Status

@TheBlueMatt
TheBlueMatt force-pushed the master branch 2 times, most recently from c9b12e1 to e9c0e15 Compare May 6, 2021 21:09
@TheBlueMatt TheBlueMatt closed this Oct 6, 2022
TheBlueMatt pushed a commit that referenced this pull request Mar 17, 2026
When the counterparty initiates an RBF and we have no new contribution
queued via QuiescentAction, we must re-use our prior contribution so
that our splice is not lost. Track contributions in a new field on
PendingFunding so the last entry can be re-used in this scenario.

Each entry stores the feerate-adjusted version because that reflects
what was actually negotiated and allows correct feerate re-adjustment
on subsequent RBFs. Only explicitly provided contributions (from a
QuiescentAction) append to the vec. Re-used contributions are replaced
in-place with the version adjusted for the new feerate so they remain
accurate for further RBF rounds, without growing the vec.

Add test_splice_rbf_acceptor_recontributes to verify that when the
counterparty initiates an RBF and we have no new QuiescentAction
queued, our prior contribution is automatically re-used so the splice
is preserved.

Add test_splice_rbf_recontributes_feerate_too_high to verify that when
the counterparty RBFs at a feerate too high for our prior contribution
to cover, the RBF is rejected rather than proceeding without our
contribution.

Add test for sequential RBF splice attempts

Add test_splice_rbf_sequential that exercises three consecutive RBF
rounds on the same splice (initial → RBF #1 → RBF #2) to verify:
- Each round requires the 25/24 feerate increase (253 → 264 → 275)
- DiscardFunding events reference the correct funding txid from each
  replaced candidate
- The final RBF splice can be mined and splice_locked successfully

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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