This removes the proofs attached to dangling peers, i.e. the peers with no node that have been registered for some time. This means that we will discard the proof if no node claimed it or if they disconnected. This will also sink the conflicting pool as the proofs will be pulled back to valid, and eventually cleanup up the same way if no node attached to it as well.
The callsite for this method will be added in a follow up with the associated functional tests.
Details
Details
- Reviewers
sdulfari - Group Reviewers
Restricted Project - Commits
- rABC80b91691e44b: [avalanche] Cleanup dangling proofs
ninja check-avalanche
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable