Block operation if a feature we don't support is enabled in the ledger.

This commit is contained in:
JoelKatz
2013-05-30 14:30:06 -07:00
parent a38e80eb6b
commit 69a904133f
8 changed files with 37 additions and 7 deletions

View File

@@ -547,6 +547,12 @@ bool serverOkay(std::string& reason)
return false;
}
if (theApp->getOPs().isFeatureBlocked())
{
reason = "Server version too old";
return false;
}
return true;
}