If we detect a missing node in a ledger we're supposed to have full,

re-acquire that ledger to fill the hole.
This commit is contained in:
JoelKatz
2013-05-08 15:55:52 -07:00
parent ddcebec5a5
commit 41b70c76da
6 changed files with 24 additions and 2 deletions

View File

@@ -183,6 +183,7 @@ public:
Ledger::ref getCurrentLedger() { return mLedgerMaster->getCurrentLedger(); }
Ledger::pointer getLedgerByHash(const uint256& hash) { return mLedgerMaster->getLedgerByHash(hash); }
Ledger::pointer getLedgerBySeq(const uint32 seq);
void missingNodeInLedger(const uint32 seq);
uint256 getClosedLedgerHash() { return mLedgerMaster->getClosedLedger()->getHash(); }