mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
PeerFinder work
This commit is contained in:
@@ -51,8 +51,7 @@ class ApplicationImp
|
||||
: public Application
|
||||
, public RootStoppable
|
||||
, public DeadlineTimer::Listener
|
||||
, LeakChecked <ApplicationImp>
|
||||
, PeerFinder::Callback
|
||||
, public LeakChecked <ApplicationImp>
|
||||
{
|
||||
private:
|
||||
static ApplicationImp* s_instance;
|
||||
@@ -136,8 +135,6 @@ public:
|
||||
|
||||
, m_loadManager (LoadManager::New (*this, LogJournal::get <LoadManagerLog> ()))
|
||||
|
||||
, mPeerFinder (PeerFinder::New (*this))
|
||||
|
||||
, m_sweepTimer (this)
|
||||
|
||||
, mShutdown (false)
|
||||
@@ -283,11 +280,6 @@ public:
|
||||
return *m_peers;
|
||||
}
|
||||
|
||||
PeerFinder& getPeerFinder ()
|
||||
{
|
||||
return *mPeerFinder;
|
||||
}
|
||||
|
||||
// VFALCO TODO Move these to the .cpp
|
||||
bool running ()
|
||||
{
|
||||
@@ -861,7 +853,6 @@ private:
|
||||
ScopedPointer <Validations> mValidations;
|
||||
ScopedPointer <ProofOfWorkFactory> mProofOfWorkFactory;
|
||||
ScopedPointer <LoadManager> m_loadManager;
|
||||
ScopedPointer <PeerFinder> mPeerFinder;
|
||||
DeadlineTimer m_sweepTimer;
|
||||
bool volatile mShutdown;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user