Changeset View
Changeset View
Standalone View
Standalone View
src/test/test_bitcoin.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
class CNode; | class CNode; | ||||
struct CConnmanTest { | struct CConnmanTest { | ||||
static void AddNode(CNode &node); | static void AddNode(CNode &node); | ||||
static void ClearNodes(); | static void ClearNodes(); | ||||
}; | }; | ||||
class PeerLogicValidation; | class PeerLogicValidation; | ||||
struct TestingSetup : public BasicTestingSetup { | struct TestingSetup : public BasicTestingSetup { | ||||
CCoinsViewDB *pcoinsdbview; | |||||
fs::path pathTemp; | fs::path pathTemp; | ||||
boost::thread_group threadGroup; | boost::thread_group threadGroup; | ||||
CConnman *connman; | CConnman *connman; | ||||
CScheduler scheduler; | CScheduler scheduler; | ||||
std::unique_ptr<PeerLogicValidation> peerLogic; | std::unique_ptr<PeerLogicValidation> peerLogic; | ||||
TestingSetup(const std::string &chainName = CBaseChainParams::MAIN); | TestingSetup(const std::string &chainName = CBaseChainParams::MAIN); | ||||
~TestingSetup(); | ~TestingSetup(); | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |