Enforce validation quorum. Default to quorum of 2 if started with --net.

This commit is contained in:
JoelKatz
2013-03-05 09:23:11 -08:00
parent 86893487d1
commit ecb9e7db26
4 changed files with 13 additions and 2 deletions

View File

@@ -1189,6 +1189,8 @@ Json::Value NetworkOPs::getServerInfo(bool human, bool admin)
if (mNeedNetworkLedger)
info["network_ledger"] = "waiting";
info["validation_quorum"] = mLedgerMaster->getMinValidations();
if (admin)
{
if (theConfig.VALIDATION_PUB.isValid())