HomePhabricator

Replaced boolean options in CheckBlock functions with a dedicated class

Description

Replaced boolean options in CheckBlock functions with a dedicated class

Summary: The use of booleans to pass options down multiple levels of functions is bad practice because context gets lost.

Test Plan: make check

Reviewers: deadalnix, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: teamcity

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

Details

Provenance
jasonbcoxAuthored on Mar 21 2018, 06:44
jasonbcoxPushed on Mar 31 2018, 22:32
Reviewer
Restricted Project
Differential Revision
D1181: Replaced boolean options in CheckBlock functions with a dedicated class
Parents
rABC1967ac96f713: Cleanup unneeded #define in net.cpp
Branches
Unknown
Tags
Unknown