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

Function wally_tx_input_get_outpoint

bitcoin/tx.c:415–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415void wally_tx_input_get_outpoint(const struct wally_tx_input *in,
416 struct bitcoin_outpoint *outpoint)
417{
418 wally_tx_input_get_txid(in, &outpoint->txid);
419 outpoint->n = in->index;
420}
421
422/* BIP144:
423 * If the witness is empty, the old serialization format should be used. */

Callers 2

which_input_spendsFunction · 0.85

Calls 1

wally_tx_input_get_txidFunction · 0.85

Tested by

no test coverage detected