HomePhabricator

[avalanche] Evaluate the presence of a proof based on remotes

Description

[avalanche] Evaluate the presence of a proof based on remotes

Summary:
Add a getter to evaluate the proof presence based on the remotes. It needs both a majority of nodes and a majority of stakes, otherwise it is inconclusive.

Depends on D14663.

Test Plan:

ninja check-avalanche-peermanager_tests

Reviewers: #bitcoin_abc, PiRK, bytesofman

Reviewed By: #bitcoin_abc, PiRK, bytesofman

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

Details

Provenance
FabienAuthored on Oct 20 2023, 16:02
FabienPushed on Oct 25 2023, 10:19
Reviewer
Restricted Project
Differential Revision
D14664: [avalanche] Evaluate the presence of a proof based on remotes
Parents
rABCef3bdb5a89b6: [avalanche] Update the remote proofs upon receipt of compact proofs
Branches
Unknown
Tags
Unknown