MCPcopy Create free account
hub / github.com/LUX-Core/lux / SelectBaseParamsFromCommandLine

Function SelectBaseParamsFromCommandLine

src/chainparamsbase.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool SelectBaseParamsFromCommandLine()
134{
135 CBaseChainParams::Network network = NetworkIdFromCommandLine();
136 if (network == CBaseChainParams::MAX_NETWORK_TYPES)
137 return false;
138
139 SelectBaseParams(network);
140 return true;
141}
142
143bool AreBaseParamsConfigured()
144{

Callers 1

AppInitRPCFunction · 0.85

Calls 2

NetworkIdFromCommandLineFunction · 0.85
SelectBaseParamsFunction · 0.85

Tested by

no test coverage detected