![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Go to the source code of this file.
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... | |
| std::unique_ptr< CBaseChainParams > | CreateBaseChainParams (const std::string &chain) |
| Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain. More... | |
| void | SelectBaseParams (const std::string &chain) |
| Sets the params returned by Params() to those for the given network. More... | |
| void AppendParamsHelpMessages | ( | std::string & | strUsage, |
| bool | debugHelp | ||
| ) |
Append the help messages for the chainparams options to the parameter string.
Definition at line 18 of file chainparamsbase.cpp.
| const CBaseChainParams& BaseParams | ( | ) |
Return the currently selected parameters.
This won't change after app startup startup, except for unit tests.
Definition at line 30 of file chainparamsbase.cpp.
| std::unique_ptr<CBaseChainParams> CreateBaseChainParams | ( | const std::string & | chain | ) |
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
| a | std::runtime_error if the chain is not supported. |
Definition at line 36 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 48 of file chainparamsbase.cpp.