Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/test/processor_tests.cpp
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | AvalancheTestingSetup() | ||||
BOOST_CHECK(m_processor); | BOOST_CHECK(m_processor); | ||||
gArgs.ForceSetArg("-avaproofstakeutxoconfirmations", "1"); | gArgs.ForceSetArg("-avaproofstakeutxoconfirmations", "1"); | ||||
} | } | ||||
~AvalancheTestingSetup() { | ~AvalancheTestingSetup() { | ||||
m_connman->ClearNodes(); | m_connman->ClearNodes(); | ||||
SyncWithValidationInterfaceQueue(); | SyncWithValidationInterfaceQueue(); | ||||
m_node.scheduler->stop(); | |||||
gArgs.ClearForcedArg("-avaproofstakeutxoconfirmations"); | gArgs.ClearForcedArg("-avaproofstakeutxoconfirmations"); | ||||
gArgs.ClearForcedArg("-avaminquorumstake"); | gArgs.ClearForcedArg("-avaminquorumstake"); | ||||
gArgs.ClearForcedArg("-avaminquorumconnectedstakeratio"); | gArgs.ClearForcedArg("-avaminquorumconnectedstakeratio"); | ||||
gArgs.ClearForcedArg("-avaminavaproofsnodecount"); | gArgs.ClearForcedArg("-avaminavaproofsnodecount"); | ||||
} | } | ||||
CNode *ConnectNode(ServiceFlags nServices) { | CNode *ConnectNode(ServiceFlags nServices) { | ||||
▲ Show 20 Lines • Show All 1,659 Lines • Show Last 20 Lines |