mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix a few cases where we reset the acquire timer when we should not.
This commit is contained in:
@@ -72,7 +72,7 @@ protected:
|
||||
void done();
|
||||
void onTimer();
|
||||
|
||||
void newPeer(Peer::pointer peer) { trigger(peer); }
|
||||
void newPeer(Peer::pointer peer) { trigger(peer, false); }
|
||||
|
||||
boost::weak_ptr<PeerSet> pmDowncast();
|
||||
|
||||
@@ -92,7 +92,7 @@ public:
|
||||
bool takeTxRootNode(const std::vector<unsigned char>& data);
|
||||
bool takeAsNode(const std::list<SHAMapNode>& IDs, const std::list<std::vector<unsigned char> >& data);
|
||||
bool takeAsRootNode(const std::vector<unsigned char>& data);
|
||||
void trigger(Peer::pointer);
|
||||
void trigger(Peer::pointer, bool timer);
|
||||
};
|
||||
|
||||
class LedgerAcquireMaster
|
||||
|
||||
Reference in New Issue
Block a user