HomePhabricator

[avalanche] Don't process proofs that are not worth polling

Description

[avalanche] Don't process proofs that are not worth polling

Summary:
It is possible for a proof to turn orphan while being voted on if a block is connected in the meantime. In this case it becomes pointless to keep polling for it. More generally it's more robust to also discard polls for proofs that get dropped, even if there should be no such case.

Depends on D11641.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix, sdulfari

Reviewed By: #bitcoin_abc, deadalnix, sdulfari

Subscribers: sdulfari, deadalnix

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

Details

Provenance
FabienAuthored on Jun 16 2022, 13:30
FabienPushed on Jun 27 2022, 07:32
Reviewer
Restricted Project
Differential Revision
D11630: [avalanche] Don't process proofs that are not worth polling
Parents
rABCd9578a9219ed: [avalanche] Run the proofs cleanup on a schedule
Branches
Unknown
Tags
Unknown