Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <chain.h>
#include <chainparams.h>
#include <consensus/params.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/chaintype.h>
#include <versionbits.h>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Classes | |
class | TestConditionChecker |
class | TestDelayedActivationConditionChecker |
class | TestAlwaysActiveConditionChecker |
class | TestNeverActiveConditionChecker |
class | VersionBitsTester |
struct | BlockVersionTest |
Macros | |
#define | CHECKERS 6 |
Functions | |
static int32_t | TestTime (int nHeight) |
static std::string | StateName (ThresholdState state) |
BOOST_AUTO_TEST_CASE (versionbits_test) | |
BOOST_FIXTURE_TEST_CASE (versionbits_computeblockversion, BlockVersionTest) | |
Variables | |
static const Consensus::Params | paramsDummy = Consensus::Params() |
#define CHECKERS 6 |
Definition at line 66 of file versionbits_tests.cpp.
BOOST_AUTO_TEST_CASE | ( | versionbits_test | ) |
BOOST_FIXTURE_TEST_CASE | ( | versionbits_computeblockversion | , |
BlockVersionTest | |||
) |
|
static |
|
static |
|
static |
Definition at line 30 of file versionbits_tests.cpp.