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

Function outpointfilter_remove

wallet/txfilter.c:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void outpointfilter_remove(struct outpointfilter *of,
46 const struct bitcoin_outpoint *outpoint)
47{
48 struct bitcoin_outpoint *o = outpointset_get(of->set, outpoint);
49 if (o) {
50 outpointset_del(of->set, o);
51 tal_free(o);
52 }
53}
54
55struct outpointfilter *outpointfilter_new(tal_t *ctx)
56{

Callers 1

wallet_utxoset_pruneFunction · 0.70

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected