![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
| std::unique_ptr< const CChainParams > | CreateChainParams (const ArgsManager &args, const ChainType chain) |
| Creates and returns a std::unique_ptr<CChainParams> of the chosen chain. More... | |
| const CChainParams & | Params () |
| Return the currently selected parameters. More... | |
| void | SelectParams (const ChainType chain) |
| Sets the params returned by Params() to those for the given chain type. More... | |
| std::unique_ptr< const CChainParams > CreateChainParams | ( | const ArgsManager & | args, |
| const ChainType | chain | ||
| ) |
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
Definition at line 117 of file chainparams.cpp.
| const CChainParams & Params | ( | ) |
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 112 of file chainparams.cpp.
| void SelectParams | ( | const ChainType | chain | ) |
Sets the params returned by Params() to those for the given chain type.
Definition at line 140 of file chainparams.cpp.