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

Function txid_in_list

plugins/bkpr/recorder.c:455–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455static bool txid_in_list(struct bitcoin_txid **list,
456 struct bitcoin_txid *txid)
457{
458 for (size_t i = 0; i < tal_count(list); i++) {
459 if (bitcoin_txid_eq(list[i], txid))
460 return true;
461 }
462
463 return false;
464}
465
466bool find_txo_chain(const tal_t *ctx,
467 struct db *db,

Callers 1

find_txo_chainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected