#include "poa.h"
#include "chain.h"
#include "chainparams.h"
#include "main.h"
#include "primitives/block.h"
#include "uint256.h"
#include "util.h"
#include <math.h>
Go to the source code of this file.
◆ CheckNumberOfAuditedPoSBlocks()
| bool CheckNumberOfAuditedPoSBlocks |
( |
const CBlock & |
block, |
|
|
const CBlockIndex * |
pindex |
|
) |
| |
◆ CheckPoABlockMinedHash()
Check whether a block hash satisfies the proof-of-work requirement specified by nBits.
Definition at line 331 of file poa.cpp.
◆ CheckPoABlockNotAuditingOverlap()
| bool CheckPoABlockNotAuditingOverlap |
( |
const CBlock & |
block | ) |
|
◆ CheckPoABlockNotContainingPoABlockInfo()
| bool CheckPoABlockNotContainingPoABlockInfo |
( |
const CBlock & |
block, |
|
|
const CBlockIndex * |
pindex |
|
) |
| |
◆ CheckPoABlockPaddingAmount()
◆ CheckPoABlockRewardAmount()
◆ CheckPoAblockTime()
| bool CheckPoAblockTime |
( |
const CBlock & |
block | ) |
|
◆ CheckPoAContainRecentHash()
| bool CheckPoAContainRecentHash |
( |
const CBlock & |
block | ) |
|
◆ CheckPoAMerkleRoot()
| bool CheckPoAMerkleRoot |
( |
const CBlock & |
block, |
|
|
bool * |
fMutate |
|
) |
| |
◆ CheckPrevPoABlockHash()
◆ CheckProofOfWork()
| bool CheckProofOfWork |
( |
uint256 |
hash, |
|
|
unsigned int |
nBits |
|
) |
| |
Check whether a block hash satisfies the proof-of-work requirement specified by nBits.
Definition at line 145 of file poa.cpp.
◆ FindPrevPoSBlock()
◆ GetBlockProof()
◆ GetNextWorkRequired()
◆ IsFixedAudit()
| bool IsFixedAudit |
( |
std::string |
txid, |
|
|
int |
nHeight |
|
) |
| |
◆ IsWrongAudit()
| bool IsWrongAudit |
( |
std::string |
txid, |
|
|
int |
nHeight |
|
) |
| |
◆ N_BITS
| unsigned int N_BITS = 0x1e050000 |
◆ N_BITS_PD
| unsigned int N_BITS_PD = 0x1e02b2dc |
◆ N_BITS_SF
| unsigned int N_BITS_SF = 0x1e127ff8 |