Chainparams: Generic selection with -chain=<chainString> in addition of -testnet and -regtest

This commit is contained in:
Jorge Timón 2015-05-24 23:35:55 +02:00 committed by instagibbs
parent 595f6bda3a
commit 6275ff8ed6
6 changed files with 8 additions and 7 deletions

View file

@ -99,7 +99,7 @@ static bool AppInitRPC(int argc, char* argv[])
fprintf(stderr,"Error reading configuration file: %s\n", e.what());
return false;
}
// Check for -testnet or -regtest parameter (BaseParams() calls are only valid after this clause)
// Check for -chain, -testnet or -regtest parameter (BaseParams() calls are only valid after this clause)
try {
SelectBaseParams(ChainNameFromCommandLine());
} catch (const std::exception& e) {