rgb-cln/bitcoin
Dusty Daemon a6a9e5b1e3 splice: Reestablish when commit or sig sends fail
Adds tests for when the connection fails during
1) splice tx_signature
2) splice commitment_signed

Fleshed out the reestablish flow for these two cases and implemented the fixes to make these reestablish flows work.

Part of this work required changing commit process for splices: Now we send a single commit_part for the splice where previously we sent all commits, and accordingly, we no longer revoke in response.

Changelog-Fixed: Implemented splicing restart logic for tx_signature and commitment_signed. Splice commitments are reworked in a manner incompatible with the last version.
2023-11-20 07:35:22 +01:00
..
test
Makefile
README
address.h
base58.c
base58.h
block.c
block.h
chainparams.c
chainparams.h
feerate.c
feerate.h
locktime.c
locktime.h
preimage.c
preimage.h
privkey.c
privkey.h
psbt.c
psbt.h
pubkey.c
pubkey.h
script.c
script.h
shadouble.c
shadouble.h
short_channel_id.c
short_channel_id.h
signature.c
signature.h
tx.c
tx.h
tx_parts.c
tx_parts.h
varint.c
varint.h

README

These are standard bitcoin manipulation routines which should be
provided by any normal bitcoin library in whatever language you choose.

The ones here are standalone ones taken from bitcoin core and some I
wrote, many taken from bitcoin-iterate and pasted in here.