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.
Differential D10370
[avalanche] Clarify the proof accessor API Fabien on Oct 21 2021, 13:42. Authored by
Details
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. ninja check-extended
Diff Detail
Event TimelineComment Actions Overall, lgtm. This is indeed much better. I don't think the use a forPeer is very judicious, though. It obfuscate the code more than anything else.
|