![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <test_pivx.h>
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< CTransaction > | coinbaseTxns |
| CKey | coinbaseKey |
Public Attributes inherited from TestingSetup | |
| boost::thread_group | threadGroup |
| CConnman * | connman |
| EvoNotificationInterface * | pEvoNotificationInterface |
| CScheduler | scheduler |
| std::unique_ptr< PeerLogicValidation > | peerLogic |
Public Attributes inherited from BasicTestingSetup | |
| ECCVerifyHandle | globalVerifyHandle |
Definition at line 100 of file test_pivx.h.
|
explicit |
| TestChainSetup::~TestChainSetup | ( | ) |
Definition at line 246 of file test_pivx.cpp.
| CBlock TestChainSetup::CreateAndProcessBlock | ( | const std::vector< CMutableTransaction > & | txns, |
| const CKey & | scriptKey | ||
| ) |
| CBlock TestChainSetup::CreateAndProcessBlock | ( | const std::vector< CMutableTransaction > & | txns, |
| const CScript & | scriptPubKey, | ||
| bool | fNoMempoolTx = true |
||
| ) |
Definition at line 184 of file test_pivx.cpp.
| CBlock TestChainSetup::CreateBlock | ( | const std::vector< CMutableTransaction > & | txns, |
| const CKey & | scriptKey, | ||
| bool | fTestBlockValidity = true |
||
| ) |
| 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.
| CKey TestChainSetup::coinbaseKey |
Definition at line 118 of file test_pivx.h.
| std::vector<CTransaction> TestChainSetup::coinbaseTxns |
Definition at line 117 of file test_pivx.h.