 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
5 #ifndef BITCOIN_CHAINPARAMSBASE_H
6 #define BITCOIN_CHAINPARAMSBASE_H
64 #endif // BITCOIN_CHAINPARAMSBASE_H
CBaseChainParams::Network NetworkIdFromCommandLine()
Looks for -regtest or -testnet and returns the appropriate Network ID.
bool SelectBaseParamsFromCommandLine()
Calls NetworkIdFromCommandLine() and then calls SelectParams as appropriate.
CBaseChainParams defines the base parameters (shared between prcycoin-cli and prcycoind) of a given i...
const std::string & DataDir() const
void SelectBaseParams(CBaseChainParams::Network network)
Sets the params returned by Params() to those for the given network.
const CBaseChainParams & BaseParams()
Return the currently selected parameters.
bool AreBaseParamsConfigured()
Return true if SelectBaseParamsFromCommandLine() has been called to select a network.