HomePhabricator

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

Description

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

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

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D8937

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Jan 18 2021, 09:39
PiRKCommitted on Jan 18 2021, 09:39
abc-botPushed on Jan 18 2021, 09:46
Reviewer
Restricted Project
Differential Revision
D8937: refactor: Remove unused methods CBloomFilter::reset()/clear()
Parents
rABC7d707861f71c: test: Verify findCommonAncestor always initializes outputs
Branches
Unknown
Tags
Unknown