mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Enforce validation quorum. Default to quorum of 2 if started with --net.
This commit is contained in:
@@ -227,7 +227,12 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
theConfig.START_UP = Config::LOAD;
|
||||
}
|
||||
else if (vm.count("net")) theConfig.START_UP = Config::NETWORK;
|
||||
else if (vm.count("net"))
|
||||
{
|
||||
theConfig.START_UP = Config::NETWORK;
|
||||
if (theConfig.VALIDATION_QUORUM < 2)
|
||||
theConfig.VALIDATION_QUORUM = 2;
|
||||
}
|
||||
|
||||
if (iResult)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user