Merge pull request #3854
149da42db_lmdb: enable batch transactions by default (stoffu)34cb6b4add --regtest and --fixed-difficulty for regression testing (vicsn)9e1403eupdate get_info RPC and bump RPC version (vicsn)207b66efirst new functional tests (vicsn)
This commit is contained in:
+3
-2
@@ -163,9 +163,10 @@ int main(int argc, char const * argv[])
|
||||
|
||||
const bool testnet = command_line::get_arg(vm, cryptonote::arg_testnet_on);
|
||||
const bool stagenet = command_line::get_arg(vm, cryptonote::arg_stagenet_on);
|
||||
if (testnet && stagenet)
|
||||
const bool regtest = command_line::get_arg(vm, cryptonote::arg_regtest_on);
|
||||
if (testnet + stagenet + regtest > 1)
|
||||
{
|
||||
std::cerr << "Can't specify more than one of --tesnet and --stagenet" << ENDL;
|
||||
std::cerr << "Can't specify more than one of --tesnet and --stagenet and --regtest" << ENDL;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user