Dogecoin Core
1.14.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | CBaseMainParams |
Main network. More... | |
class | CBaseTestNetParams |
Testnet (v3) More... | |
class | CBaseRegTestParams |
Functions | |
void | AppendParamsHelpMessages (std::string &strUsage, bool debugHelp) |
Append the help messages for the chainparams options to the parameter string. More... | |
const CBaseChainParams & | BaseParams () |
Return the currently selected parameters. More... | |
CBaseChainParams & | BaseParams (const std::string &chain) |
void | SelectBaseParams (const std::string &chain) |
Sets the params returned by Params() to those for the given network. More... | |
std::string | ChainNameFromCommandLine () |
Looks for -regtest, -testnet and returns the appropriate BIP70 chain name. More... | |
bool | AreBaseParamsConfigured () |
Return true if SelectBaseParamsFromCommandLine() has been called to select a network. More... | |
void AppendParamsHelpMessages | ( | std::string & | strUsage, |
bool | debugHelp | ||
) |
Append the help messages for the chainparams options to the parameter string.
Definition at line 17 of file chainparamsbase.cpp.
bool AreBaseParamsConfigured | ( | ) |
Return true if SelectBaseParamsFromCommandLine() has been called to select a network.
Definition at line 107 of file chainparamsbase.cpp.
const CBaseChainParams& BaseParams | ( | ) |
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 70 of file chainparamsbase.cpp.
CBaseChainParams& BaseParams | ( | const std::string & | chain | ) |
Definition at line 76 of file chainparamsbase.cpp.
std::string ChainNameFromCommandLine | ( | ) |
Looks for -regtest, -testnet and returns the appropriate BIP70 chain name.
Definition at line 93 of file chainparamsbase.cpp.
void SelectBaseParams | ( | const std::string & | chain | ) |
Sets the params returned by Params() to those for the given network.
Definition at line 88 of file chainparamsbase.cpp.