![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | CBaseChainParams |
CBaseChainParams defines the base parameters (shared between bsha3-cli and bsha3d) of a given instance of the Bitcoin system. More... | |
Functions | |
std::unique_ptr< CBaseChainParams > | CreateBaseChainParams (const std::string &chain) |
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain. More... | |
void | SetupChainParamsBaseOptions () |
Set the arguments for chainparams. More... | |
const CBaseChainParams & | BaseParams () |
Return the currently selected parameters. More... | |
void | SelectBaseParams (const std::string &chain) |
Sets the params returned by Params() to those for the given network. More... | |
const CBaseChainParams& BaseParams | ( | ) |
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 28 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 34 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 46 of file chainparamsbase.cpp.
void SetupChainParamsBaseOptions | ( | ) |
Set the arguments for chainparams.
Definition at line 18 of file chainparamsbase.cpp.