diff --git a/src/cpp/ripple/NetworkOPs.h b/src/cpp/ripple/NetworkOPs.h index bf5be14e2..1280482c1 100644 --- a/src/cpp/ripple/NetworkOPs.h +++ b/src/cpp/ripple/NetworkOPs.h @@ -84,8 +84,10 @@ protected: int mLastCloseProposers, mLastCloseConvergeTime; uint256 mLastCloseHash; uint32 mLastCloseTime; + SerializedValidation::pointer mLastValidation; uint32 mLastValidationTime; + // XXX Split into more locks. boost::interprocess::interprocess_upgradable_mutex mMonitorLock; subInfoMapType mSubAccount; @@ -134,6 +136,9 @@ public: uint256 getClosedLedgerHash() { return mLedgerMaster->getClosedLedger()->getHash(); } + SerializedValidation::ref getLastValidation() { return mLastValidation; } + void setLastValidation(SerializedValidation::ref v) { mLastValidation = v; } + SLE::pointer getSLE(Ledger::pointer lpLedger, const uint256& uHash) { return lpLedger->getSLE(uHash); } //