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

Function txid_in_list

plugins/bkpr/recorder.c:156–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156static bool txid_in_list(struct bitcoin_txid **list,
157 struct bitcoin_txid *txid)
158{
159 for (size_t i = 0; i < tal_count(list); i++) {
160 if (bitcoin_txid_eq(list[i], txid))
161 return true;
162 }
163
164 return false;
165}
166
167bool find_txo_chain(const tal_t *ctx,
168 const struct bkpr *bkpr,

Callers 1

find_txo_chainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected