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

Function bitcoin_tx_set_locktime

bitcoin/tx.c:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void bitcoin_tx_set_locktime(struct bitcoin_tx *tx, u32 locktime)
191{
192 tx->wtx->locktime = locktime;
193 tx->psbt->fallback_locktime = locktime;
194 tx->psbt->has_fallback_locktime = true;
195}
196
197/* FIXME Stolen from psbt_append_input; export? */
198static struct wally_tx_input *wally_tx_input_from_outpoint_sequence(const struct bitcoin_outpoint *outpoint,

Callers 3

htlc_timeout_txFunction · 0.85
commit_txFunction · 0.85
initial_commit_txFunction · 0.85

Calls

no outgoing calls

Tested by 1

htlc_timeout_txFunction · 0.68