HomePhabricator

Introduce a BlockStatus class to encapsulate CBlockIndex's validation status

Description

Introduce a BlockStatus class to encapsulate CBlockIndex's validation status

Summary:
As per title.

Depends on D1445

Test Plan:

make check

Added a unit test for the new class.

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
deadalnixAuthored on May 23 2018, 11:45
deadalnixPushed on May 27 2018, 16:09
Reviewer
Restricted Project
Differential Revision
D1450: Introduce a BlockStatus class to encapsulate CBlockIndex's validation status
Parents
rSTAGING1c7e6faab795: Introduce the strongly typed enum BlockValidity to represent the validity of a…
Branches
Unknown
Tags
Unknown