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

Function fmt_bitcoin_tx

bitcoin/tx.c:671–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671static char *fmt_bitcoin_tx(const tal_t *ctx, const struct bitcoin_tx *tx)
672{
673 u8 *lin = linearize_tx(ctx, tx);
674 char *s = tal_hex(ctx, lin);
675 tal_free(lin);
676 return s;
677}
678
679static char *fmt_bitcoin_txid(const tal_t *ctx, const struct bitcoin_txid *txid)
680{

Callers

nothing calls this directly

Calls 3

linearize_txFunction · 0.85
tal_hexFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected