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

Function outpointfilter_add

wallet/txfilter.c:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27};
28
29void outpointfilter_add(struct outpointfilter *of,
30 const struct bitcoin_outpoint *outpoint)
31{
32 if (outpointfilter_matches(of, outpoint))
33 return;
34 outpointset_add(of->set, tal_dup(of->set,
35 struct bitcoin_outpoint,
36 outpoint));
37}
38
39bool outpointfilter_matches(struct outpointfilter *of,
40 const struct bitcoin_outpoint *outpoint)

Callers 6

refill_outpointfiltersFunction · 0.70
outpointfilters_initFunction · 0.70
got_utxoFunction · 0.70
wallet_utxoset_addFunction · 0.70
wallet_filteredblock_addFunction · 0.70
onchain_add_utxoFunction · 0.50

Calls 1

outpointfilter_matchesFunction · 0.70

Tested by

no test coverage detected