PIVX Core  5.6.99
P2P Digital Currency
Functions | Variables
walletprocessblock.cpp File Reference
#include "bench.h"
#include "blockassembler.h"
#include "chainparams.h"
#include "consensus/merkle.h"
#include "evo/deterministicmns.h"
#include "evo/evodb.h"
#include "evo/evonotificationinterface.h"
#include "sapling/sapling_operation.h"
#include "scheduler.h"
#include "script/sigcache.h"
#include "sporkdb.h"
#include "txdb.h"
#include "validation.h"
#include "wallet/wallet.h"
#include <boost/thread.hpp>
Include dependency graph for walletprocessblock.cpp:

Go to the source code of this file.

Functions

std::shared_ptr< CBlockcreateAndProcessBlock (const CChainParams &params, const CScript &coinbaseScript, const std::vector< CMutableTransaction > &txns, CBlockIndex *prevpindex)
 
CTransactionRef createNoisyTx (CWallet *pwallet, int numOfOutputs)
 
 BENCHMARK (WalletProcessBlockBench, 0)
 

Variables

const unsigned int CREATE_BLOCK = 500
 
const unsigned int CREATE_TRANSACTIONS_PER_BLOCK = 20
 
boost::thread_group threadGroup
 
CScheduler scheduler
 
EvoNotificationInterfacepEvoNotificationInterface
 

Function Documentation

◆ BENCHMARK()

BENCHMARK ( WalletProcessBlockBench  ,
 
)

◆ createAndProcessBlock()

std::shared_ptr<CBlock> createAndProcessBlock ( const CChainParams params,
const CScript coinbaseScript,
const std::vector< CMutableTransaction > &  txns,
CBlockIndex prevpindex 
)

Definition at line 40 of file walletprocessblock.cpp.

◆ createNoisyTx()

CTransactionRef createNoisyTx ( CWallet pwallet,
int  numOfOutputs 
)

Definition at line 70 of file walletprocessblock.cpp.

Here is the call graph for this function:

Variable Documentation

◆ CREATE_BLOCK

const unsigned int CREATE_BLOCK = 500

Definition at line 24 of file walletprocessblock.cpp.

◆ CREATE_TRANSACTIONS_PER_BLOCK

const unsigned int CREATE_TRANSACTIONS_PER_BLOCK = 20

Definition at line 26 of file walletprocessblock.cpp.

◆ pEvoNotificationInterface

EvoNotificationInterface* pEvoNotificationInterface

Definition at line 98 of file walletprocessblock.cpp.

◆ scheduler

CScheduler scheduler

Definition at line 97 of file walletprocessblock.cpp.

◆ threadGroup

boost::thread_group threadGroup

Definition at line 96 of file walletprocessblock.cpp.