Functions to retrieve close time information from the ledger.

This commit is contained in:
JoelKatz
2012-07-12 21:45:09 -07:00
parent c839f93d3c
commit 036d8f8d6d

View File

@@ -131,6 +131,8 @@ public:
uint32 getCloseTimeNC() const { return mCloseTime; }
uint32 getParentCloseTimeNC() const { return mParentCloseTime; }
uint32 getLedgerSeq() const { return mLedgerSeq; }
int getCloseResolution() const { return mCloseResolution; }
bool getCloseAgree() const { return (mCloseFlags & sLCF_NoConsensusTime) == 0; }
// close time functions
void setCloseTime(uint32 ct) { assert(!mImmutable); mCloseTime = ct; }