Changeset View
Changeset View
Standalone View
Standalone View
src/test/validation_block_tests.cpp
Show All 11 Lines | |||||
#include <miner.h> | #include <miner.h> | ||||
#include <pow.h> | #include <pow.h> | ||||
#include <random.h> | #include <random.h> | ||||
#include <test/setup_common.h> | #include <test/setup_common.h> | ||||
#include <util/time.h> | #include <util/time.h> | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <validationinterface.h> | #include <validationinterface.h> | ||||
#include <thread> | |||||
struct RegtestingSetup : public TestingSetup { | struct RegtestingSetup : public TestingSetup { | ||||
RegtestingSetup() : TestingSetup(CBaseChainParams::REGTEST) {} | RegtestingSetup() : TestingSetup(CBaseChainParams::REGTEST) {} | ||||
}; | }; | ||||
BOOST_FIXTURE_TEST_SUITE(validation_block_tests, RegtestingSetup) | BOOST_FIXTURE_TEST_SUITE(validation_block_tests, RegtestingSetup) | ||||
struct TestSubscriber : public CValidationInterface { | struct TestSubscriber : public CValidationInterface { | ||||
uint256 m_expected_tip; | uint256 m_expected_tip; | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |