Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
BlockVersionTest Struct Reference
Inheritance diagram for BlockVersionTest:
[legend]
Collaboration diagram for BlockVersionTest:
[legend]

Public Member Functions

void check_computeblockversion (VersionBitsCache &versionbitscache, const Consensus::Params &params, Consensus::DeploymentPos dep)
 Check that ComputeBlockVersion will set the appropriate bit correctly. More...
 
- Public Member Functions inherited from BasicTestingSetup
void SeedRandomForTest (SeedRand seed)
 Seed the global RNG state and m_rng for testing and log the seed value. More...
 
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, TestOpts={})
 
 ~BasicTestingSetup ()
 

Additional Inherited Members

- Public Attributes inherited from BasicTestingSetup
util::SignalInterrupt m_interrupt
 
node::NodeContext m_node
 
FastRandomContext m_rng
 
fs::path m_path_root
 
fs::path m_path_lock
 
bool m_has_custom_datadir {false}
 
ArgsManager m_args
 Test-specific arguments and settings. More...
 

Detailed Description

Definition at line 262 of file versionbits_tests.cpp.

Member Function Documentation

◆ check_computeblockversion()

void BlockVersionTest::check_computeblockversion ( VersionBitsCache versionbitscache,
const Consensus::Params params,
Consensus::DeploymentPos  dep 
)
inline

Check that ComputeBlockVersion will set the appropriate bit correctly.

Definition at line 264 of file versionbits_tests.cpp.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: