![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <chain.h>#include <chainparams.h>#include <consensus/params.h>#include <deploymentstatus.h>#include <test/util/setup_common.h>#include <validation.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 |
Macros | |
| #define | CHECKERS 6 |
Functions | |
| static int32_t | TestTime (int nHeight) |
| static const std::string | StateName (ThresholdState state) |
| BOOST_AUTO_TEST_CASE (versionbits_test) | |
| static void | check_computeblockversion (const Consensus::Params ¶ms, Consensus::DeploymentPos dep) |
| Check that ComputeBlockVersion will set the appropriate bit correctly. More... | |
| BOOST_AUTO_TEST_CASE (versionbits_computeblockversion) | |
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_computeblockversion | ) |
| BOOST_AUTO_TEST_CASE | ( | versionbits_test | ) |
|
static |
Check that ComputeBlockVersion will set the appropriate bit correctly.
Definition at line 260 of file versionbits_tests.cpp.
|
static |
|
static |
|
static |
Definition at line 30 of file versionbits_tests.cpp.