HomePhabricator

Use hasData/hasUndo instead of masking with BLOCK_HAVE_DATA/BLOCK_HAVE_UNDO

Description

Use hasData/hasUndo instead of masking with BLOCK_HAVE_DATA/BLOCK_HAVE_UNDO

Summary:
As per title.

Depends on D1450

Test Plan:

make check

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: schancel, teamcity

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

Details

Provenance
deadalnixAuthored on May 24 2018, 12:10
deadalnixPushed on May 27 2018, 16:09
Reviewer
Restricted Project
Differential Revision
D1451: Use hasData/hasUndo instead of masking with BLOCK_HAVE_DATA/BLOCK_HAVE_UNDO
Parents
rSTAGINGfb384409f2d5: Introduce a BlockStatus class to encapsulate CBlockIndex's validation status
Branches
Unknown
Tags
Unknown