int64_t CAmount
Amount in PIV (Can be negative)
The block chain is a tree shaped structure starting with the genesis block at the root,...
CDataStream stakeModifier
bool CheckKernelHash(bool fSkipLog=false) const
CDataStream stakeUniqueness
CStakeKernel(const CBlockIndex *const pindexPrev, CStakeInput *stakeInput, unsigned int nBits, int nTimeTx)
CStakeKernel Constructor.
bool Stake(const CBlockIndex *pindexPrev, CStakeInput *stakeInput, unsigned int nBits, int64_t &nTimeTx)
bool GetStakeKernelHash(uint256 &hashRet, const CBlock &block, const CBlockIndex *pindexPrev=nullptr)
bool CheckProofOfStake(const CBlock &block, std::string &strError, const CBlockIndex *pindexPrev=nullptr)