Return whether the application is running.

This commit is contained in:
JoelKatz
2012-06-25 09:10:17 -07:00
parent 30f9d51601
commit e832639776

View File

@@ -85,6 +85,7 @@ public:
ValidationCollection& getValidations() { return mValidations; }
bool isNew(const uint256& s) { return mSuppressions.addSuppression(s); }
bool isNew(const uint160& s) { return mSuppressions.addSuppression(s); }
bool running() { return mTxnDB != NULL; }
DatabaseCon* getTxnDB() { return mTxnDB; }
DatabaseCon* getLedgerDB() { return mLedgerDB; }