Use it as parameter to IsValid and RaiseValidity. The type safety allows us to remove some asserts as they are now invariant of the type system.
Details
Details
- Reviewers
schancel - Group Reviewers
Restricted Project - Commits
- rSTAGING1c7e6faab795: Introduce the strongly typed enum BlockValidity to represent the validity of a…
rABC1c7e6faab795: Introduce the strongly typed enum BlockValidity to represent the validity of a…
make check ./test/functional/test_runner.py --extended
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- blockstatusenumclass
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2623 Build 3360: Bitcoin ABC Buildbot (legacy) Build 3359: arc lint + arc unit
Event Timeline
Comment Actions
Fix a problem where the wrong flag was checked (kind of scary no test is catching this).