HomePhabricator

[avalanche] Add a ValidationState for Proof

Description

[avalanche] Add a ValidationState for Proof

Summary:
This reproduce the same patern we use to validate transactions and blocks.

It's a useful pattern, because we can test why the check failed exactly.

Test Plan:

ninja all check-avalanche

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Jul 14 2020, 21:05
deadalnixPushed on Jul 17 2020, 13:21
Reviewer
Restricted Project
Differential Revision
D6962: [avalanche] Add a ValidationState for Proof
Parents
rABC458e260c6dd4: [CMAKE] Optionally install bitcoin-bench
Branches
Unknown
Tags
Unknown