| 27 | }; |
| 28 | |
| 29 | void 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 | |
| 39 | bool outpointfilter_matches(struct outpointfilter *of, |
| 40 | const struct bitcoin_outpoint *outpoint) |
no test coverage detected