6 #ifndef PIVX_CHAINPARAMSBASE_H
7 #define PIVX_CHAINPARAMSBASE_H
22 static const std::string
MAIN;
const CBaseChainParams & BaseParams()
Return the currently selected parameters.
void AppendParamsHelpMessages(std::string &strUsage, bool debugHelp=true)
Append the help messages for the chainparams options to the parameter string.
void SelectBaseParams(const std::string &chain)
Sets the params returned by Params() to those for the given network.
std::unique_ptr< CBaseChainParams > CreateBaseChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
CBaseChainParams defines the base parameters (shared between pivx-cli and pivxd) of a given instance ...
CBaseChainParams()=delete
static const std::string REGTEST
const std::string & DataDir() const
static const std::string TESTNET
CBaseChainParams(const std::string &data_dir, int rpc_port)
static const std::string MAIN
Chain name strings.