![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "wallet/test/pos_test_fixture.h"#include "blockassembler.h"#include "coincontrol.h"#include "util/blockstatecatcher.h"#include "blocksignature.h"#include "consensus/merkle.h"#include "primitives/block.h"#include "script/sign.h"#include "test/util/blocksutil.h"#include "wallet/wallet.h"#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| void | reSignTx (CMutableTransaction &mtx, const std::vector< CTxOut > &txPrevOutputs, CWallet *wallet) |
| BOOST_FIXTURE_TEST_CASE (coinstake_tests, TestPoSChainSetup) | |
| CTransaction | CreateAndCommitTx (CWallet *pwalletMain, const CTxDestination &dest, CAmount destValue, CCoinControl *coinControl=nullptr) |
| COutPoint | GetOutpointWithAmount (const CTransaction &tx, CAmount outpointValue) |
| std::shared_ptr< CBlock > | CreateBlockInternal (CWallet *pwalletMain, const std::vector< CMutableTransaction > &txns={}, CBlockIndex *customPrevBlock=nullptr, std::initializer_list< std::shared_ptr< CBlock >> forkchain={}) |
| BOOST_FIXTURE_TEST_CASE (created_on_fork_tests, TestPoSChainSetup) | |
| BOOST_FIXTURE_TEST_CASE | ( | coinstake_tests | , |
| TestPoSChainSetup | |||
| ) |
| BOOST_FIXTURE_TEST_CASE | ( | created_on_fork_tests | , |
| TestPoSChainSetup | |||
| ) |
| CTransaction CreateAndCommitTx | ( | CWallet * | pwalletMain, |
| const CTxDestination & | dest, | ||
| CAmount | destValue, | ||
| CCoinControl * | coinControl = nullptr |
||
| ) |
Definition at line 92 of file pos_validations_tests.cpp.
| std::shared_ptr<CBlock> CreateBlockInternal | ( | CWallet * | pwalletMain, |
| const std::vector< CMutableTransaction > & | txns = {}, |
||
| CBlockIndex * | customPrevBlock = nullptr, |
||
| std::initializer_list< std::shared_ptr< CBlock >> | forkchain = {} |
||
| ) |
Definition at line 141 of file pos_validations_tests.cpp.
| COutPoint GetOutpointWithAmount | ( | const CTransaction & | tx, |
| CAmount | outpointValue | ||
| ) |
| void reSignTx | ( | CMutableTransaction & | mtx, |
| const std::vector< CTxOut > & | txPrevOutputs, | ||
| CWallet * | wallet | ||
| ) |
Definition at line 21 of file pos_validations_tests.cpp.