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

Function wally_tx_input_get_txid

bitcoin/tx.c:395–400  ·  view source on GitHub ↗

FIXME: remove */

Source from the content-addressed store, hash-verified

393
394/* FIXME: remove */
395void wally_tx_input_get_txid(const struct wally_tx_input *in,
396 struct bitcoin_txid *txid)
397{
398 BUILD_ASSERT(sizeof(struct bitcoin_txid) == sizeof(in->txhash));
399 memcpy(txid, in->txhash, sizeof(struct bitcoin_txid));
400}
401
402void wally_tx_input_get_outpoint(const struct wally_tx_input *in,
403 struct bitcoin_outpoint *outpoint)

Callers 5

output_spentFunction · 0.85
mainFunction · 0.85
psbt_has_inputFunction · 0.85
json_unreserveinputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected