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
deadalnixPushed on Apr 1 2018, 14:33
Reviewer
Restricted Project
Differential Revision
D1181: Replaced boolean options in CheckBlock functions with a dedicated class
Parents
rSTAGING1967ac96f713: Cleanup unneeded #define in net.cpp
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/3380, tag: phabricator/base/3360