Bitcoin Core 28.99.0
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | CBaseChainParams |
CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) of a given instance of the Bitcoin system. More... | |
Macros | |
#define | LIST_CHAIN_NAMES "main, test, testnet4, signet, regtest" |
List of possible chain / network names More... | |
Functions | |
std::unique_ptr< CBaseChainParams > | CreateBaseChainParams (const ChainType chain) |
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain. More... | |
void | SetupChainParamsBaseOptions (ArgsManager &argsman) |
Set the arguments for chainparams. More... | |
const CBaseChainParams & | BaseParams () |
Return the currently selected parameters. More... | |
void | SelectBaseParams (const ChainType chain) |
Sets the params returned by Params() to those for the given chain. More... | |
#define LIST_CHAIN_NAMES "main, test, testnet4, signet, regtest" |
List of possible chain / network names
Definition at line 55 of file chainparamsbase.h.
const CBaseChainParams & BaseParams | ( | ) |
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 30 of file chainparamsbase.cpp.
std::unique_ptr< CBaseChainParams > CreateBaseChainParams | ( | const ChainType | chain | ) |
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.
Definition at line 40 of file chainparamsbase.cpp.
void SelectBaseParams | ( | const ChainType | chain | ) |
Sets the params returned by Params() to those for the given chain.
Definition at line 57 of file chainparamsbase.cpp.
void SetupChainParamsBaseOptions | ( | ArgsManager & | argsman | ) |
Set the arguments for chainparams.
Definition at line 14 of file chainparamsbase.cpp.