Page MenuHomePhabricator

refactor: Remove unused methods CBloomFilter::reset()/clear()
ClosedPublic

Authored by PiRK on Jan 17 2021, 09:58.

Details

Summary

Co-authored-by: MarcoFalke <falke.marco@gmail.com>

The method CBloomFilter::reset() was introduced by commit d2d7ee0 in 2015, but was never ever used, as far as I could find. As discovered by MarcoFalke, the method clear() is also unused outside of unit tests and is hence also removed.

This is a backport of Core PR18670

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.