#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
◆ BaseParams()
Return the currently selected parameters. This won't change after app startup, except for unit tests.
◆ CreateBaseChainParams()
std::unique_ptr<CBaseChainParams> CreateBaseChainParams |
( |
const std::string & |
chain | ) |
|
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
- Returns
- a CBaseChainParams* of the chosen chain.
- Exceptions
-
a | std::runtime_error if the chain is not supported. |
◆ SelectBaseParams()
void SelectBaseParams |
( |
const std::string & |
chain | ) |
|
Sets the params returned by Params() to those for the given network.
◆ SetupChainParamsBaseOptions()
void SetupChainParamsBaseOptions |
( |
| ) |
|
Set the arguments for chainparams