 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
33 extern unsigned int N_BITS;
54 #endif // BITCOIN_POA_H
bool IsWrongAudit(std::string txid, int nHeight)
bool CheckProofOfWork(uint256 hash, unsigned int nBits)
Check whether a block hash satisfies the proof-of-work requirement specified by nBits.
bool CheckNumberOfAuditedPoSBlocks(const CBlock &block, const CBlockIndex *pindex)
256-bit unsigned big integer.
bool CheckPoAContainRecentHash(const CBlock &block)
bool CheckPoABlockPaddingAmount(const CBlock &block, const CBlockIndex *pindex)
bool CheckPoAMerkleRoot(const CBlock &block, bool *fMutate=NULL)
256-bit unsigned big integer.
bool CheckPoABlockNotAuditingOverlap(const CBlock &block)
bool CheckPoABlockRewardAmount(const CBlock &block, const CBlockIndex *pindex)
bool CheckPoABlockMinedHash(const CBlockHeader &block)
Check whether a block hash satisfies the proof-of-work requirement specified by nBits.
bool CheckPrevPoABlockHash(const CBlockHeader &block)
unsigned int GetNextWorkRequired(const CBlockIndex *pindexLast, const CBlockHeader *pblock)
bool IsFixedAudit(std::string txid, int nHeight)
The block chain is a tree shaped structure starting with the genesis block at the root,...
bool CheckPoAblockTime(const CBlock &block)
bool CheckPoABlockNotContainingPoABlockInfo(const CBlock &block, const CBlockIndex *pindex)
uint256 GetBlockProof(const CBlockIndex &block)