Rework Ledger index calculation.

This commit is contained in:
Arthur Britto
2012-05-31 20:26:14 -07:00
parent e10505d2a7
commit a0009f7c6f
8 changed files with 66 additions and 47 deletions

View File

@@ -75,14 +75,12 @@ private:
TransactionEngineResult dirAdd(
std::vector<AffectedAccount>& accounts,
uint64& uNodeDir, // Node of entry.
const LedgerEntryType letKind,
const uint256& uBase,
const uint256& uLedgerIndex);
TransactionEngineResult dirDelete(
std::vector<AffectedAccount>& accounts,
const uint64& uNodeDir, // Node item is mentioned in.
const LedgerEntryType letKind,
const uint256& uBase, // Key of item.
const uint256& uLedgerIndex); // Item being deleted