diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-08 19:47:56 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-15 15:05:18 -0400 |
commit | fad4fa7e2fb95b7ced9007060ebfd0e8f181f5d8 (patch) | |
tree | b8cc4ebb5ce96fef30123357661c22bfad6d070f /src/test/util/setup_common.h | |
parent | 4bd6bc5cb4f3c4b017cc0ac21c00c2218acb97d0 (diff) | |
download | bitcoin-fad4fa7e2fb95b7ced9007060ebfd0e8f181f5d8.tar.xz |
node: Add args alias for gArgs global
Diffstat (limited to 'src/test/util/setup_common.h')
-rw-r--r-- | src/test/util/setup_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/util/setup_common.h b/src/test/util/setup_common.h index 0930309c3a..41547c8b3a 100644 --- a/src/test/util/setup_common.h +++ b/src/test/util/setup_common.h @@ -73,9 +73,11 @@ static constexpr CAmount CENT{1000000}; */ struct BasicTestingSetup { ECCVerifyHandle globalVerifyHandle; + NodeContext m_node; explicit BasicTestingSetup(const std::string& chainName = CBaseChainParams::MAIN); ~BasicTestingSetup(); + private: const fs::path m_path_root; }; @@ -84,7 +86,6 @@ private: * Included are coins database, script check threads setup. */ struct TestingSetup : public BasicTestingSetup { - NodeContext m_node; boost::thread_group threadGroup; explicit TestingSetup(const std::string& chainName = CBaseChainParams::MAIN); |