mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user