Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
chainparamsbase.cpp
Go to the documentation of this file.
25 strUsage += HelpMessageOpt("-regtest", "Enter regression test mode, which uses a special chain in which blocks can be solved instantly. "
std::string HelpMessageOpt(const std::string &option, const std::string &message)
Format a string to be used as option description in help messages.
Definition: util.cpp:884
std::unique_ptr< CBaseChainParams > CreateBaseChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
Definition: chainparamsbase.cpp:89
void AppendParamsHelpMessages(std::string &strUsage, bool debugHelp)
Append the help messages for the chainparams options to the parameter string.
Definition: chainparamsbase.cpp:19
void SelectConfigNetwork(const std::string &network)
Select the network in use.
Definition: util.cpp:725
const CBaseChainParams & BaseParams()
Return the currently selected parameters.
Definition: chainparamsbase.cpp:83
Definition: chainparamsbase.cpp:71
static const std::string MAIN
BIP70 chain name strings (main, test or regtest)
Definition: chainparamsbase.h:20
CBaseDevNetParams(const std::string &dataDir)
Definition: chainparamsbase.cpp:61
std::string GetDevNetName() const
Looks for -devnet and returns either "devnet-<name>" or simply "devnet" if no name was specified...
Definition: util.cpp:1045
CBaseChainParams defines the base parameters (shared between dash-cli and dashd) of a given instance ...
Definition: chainparamsbase.h:16
static std::unique_ptr< CBaseChainParams > globalChainBaseParams
Definition: chainparamsbase.cpp:81
void SelectBaseParams(const std::string &chain)
Sets the params returned by Params() to those for the given network.
Definition: chainparamsbase.cpp:103
std::string HelpMessageGroup(const std::string &message)
Format a string to be used as group of options in help messages.
Definition: util.cpp:880
std::string _(const char *psz)
Translation function: Call Translate signal on UI interface, which returns a boost::optional result...
Definition: util.h:92