MCPcopy Create free account
hub / github.com/ElementsProject/lightning / to_self_wscript

Function to_self_wscript

common/initial_commit_tx.c:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50u8 *to_self_wscript(const tal_t *ctx,
51 u16 to_self_delay,
52 u32 csv,
53 const struct keyset *keyset)
54{
55 return bitcoin_wscript_to_local(ctx, to_self_delay, csv,
56 &keyset->self_revocation_key,
57 &keyset->self_delayed_payment_key);
58}
59
60void tx_add_anchor_output(struct bitcoin_tx *tx,
61 const struct pubkey *funding_key)

Callers 2

initial_commit_txFunction · 0.70
commit_txFunction · 0.50

Calls 1

bitcoin_wscript_to_localFunction · 0.85

Tested by

no test coverage detected