Dogecoin Core  1.14.2
P2P Digital Currency
dogecoin.h
Go to the documentation of this file.
1 // Copyright (c) 2015 The Dogecoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #include "amount.h"
6 #include "chain.h"
7 #include "chainparams.h"
8 
9 bool AllowDigishieldMinDifficultyForBlock(const CBlockIndex* pindexLast, const CBlockHeader *pblock, const Consensus::Params& params);
10 CAmount GetDogecoinBlockSubsidy(int nHeight, const Consensus::Params& consensusParams, uint256 prevHash);
11 unsigned int CalculateDogecoinNextWorkRequired(const CBlockIndex* pindexLast, int64_t nLastRetargetTime, const Consensus::Params& params);
12 
19 bool CheckAuxPowProofOfWork(const CBlockHeader& block, const Consensus::Params& params);
20 
21 CAmount GetDogecoinMinRelayFee(const CTransaction& tx, unsigned int nBytes, bool fAllowFree);
22 CAmount GetDogecoinDustFee(const std::vector<CTxOut> &vout, CFeeRate &baseFeeRate);
int64_t CAmount
Amount in satoshis (Can be negative)
Definition: amount.h:15
Nodes collect new transactions into a block, hash them into a hash tree, and scan through nonce value...
Definition: block.h:25
The block chain is a tree shaped structure starting with the genesis block at the root,...
Definition: chain.h:158
Fee rate in satoshis per kilobyte: CAmount / kB.
Definition: amount.h:38
The basic transaction that is broadcasted on the network and contained in blocks.
Definition: transaction.h:308
256-bit opaque blob.
Definition: uint256.h:123
CAmount GetDogecoinMinRelayFee(const CTransaction &tx, unsigned int nBytes, bool fAllowFree)
Definition: dogecoin.cpp:149
bool CheckAuxPowProofOfWork(const CBlockHeader &block, const Consensus::Params &params)
Check proof-of-work of a block header, taking auxpow into account.
Definition: dogecoin.cpp:88
CAmount GetDogecoinDustFee(const std::vector< CTxOut > &vout, CFeeRate &baseFeeRate)
Definition: dogecoin.cpp:179
CAmount GetDogecoinBlockSubsidy(int nHeight, const Consensus::Params &consensusParams, uint256 prevHash)
Definition: dogecoin.cpp:125
unsigned int CalculateDogecoinNextWorkRequired(const CBlockIndex *pindexLast, int64_t nLastRetargetTime, const Consensus::Params &params)
Definition: dogecoin.cpp:40
bool AllowDigishieldMinDifficultyForBlock(const CBlockIndex *pindexLast, const CBlockHeader *pblock, const Consensus::Params &params)
Definition: dogecoin.cpp:25
Parameters that influence chain consensus.
Definition: params.h:39