Dogecoin Core
1.14.2
P2P Digital Currency
|
#include "chainparamsbase.h"
#include "consensus/params.h"
#include "primitives/block.h"
#include "protocol.h"
#include <vector>
Go to the source code of this file.
Classes | |
struct | CDNSSeedData |
struct | SeedSpec6 |
struct | CCheckpointData |
struct | ChainTxData |
class | CChainParams |
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system. More... | |
Typedefs | |
typedef std::map< int, uint256 > | MapCheckpoints |
Functions | |
const CChainParams & | Params () |
Return the currently selected parameters. More... | |
CChainParams & | Params (const std::string &chain) |
void | SelectParams (const std::string &chain) |
Sets the params returned by Params() to those for the given BIP70 chain name. More... | |
void | UpdateRegtestBIP9Parameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout) |
Allows modifying the BIP9 regtest parameters. More... | |
typedef std::map<int, uint256> MapCheckpoints |
Definition at line 27 of file chainparams.h.
const CChainParams& Params | ( | ) |
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 486 of file chainparams.cpp.
CChainParams& Params | ( | const std::string & | chain | ) |
Definition at line 505 of file chainparams.cpp.
void SelectParams | ( | const std::string & | chain | ) |
Sets the params returned by Params() to those for the given BIP70 chain name.
std::runtime_error | when the chain is not supported. |
Definition at line 517 of file chainparams.cpp.
void UpdateRegtestBIP9Parameters | ( | Consensus::DeploymentPos | d, |
int64_t | nStartTime, | ||
int64_t | nTimeout | ||
) |
Allows modifying the BIP9 regtest parameters.
Definition at line 523 of file chainparams.cpp.