PIVX Core  5.6.99
P2P Digital Currency
Functions
kernel.cpp File Reference
#include "kernel.h"
#include "db.h"
#include "legacy/stakemodifier.h"
#include "policy/policy.h"
#include "script/interpreter.h"
#include "stakeinput.h"
#include "util/system.h"
#include "utilmoneystr.h"
#include "validation.h"
#include "zpiv/zpos.h"
Include dependency graph for kernel.cpp:

Go to the source code of this file.

Functions

bool Stake (const CBlockIndex *pindexPrev, CStakeInput *stakeInput, unsigned int nBits, int64_t &nTimeTx)
 
bool CheckProofOfStake (const CBlock &block, std::string &strError, const CBlockIndex *pindexPrev)
 
bool GetStakeKernelHash (uint256 &hashRet, const CBlock &block, const CBlockIndex *pindexPrev)
 

Function Documentation

◆ CheckProofOfStake()

bool CheckProofOfStake ( const CBlock block,
std::string &  strError,
const CBlockIndex pindexPrev 
)

Definition at line 139 of file kernel.cpp.

◆ GetStakeKernelHash()

bool GetStakeKernelHash ( uint256 hashRet,
const CBlock block,
const CBlockIndex pindexPrev 
)

Definition at line 188 of file kernel.cpp.

◆ Stake()

bool Stake ( const CBlockIndex pindexPrev,
CStakeInput stakeInput,
unsigned int  nBits,
int64_t &  nTimeTx 
)

Definition at line 115 of file kernel.cpp.

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