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

Function bitcoin_tx_finalize

bitcoin/tx.c:531–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531void bitcoin_tx_finalize(struct bitcoin_tx *tx)
532{
533 elements_tx_add_fee_output(tx);
534 assert(bitcoin_tx_check(tx));
535}
536
537struct bitcoin_tx *bitcoin_tx_with_psbt(const tal_t *ctx, struct wally_psbt *psbt STEALS)
538{

Callers 11

grind_htlc_tx_feeFunction · 0.85
set_htlc_timeout_feeFunction · 0.85
set_htlc_success_feeFunction · 0.85
tx_to_usFunction · 0.85
replace_penalty_tx_to_usFunction · 0.85
commit_txFunction · 0.85
penalty_tx_createFunction · 0.85
initial_commit_txFunction · 0.85
htlc_txFunction · 0.85
create_close_txFunction · 0.85
funding_txFunction · 0.85

Calls 2

bitcoin_tx_checkFunction · 0.85

Tested by

no test coverage detected