mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
daemon: handle cheating.
As per onchain.md. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -34,6 +34,12 @@ void peer_sign_mutual_close(const struct peer *peer,
|
||||
struct bitcoin_tx *close,
|
||||
struct signature *sig);
|
||||
|
||||
void peer_sign_steal_input(const struct peer *peer,
|
||||
struct bitcoin_tx *spend,
|
||||
size_t i,
|
||||
const u8 *witnessscript,
|
||||
struct signature *sig);
|
||||
|
||||
void peer_secrets_init(struct peer *peer);
|
||||
|
||||
void peer_get_revocation_hash(const struct peer *peer, u64 index,
|
||||
|
||||
Reference in New Issue
Block a user