Changeset View
Changeset View
Standalone View
Standalone View
src/test/test_bitcoin.h
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | struct BasicTestingSetup { | ||||
~BasicTestingSetup(); | ~BasicTestingSetup(); | ||||
}; | }; | ||||
/** Testing setup that configures a complete environment. | /** Testing setup that configures a complete environment. | ||||
* Included are data directory, coins database, script check threads setup. | * Included are data directory, coins database, script check threads setup. | ||||
*/ | */ | ||||
class CConnman; | class CConnman; | ||||
struct TestingSetup : public BasicTestingSetup { | struct TestingSetup : public BasicTestingSetup { | ||||
public: | |||||
CCoinsViewDB *pcoinsdbview; | CCoinsViewDB *pcoinsdbview; | ||||
fs::path pathTemp; | fs::path pathTemp; | ||||
boost::thread_group threadGroup; | boost::thread_group threadGroup; | ||||
CConnman *connman; | CConnman *connman; | ||||
TestingSetup(const std::string &chainName = CBaseChainParams::MAIN); | TestingSetup(const std::string &chainName = CBaseChainParams::MAIN); | ||||
~TestingSetup(); | ~TestingSetup(); | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |