Get rid of "dead" ledgers. We don't need them any more and they make trouble.

Fix close time synch to be more accurate.
This commit is contained in:
JoelKatz
2012-09-05 21:55:00 -07:00
parent 8e5374b338
commit 687578abd9
4 changed files with 11 additions and 36 deletions

View File

@@ -257,7 +257,7 @@ void LedgerConsensus::checkLCL()
typedef std::pair<const uint256, int> u256_int_pair;
BOOST_FOREACH(u256_int_pair& it, vals)
{
if ((it.second > netLgrCount) && !theApp->getValidations().isDeadLedger(it.first))
if (it.second > netLgrCount)
{
netLgr = it.first;
netLgrCount = it.second;