![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
#include "chainparamsbase.h"#include "util.h"#include <assert.h>#include <boost/assign/list_of.hpp>Go to the source code of this file.
Classes | |
| class | CBaseMainParams |
| Main network. More... | |
| class | CBaseTestNetParams |
| Testnet (v3) More... | |
| class | CBaseRegTestParams |
Functions | |
| const CBaseChainParams & | BaseParams () |
| Return the currently selected parameters. More... | |
| void | SelectBaseParams (CBaseChainParams::Network network) |
| Sets the params returned by Params() to those for the given network. More... | |
| CBaseChainParams::Network | NetworkIdFromCommandLine () |
| Looks for -regtest or -testnet and returns the appropriate Network ID. More... | |
| bool | SelectBaseParamsFromCommandLine () |
| Calls NetworkIdFromCommandLine() and then calls SelectParams as appropriate. More... | |
| bool | AreBaseParamsConfigured () |
| Return true if SelectBaseParamsFromCommandLine() has been called to select a network. More... | |
| bool AreBaseParamsConfigured | ( | ) |
Return true if SelectBaseParamsFromCommandLine() has been called to select a network.
Definition at line 108 of file chainparamsbase.cpp.
| const CBaseChainParams& BaseParams | ( | ) |
Return the currently selected parameters.
This won't change after app startup outside of the unit tests.
Definition at line 60 of file chainparamsbase.cpp.
| CBaseChainParams::Network NetworkIdFromCommandLine | ( | ) |
Looks for -regtest or -testnet and returns the appropriate Network ID.
Returns MAX_NETWORK_TYPES if an invalid combination is given.
Definition at line 84 of file chainparamsbase.cpp.
| void SelectBaseParams | ( | CBaseChainParams::Network | network | ) |
Sets the params returned by Params() to those for the given network.
Definition at line 66 of file chainparamsbase.cpp.
| bool SelectBaseParamsFromCommandLine | ( | ) |
Calls NetworkIdFromCommandLine() and then calls SelectParams as appropriate.
Returns false if an invalid combination is given.
Definition at line 98 of file chainparamsbase.cpp.
1.8.17