Add a function to make the "sacrificial" ledger that runs as our

current ledger during consensus building time. We just use it to
decide whether to process/forward transactions. We re-apply them when we
have a new last-closed ledger anyway.
This commit is contained in:
JoelKatz
2012-05-29 18:00:57 -07:00
parent c74dad5478
commit c750c4af38

View File

@@ -92,6 +92,10 @@ public:
bool isClosed() { return mClosed; }
bool isAccepted() { return mAccepted; }
// This ledger has closed, will never be accepted, and is accepting
// new transactions to be re-repocessed when do accept a new last-closed ledger
void bumpSeq() { mClosed = true; mLedgerSeq++; }
// ledger signature operations
void addRaw(Serializer &s);