Stop the acquire engine in cases where it shouldn't run.

This commit is contained in:
JoelKatz
2013-03-29 10:16:25 -07:00
parent 24bc094cb1
commit e40b7b9f0b
2 changed files with 3 additions and 2 deletions

View File

@@ -273,6 +273,7 @@ public:
void needNetworkLedger() { mNeedNetworkLedger = true; }
void clearNeedNetworkLedger() { mNeedNetworkLedger = false; }
bool isNeedNetworkLedger() { return mNeedNetworkLedger; }
bool isFull() { return !mNeedNetworkLedger && (mMode == omFULL); }
void setProposing(bool p, bool v) { mProposing = p; mValidating = v; }
bool isProposing() { return mProposing; }
bool isValidating() { return mValidating; }