PIVX Core  5.6.99
P2P Digital Currency
Classes | Functions
kernel.h File Reference
#include "stakeinput.h"
Include dependency graph for kernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CStakeKernel
 

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=nullptr)
 
bool GetStakeKernelHash (uint256 &hashRet, const CBlock &block, const CBlockIndex *pindexPrev=nullptr)
 

Function Documentation

◆ CheckProofOfStake()

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

Definition at line 139 of file kernel.cpp.

◆ GetStakeKernelHash()

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

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: