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

Public Member Functions

 ListCoinsTestingSetup ()
 
 ~ListCoinsTestingSetup ()
 
CWalletTxAddTx (CRecipient recipient)
 
- Public Member Functions inherited from TestChain100Setup
 TestChain100Setup (const std::vector< const char * > &extra_args={})
 
CBlock CreateAndProcessBlock (const std::vector< CMutableTransaction > &txns, const CScript &scriptPubKey, CChainState *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, CChainState &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...
 
- Public Member Functions inherited from TestingSetup
 TestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={})
 
- 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 ChainTestingSetup
CacheSizes m_cache_sizes {}
 
- Public Attributes inherited from BasicTestingSetup
ECCVerifyHandle globalVerifyHandle
 
NodeContext m_node
 
const fs::path m_path_root
 
ArgsManager m_args
 

Detailed Description

Definition at line 497 of file wallet_tests.cpp.

Constructor & Destructor Documentation

◆ ListCoinsTestingSetup()

ListCoinsTestingSetup::ListCoinsTestingSetup ( )
inline

Definition at line 500 of file wallet_tests.cpp.

Here is the call graph for this function:

◆ ~ListCoinsTestingSetup()

ListCoinsTestingSetup::~ListCoinsTestingSetup ( )
inline

Definition at line 506 of file wallet_tests.cpp.

Member Function Documentation

◆ AddTx()

CWalletTx& ListCoinsTestingSetup::AddTx ( CRecipient  recipient)
inline

Definition at line 511 of file wallet_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ wallet

std::unique_ptr<CWallet> ListCoinsTestingSetup::wallet

Definition at line 538 of file wallet_tests.cpp.


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