Simplify the ledger acquire logic. This fixes a few bugs related to it including

the issue if you remove the ledger DB.
This commit is contained in:
JoelKatz
2013-03-11 17:57:12 -07:00
parent 2c88637cf9
commit 566b36715d
3 changed files with 2 additions and 14 deletions

View File

@@ -37,7 +37,6 @@ protected:
RangeSet mCompleteLedgers;
LedgerAcquire::pointer mMissingLedger;
uint32 mMissingSeq;
bool mTooFast; // We are acquiring faster than we're writing
int mMinValidations; // The minimum validations to publish a ledger
uint256 mLastValidateHash;
@@ -58,7 +57,7 @@ protected:
public:
LedgerMaster() : mHeldTransactions(uint256()), mMissingSeq(0), mTooFast(false),
LedgerMaster() : mHeldTransactions(uint256()), mMissingSeq(0),
mMinValidations(0), mLastValidateSeq(0), mPubThread(false)
{ ; }