mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
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> |
||
---|---|---|
.. | ||
test | ||
channeld.c | ||
channeld.h | ||
channeld_htlc.h | ||
channeld_wire.csv | ||
commit_tx.c | ||
commit_tx.h | ||
full_channel.c | ||
full_channel.h | ||
full_channel_error.h | ||
inflight.c | ||
inflight.h | ||
Makefile | ||
splice.c | ||
splice.h | ||
watchtower.c | ||
watchtower.h |