Remove obsolete NodeObject fields:

Legacy fields of NodeObject are removed, as they are no longer
used and there is a space savings from omitting them:

* Remove LedgerIndex
This commit is contained in:
Vinnie Falco
2015-02-08 15:11:57 -08:00
parent e2a5535ed6
commit f946d7b447
19 changed files with 53 additions and 104 deletions

View File

@@ -688,7 +688,7 @@ bool Ledger::saveValidatedLedger (bool current)
s.add32 (HashPrefix::ledgerMaster);
addRaw (s);
getApp().getNodeStore ().store (
hotLEDGER, mLedgerSeq, std::move (s.modData ()), mHash);
hotLEDGER, std::move (s.modData ()), mHash);
}
AcceptedLedger::pointer aLedger;