Skip to content

bookkeeper testing for splice-in + splice-out#7534

Merged
rustyrussell merged 1 commit into
ElementsProject:masterfrom
niftynei:nifty/bkpr_splice_two
Nov 17, 2024
Merged

bookkeeper testing for splice-in + splice-out#7534
rustyrussell merged 1 commit into
ElementsProject:masterfrom
niftynei:nifty/bkpr_splice_two

Conversation

@niftynei
Copy link
Copy Markdown
Collaborator

@niftynei niftynei commented Aug 6, 2024

Add tests for bookkeeping for splicing. Test that funds are allocated and accounted for appropriately, along with on-chain fees, for both splice-in and splice-out.

Note that fees for splices are attributed to the channels that the funds are spliced into/out of.

Built on #7533 and #6980. Start at commit 01da483.

[Those are merged! Rebased on master --RR]
Changelog-None: just tests...

@niftynei niftynei requested a review from cdecker as a code owner August 6, 2024 06:46
@niftynei niftynei requested review from ddustin and removed request for cdecker August 6, 2024 06:46
@niftynei niftynei force-pushed the nifty/bkpr_splice_two branch 2 times, most recently from efd2ea1 to 97b134c Compare August 6, 2024 07:06
@niftynei niftynei added this to the v24.11 milestone Aug 12, 2024
@niftynei niftynei force-pushed the nifty/bkpr_splice_two branch from 97b134c to aa83153 Compare August 19, 2024 20:02
@ddustin
Copy link
Copy Markdown
Collaborator

ddustin commented Aug 21, 2024

LGTM! Excited for all this bookeeper checking!

The splice_script PR needed some docs regenerated that make didn't pick up automatically. I regenerated it.

A rebase will be needed once that PR passes CI

@niftynei niftynei force-pushed the nifty/bkpr_splice_two branch 2 times, most recently from 9ff59df to c4f90c7 Compare August 26, 2024 19:04
Make sure that the fees and channel balances for splice ins and outs
work as expected.

Note this is for a single-sided splice.
Changelog-None: Tests!
@rustyrussell rustyrussell merged commit cb2163e into ElementsProject:master Nov 17, 2024
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.

3 participants