Combine history_ledger_index and online_delete (RIPD-774)

This commit is contained in:
Miguel Portilla
2015-01-27 16:29:29 -05:00
committed by Nik Bougalis
parent 43873b1b2c
commit 5d6ea3d75f
8 changed files with 10 additions and 35 deletions

View File

@@ -248,7 +248,6 @@ Config::Config ()
FEE_CONTRACT_OPERATION = DEFAULT_FEE_OPERATION;
LEDGER_HISTORY = 256;
LEDGER_HISTORY_INDEX = 0;
FETCH_DEPTH = 1000000000;
// An explanation of these magical values would be nice.
@@ -584,10 +583,6 @@ void Config::load ()
else
LEDGER_HISTORY = beast::lexicalCastThrow <std::uint32_t> (strTemp);
}
if (getSingleSection(secConfig, SECTION_LEDGER_HISTORY_INDEX, strTemp))
{
LEDGER_HISTORY_INDEX = beast::lexicalCastThrow <std::uint32_t>(strTemp);
}
if (getSingleSection (secConfig, SECTION_FETCH_DEPTH, strTemp))
{