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

Function SelectParamsFromCommandLine

src/chainparams.cpp:675–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675bool SelectParamsFromCommandLine()
676{
677 CBaseChainParams::Network network = NetworkIdFromCommandLine();
678 if (network == CBaseChainParams::MAX_NETWORK_TYPES)
679 return false;
680
681 SelectParams(network);
682 return true;
683}

Callers 3

AppInitRawTxFunction · 0.85
AppInitFunction · 0.85
mainFunction · 0.85

Calls 2

NetworkIdFromCommandLineFunction · 0.85
SelectParamsFunction · 0.85

Tested by

no test coverage detected