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

Function fromwire_bitcoin_txid

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

Source from the content-addressed store, hash-verified

706REGISTER_TYPE_TO_STRING(wally_tx, fmt_wally_tx);
707
708void fromwire_bitcoin_txid(const u8 **cursor, size_t *max,
709 struct bitcoin_txid *txid)
710{
711 fromwire_sha256_double(cursor, max, &txid->shad);
712}
713
714struct bitcoin_tx *fromwire_bitcoin_tx(const tal_t *ctx,
715 const u8 **cursor, size_t *max)

Callers 6

fromwire_wally_tx_inputFunction · 0.85
fromwire_tx_partsFunction · 0.85
fromwire_penalty_baseFunction · 0.85
fromwire_chain_coin_mvtFunction · 0.85

Calls 1

fromwire_sha256_doubleFunction · 0.85

Tested by

no test coverage detected