HomePhabricator

[avalanche] Clarify the proof accessor API

Description

[avalanche] Clarify the proof accessor API

Summary:
The getProof() and exists() methods only target valid proof and not the orphans. This diff changes this API so it is easier to retrieve any known proof from its ID.

Ref T1854.

Test Plan:

ninja check-extended

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Maniphest Tasks: T1854

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

Details

Provenance
FabienAuthored on Oct 21 2021, 12:29
FabienPushed on Oct 26 2021, 07:12
Reviewer
Restricted Project
Differential Revision
D10370: [avalanche] Clarify the proof accessor API
Parents
rABC06a1965066aa: Overwrite db services with version message results
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task