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

Function to_self_wscript

common/initial_commit_tx.c:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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