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

Function fmt_bitcoin_tx

bitcoin/tx.c:712–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712char *fmt_bitcoin_tx(const tal_t *ctx, const struct bitcoin_tx *tx)
713{
714 u8 *lin = linearize_tx(ctx, tx);
715 char *s = tal_hex(ctx, lin);
716 tal_free(lin);
717 return s;
718}
719
720char *fmt_bitcoin_txid(const tal_t *ctx, const struct bitcoin_txid *txid)
721{

Callers 15

receive_offerFunction · 0.85
set_htlc_timeout_feeFunction · 0.85
get_htlc_success_feeFunction · 0.85
calc_commitsigsFunction · 0.85
handle_peer_commit_sigFunction · 0.85
rebroadcast_doneFunction · 0.85
rebroadcast_txsFunction · 0.85
broadcast_tx_Function · 0.85
closeinfo_txid_confirmedFunction · 0.85
onchain_tx_watchedFunction · 0.85

Calls 3

linearize_txFunction · 0.85
tal_hexFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected