HomePhabricator

Make functions in validation.cpp static and pass chainparams

Description

Make functions in validation.cpp static and pass chainparams

Summary:
Fix bugs as per PR comment

Change bool static to static bool

Backport core's PR10201

Test Plan:

make check
./test/functional/test_runner.py --extended

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, matiu, teamcity

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

Details

Provenance
Mario Dian <mariodian@gmail.com>Authored on Apr 21 2017, 18:45
deadalnixCommitted on Jan 30 2018, 20:03
deadalnixPushed on Jan 30 2018, 20:03
Reviewer
Restricted Project
Differential Revision
D1041: Make functions in validation.cpp static and pass chainparams
Parents
rABC0c95e7e7559d: [tests] Change tempdir prefix to something within build environment
Branches
Unknown
Tags
Unknown