Bitcoin Core  26.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
miner_tests::MinerTestingSetup Struct Reference
Inheritance diagram for miner_tests::MinerTestingSetup:
[legend]
Collaboration diagram for miner_tests::MinerTestingSetup:
[legend]

Public Member Functions

CTxMemPoolMakeMempool ()
 
BlockAssembler AssemblerForTest (CTxMemPool &tx_mempool)
 
- Public Member Functions inherited from TestingSetup
 TestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={}, const bool coins_db_in_memory=true, const bool block_tree_db_in_memory=true)
 
- Public Member Functions inherited from ChainTestingSetup
 ChainTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~ChainTestingSetup ()
 
void LoadVerifyActivateChainstate ()
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Public Attributes

void TestPackageSelection(const CScript &scriptPubKey, const std::vector< CTransactionRef > &txFirst) EXCLUSIVE_LOCKS_REQUIRED(void TestBasicMining(const CScript &scriptPubKey, const std::vector< CTransactionRef > &txFirst, int baseheight) EXCLUSIVE_LOCKS_REQUIRED(void TestPrioritisedMining(const CScript &scriptPubKey, const std::vector< CTransactionRef > &txFirst) EXCLUSIVE_LOCKS_REQUIRED(bool TestSequenceLocks (const CTransaction &tx, CTxMemPool &tx_mempool) EXCLUSIVE_LOCKS_REQUIRED(
 
- Public Attributes inherited from ChainTestingSetup
node::CacheSizes m_cache_sizes {}
 
bool m_coins_db_in_memory {true}
 
bool m_block_tree_db_in_memory {true}
 
- Public Attributes inherited from BasicTestingSetup
util::SignalInterrupt m_interrupt
 
node::NodeContext m_node
 
const fs::path m_path_root
 
ArgsManager m_args
 

Detailed Description

Definition at line 32 of file miner_tests.cpp.

Member Function Documentation

◆ AssemblerForTest()

BlockAssembler MinerTestingSetup::AssemblerForTest ( CTxMemPool tx_mempool)

Definition at line 60 of file miner_tests.cpp.

◆ MakeMempool()

CTxMemPool& miner_tests::MinerTestingSetup::MakeMempool ( )
inline

Definition at line 43 of file miner_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ TestSequenceLocks

void TestPackageSelection (const CScript& scriptPubKey, const std::vector<CTransactionRef>& txFirst) EXCLUSIVE_LOCKS_REQUIRED( void TestBasicMining (const CScript& scriptPubKey, const std::vector<CTransactionRef>& txFirst, int baseheight) EXCLUSIVE_LOCKS_REQUIRED( void TestPrioritisedMining (const CScript& scriptPubKey, const std::vector<CTransactionRef>& txFirst) EXCLUSIVE_LOCKS_REQUIRED( bool miner_tests::MinerTestingSetup::TestSequenceLocks(const CTransaction &tx, CTxMemPool &tx_mempool) EXCLUSIVE_LOCKS_REQUIRED(
inline

Definition at line 36 of file miner_tests.cpp.


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