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

Function wally_tx_input_get_outpoint

bitcoin/tx.c:402–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void wally_tx_input_get_outpoint(const struct wally_tx_input *in,
403 struct bitcoin_outpoint *outpoint)
404{
405 BUILD_ASSERT(sizeof(struct bitcoin_txid) == sizeof(in->txhash));
406 memcpy(&outpoint->txid, in->txhash, sizeof(struct bitcoin_txid));
407 outpoint->n = in->index;
408}
409
410/* BIP144:
411 * If the witness is empty, the old serialization format should be used. */

Callers 5

json_reserveinputsFunction · 0.85
json_unreserveinputsFunction · 0.85
handle_validate_rbfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected