mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Get rid of "dead" ledgers. We don't need them any more and they make trouble.
Fix close time synch to be more accurate.
This commit is contained in:
@@ -20,7 +20,6 @@ protected:
|
||||
boost::unordered_map<uint256, ValidationSet> mValidations;
|
||||
boost::unordered_map<uint160, SerializedValidation::pointer> mCurrentValidations;
|
||||
std::vector<SerializedValidation::pointer> mStaleValidations;
|
||||
std::list<uint256> mDeadLedgers;
|
||||
|
||||
bool mWriting;
|
||||
|
||||
@@ -39,10 +38,6 @@ public:
|
||||
|
||||
boost::unordered_map<uint256, int> getCurrentValidations(uint256 currentLedger = uint256());
|
||||
|
||||
void addDeadLedger(const uint256&);
|
||||
bool isDeadLedger(const uint256&);
|
||||
std::list<uint256> getDeadLedgers() { return mDeadLedgers; }
|
||||
|
||||
void flush();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user