Bitcoin Core  24.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
wallet::ListCoinsTestingSetup Class Reference
Inheritance diagram for wallet::ListCoinsTestingSetup:
[legend]
Collaboration diagram for wallet::ListCoinsTestingSetup:
[legend]

Public Member Functions

 ListCoinsTestingSetup ()
 
 ~ListCoinsTestingSetup ()
 
CWalletTxAddTx (CRecipient recipient)
 
- Public Member Functions inherited from TestChain100Setup
 TestChain100Setup (const std::string &chain_name=CBaseChainParams::REGTEST, const std::vector< const char * > &extra_args={}, const bool coins_db_in_memory=true, const bool block_tree_db_in_memory=true)
 
CBlock CreateAndProcessBlock (const std::vector< CMutableTransaction > &txns, const CScript &scriptPubKey, Chainstate *chainstate=nullptr)
 Create a new block with just given transactions, coinbase paying to scriptPubKey, and try to add it to the current chain. More...
 
CBlock CreateBlock (const std::vector< CMutableTransaction > &txns, const CScript &scriptPubKey, Chainstate &chainstate)
 Create a new block with just given transactions, coinbase paying to scriptPubKey. More...
 
void mineBlocks (int num_blocks)
 Mine a series of new blocks on the active chain. More...
 
CMutableTransaction CreateValidMempoolTransaction (CTransactionRef input_transaction, int input_vout, int input_height, CKey input_signing_key, CScript output_destination, CAmount output_amount=CAmount(1 *COIN), bool submit=true)
 Create a transaction and submit to the mempool. More...
 
std::vector< CTransactionRefPopulateMempool (FastRandomContext &det_rand, size_t num_transactions, bool submit)
 Create transactions spending from m_coinbase_txns. More...
 
- Public Member Functions inherited from TestingSetup
void LoadVerifyActivateChainstate ()
 
 TestingSetup (const std::string &chainName=CBaseChainParams::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 std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={})
 
 ~ChainTestingSetup ()
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Public Attributes

std::unique_ptr< CWalletwallet
 
- Public Attributes inherited from TestChain100Setup
std::vector< CTransactionRefm_coinbase_txns
 
CKey coinbaseKey
 
- Public Attributes inherited from TestingSetup
bool m_coins_db_in_memory {true}
 
bool m_block_tree_db_in_memory {true}
 
- Public Attributes inherited from ChainTestingSetup
node::CacheSizes m_cache_sizes {}
 
- Public Attributes inherited from BasicTestingSetup
node::NodeContext m_node
 
const fs::path m_path_root
 
ArgsManager m_args
 

Detailed Description

Definition at line 524 of file wallet_tests.cpp.

Constructor & Destructor Documentation

◆ ListCoinsTestingSetup()

wallet::ListCoinsTestingSetup::ListCoinsTestingSetup ( )
inline

Definition at line 527 of file wallet_tests.cpp.

Here is the call graph for this function:

◆ ~ListCoinsTestingSetup()

wallet::ListCoinsTestingSetup::~ListCoinsTestingSetup ( )
inline

Definition at line 533 of file wallet_tests.cpp.

Member Function Documentation

◆ AddTx()

CWalletTx& wallet::ListCoinsTestingSetup::AddTx ( CRecipient  recipient)
inline

Definition at line 538 of file wallet_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ wallet

std::unique_ptr<CWallet> wallet::ListCoinsTestingSetup::wallet

Definition at line 565 of file wallet_tests.cpp.


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