mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Allow a server to keep no ledger history, closes #299
This commit is contained in:
@@ -545,6 +545,8 @@ void Config::load ()
|
||||
|
||||
if (strTemp == "full")
|
||||
LEDGER_HISTORY = 1000000000u;
|
||||
else if (strTemp == "none")
|
||||
LEDGER_HISTORY = 0;
|
||||
else
|
||||
LEDGER_HISTORY = lexicalCastThrow <uint32> (strTemp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user