rgb-cln/channeld
Ken Sedgwick 44798e298c hsmd: implement the hsmd outpoint check
Tihis commit is implementing a 2-phase commit between
the signer the node and the peer.

The main reason for this is that everybody must agree on the lock,
otherwise one of them will want N signatures (on the splice candidates),
and another will produce only 1 signature.

check_outpoint is the "prepare" for the signer, and lock_outpoint is the
"commit". if check_outpoint returns true, lock_outpoint must not fail.

Link: https://github.com/ElementsProject/lightning/issues/6722
Suggested-by: @devrandom
Co-Developed-by: Ken Sedgwick <ken@bonsai.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-10-26 16:42:47 +10:30
..
test bitcoin: remove DEVELOPER options. 2023-09-21 20:08:24 +09:30
Makefile channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
channeld.c hsmd: implement the hsmd outpoint check 2023-10-26 16:42:47 +10:30
channeld.h channeld: simply exit if hsmd vanishes. 2022-02-08 11:15:52 +10:30
channeld_htlc.h channeld: remove dead HTLCs from htable and free them (eventually) 2023-01-20 14:04:08 -06:00
channeld_wire.csv lightningd: really fill in our own details when channeld says to make channel_update. 2023-10-25 07:00:05 +10:30
commit_tx.c global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
commit_tx.h global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
full_channel.c common/daemon.c: remove #ifdef DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
full_channel.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
full_channel_error.h dusty-htlcs: enforce limit on dusty htlcs 2021-10-23 12:59:13 +02:00
inflight.c splice: Fixes from splice-out test 2023-09-21 13:41:45 +09:30
inflight.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
splice.c channeld: replace `struct splice` with `struct splicing` for OpenBSD. 2023-08-03 13:43:35 +09:30
splice.h channeld: replace `struct splice` with `struct splicing` for OpenBSD. 2023-08-03 13:43:35 +09:30
watchtower.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
watchtower.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30