Dogecoin Core
1.14.2
P2P Digital Currency
|
#include <boost/random/uniform_int.hpp>
#include <boost/random/mersenne_twister.hpp>
#include "policy/policy.h"
#include "arith_uint256.h"
#include "dogecoin.h"
#include "txmempool.h"
#include "util.h"
#include "validation.h"
Go to the source code of this file.
Functions | |
bool | AllowDigishieldMinDifficultyForBlock (const CBlockIndex *pindexLast, const CBlockHeader *pblock, const Consensus::Params ¶ms) |
unsigned int | CalculateDogecoinNextWorkRequired (const CBlockIndex *pindexLast, int64_t nFirstBlockTime, const Consensus::Params ¶ms) |
bool | CheckAuxPowProofOfWork (const CBlockHeader &block, const Consensus::Params ¶ms) |
Check proof-of-work of a block header, taking auxpow into account. More... | |
CAmount | GetDogecoinBlockSubsidy (int nHeight, const Consensus::Params &consensusParams, uint256 prevHash) |
CAmount | GetDogecoinMinRelayFee (const CTransaction &tx, unsigned int nBytes, bool fAllowFree) |
CAmount | GetDogecoinDustFee (const std::vector< CTxOut > &vout, CFeeRate &baseFeeRate) |
bool AllowDigishieldMinDifficultyForBlock | ( | const CBlockIndex * | pindexLast, |
const CBlockHeader * | pblock, | ||
const Consensus::Params & | params | ||
) |
Definition at line 25 of file dogecoin.cpp.
unsigned int CalculateDogecoinNextWorkRequired | ( | const CBlockIndex * | pindexLast, |
int64_t | nFirstBlockTime, | ||
const Consensus::Params & | params | ||
) |
Definition at line 40 of file dogecoin.cpp.
bool CheckAuxPowProofOfWork | ( | const CBlockHeader & | block, |
const Consensus::Params & | params | ||
) |
Check proof-of-work of a block header, taking auxpow into account.
block | The block header. |
params | Consensus parameters. |
Definition at line 88 of file dogecoin.cpp.
CAmount GetDogecoinBlockSubsidy | ( | int | nHeight, |
const Consensus::Params & | consensusParams, | ||
uint256 | prevHash | ||
) |
Definition at line 179 of file dogecoin.cpp.
CAmount GetDogecoinMinRelayFee | ( | const CTransaction & | tx, |
unsigned int | nBytes, | ||
bool | fAllowFree | ||
) |