PIVX Core  5.6.99
P2P Digital Currency
Functions
miner_tests.cpp File Reference
#include "wallet/test/wallet_test_fixture.h"
#include "blockassembler.h"
#include "checkpoints.h"
#include "consensus/merkle.h"
#include "miner.h"
#include "pubkey.h"
#include "uint256.h"
#include "util/blockstatecatcher.h"
#include "util/system.h"
#include "validation.h"
#include "wallet/wallet.h"
#include <boost/test/unit_test.hpp>
Include dependency graph for miner_tests.cpp:

Go to the source code of this file.

Functions

void TestPackageSelection (const CChainParams &chainparams, CScript scriptPubKey, std::vector< CTransactionRef > &txFirst)
 
 BOOST_AUTO_TEST_CASE (CreateNewBlock_validity)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( CreateNewBlock_validity  )
Todo:
: we should actually create a new block so the following test

Definition at line 167 of file miner_tests.cpp.

Here is the call graph for this function:

◆ TestPackageSelection()

void TestPackageSelection ( const CChainParams chainparams,
CScript  scriptPubKey,
std::vector< CTransactionRef > &  txFirst 
)

Definition at line 63 of file miner_tests.cpp.

Here is the call graph for this function:

Variable Documentation

◆ extranonce

unsigned char extranonce

Definition at line 27 of file miner_tests.cpp.

◆ nonce

unsigned int nonce

Definition at line 28 of file miner_tests.cpp.