mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Correctly sequence to acquiring a new LCL if it changes. Don't keep acquiring the old one.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "NicknameState.h"
|
||||
#include "RippleState.h"
|
||||
#include "SerializedValidation.h"
|
||||
#include "LedgerAcquire.h"
|
||||
|
||||
#include <boost/interprocess/sync/interprocess_upgradable_mutex.hpp>
|
||||
#include <boost/interprocess/sync/sharable_lock.hpp>
|
||||
@@ -51,6 +52,7 @@ protected:
|
||||
boost::shared_ptr<LedgerConsensus> mConsensus;
|
||||
|
||||
LedgerMaster* mLedgerMaster;
|
||||
LedgerAcquire::pointer mAcquiringLedger;
|
||||
|
||||
void setMode(OperatingMode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user