PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
TestChainSetup Struct Reference

#include <test_pivx.h>

Inheritance diagram for TestChainSetup:
[legend]
Collaboration diagram for TestChainSetup:
[legend]

Public Member Functions

 TestChainSetup (int blockCount)
 
 ~TestChainSetup ()
 
CBlock CreateAndProcessBlock (const std::vector< CMutableTransaction > &txns, const CScript &scriptPubKey, bool fNoMempoolTx=true)
 
CBlock CreateAndProcessBlock (const std::vector< CMutableTransaction > &txns, const CKey &scriptKey)
 
CBlock CreateBlock (const std::vector< CMutableTransaction > &txns, const CScript &scriptPubKey, bool fNoMempoolTx=true, bool fTestBlockValidity=true, bool fIncludeQfc=true, CBlockIndex *customPrevBlock=nullptr)
 
CBlock CreateBlock (const std::vector< CMutableTransaction > &txns, const CKey &scriptKey, bool fTestBlockValidity=true)
 
- Public Member Functions inherited from TestingSetup
 TestingSetup (const std::string &chainName=CBaseChainParams::MAIN)
 
 ~TestingSetup ()
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const std::string &chainName=CBaseChainParams::MAIN)
 
 ~BasicTestingSetup ()
 
fs::path SetDataDir (const std::string &name)
 

Public Attributes

std::vector< CTransactioncoinbaseTxns
 
CKey coinbaseKey
 
- Public Attributes inherited from TestingSetup
boost::thread_group threadGroup
 
CConnmanconnman
 
EvoNotificationInterfacepEvoNotificationInterface
 
CScheduler scheduler
 
std::unique_ptr< PeerLogicValidationpeerLogic
 
- Public Attributes inherited from BasicTestingSetup
ECCVerifyHandle globalVerifyHandle
 

Detailed Description

Definition at line 100 of file test_pivx.h.

Constructor & Destructor Documentation

◆ TestChainSetup()

TestChainSetup::TestChainSetup ( int  blockCount)
explicit

Definition at line 163 of file test_pivx.cpp.

Here is the call graph for this function:

◆ ~TestChainSetup()

TestChainSetup::~TestChainSetup ( )

Definition at line 246 of file test_pivx.cpp.

Member Function Documentation

◆ CreateAndProcessBlock() [1/2]

CBlock TestChainSetup::CreateAndProcessBlock ( const std::vector< CMutableTransaction > &  txns,
const CKey scriptKey 
)

Definition at line 191 of file test_pivx.cpp.

Here is the call graph for this function:

◆ CreateAndProcessBlock() [2/2]

CBlock TestChainSetup::CreateAndProcessBlock ( const std::vector< CMutableTransaction > &  txns,
const CScript scriptPubKey,
bool  fNoMempoolTx = true 
)

Definition at line 184 of file test_pivx.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateBlock() [1/2]

CBlock TestChainSetup::CreateBlock ( const std::vector< CMutableTransaction > &  txns,
const CKey scriptKey,
bool  fTestBlockValidity = true 
)

Definition at line 232 of file test_pivx.cpp.

Here is the call graph for this function:

◆ CreateBlock() [2/2]

CBlock TestChainSetup::CreateBlock ( const std::vector< CMutableTransaction > &  txns,
const CScript scriptPubKey,
bool  fNoMempoolTx = true,
bool  fTestBlockValidity = true,
bool  fIncludeQfc = true,
CBlockIndex customPrevBlock = nullptr 
)

Definition at line 197 of file test_pivx.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ coinbaseKey

CKey TestChainSetup::coinbaseKey

Definition at line 118 of file test_pivx.h.

◆ coinbaseTxns

std::vector<CTransaction> TestChainSetup::coinbaseTxns

Definition at line 117 of file test_pivx.h.


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