Get rid of "full history". You can now configure how many back ledgers you want to retrieve

on startup. The default is 256. The configuration element is "ledger_history". Valid values are:
0/off/false/none = don't retrieve any history
on/full/yes/-1 = retrieve all history back to the genesis ledger
<number> = retrieve that number of past ledgers
This commit is contained in:
JoelKatz
2012-11-29 11:33:33 -08:00
parent 87ee255251
commit 6d858ab178
4 changed files with 38 additions and 16 deletions

View File

@@ -108,7 +108,7 @@ public:
int FEE_CONTRACT_OPERATION; // fee for each contract operation
// Node storage configuration
bool FULL_HISTORY;
uint32 LEDGER_HISTORY;
// Client behavior
int ACCOUNT_PROBE_MAX; // How far to scan for accounts.