HomePhabricator

Fix bench/bench_bitcoin (Select REGTEST Params before wallet init)

Description

Fix bench/bench_bitcoin (Select REGTEST Params before wallet init)

Summary: globalChainParams needs to be created by SelectParams before it can be used in bench/coin_selection.cpp

Test Plan: bench_bitcoin doesn't crash any longer

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity

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

Details

Provenance
jtoomimAuthored on Sep 17 2018, 07:54
deadalnixPushed on Sep 18 2018, 04:06
Reviewer
Restricted Project
Differential Revision
D1787: Fix bench/bench_bitcoin (Select REGTEST Params before wallet init)
Parents
rSTAGING2e0f1a07cb08: Disconnect outbound peers relaying invalid headers
Branches
Unknown
Tags
Unknown