mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove unused unl module code
This commit is contained in:
committed by
Nik Bougalis
parent
8aafebbb75
commit
aeebfeab10
@@ -64,7 +64,6 @@
|
||||
#include <ripple/protocol/types.h>
|
||||
#include <ripple/server/make_ServerHandler.h>
|
||||
#include <ripple/shamap/Family.h>
|
||||
#include <ripple/unl/make_Manager.h>
|
||||
#include <ripple/unity/git_id.h>
|
||||
#include <ripple/websocket/MakeServer.h>
|
||||
#include <ripple/crypto/RandomNumbers.h>
|
||||
@@ -291,7 +290,6 @@ public:
|
||||
std::unique_ptr <NetworkOPs> m_networkOPs;
|
||||
std::unique_ptr <UniqueNodeList> m_deprecatedUNL;
|
||||
std::unique_ptr <ServerHandler> serverHandler_;
|
||||
std::unique_ptr <unl::Manager> m_validators;
|
||||
std::unique_ptr <AmendmentTable> m_amendmentTable;
|
||||
std::unique_ptr <LoadFeeTrack> mFeeTrack;
|
||||
std::unique_ptr <IHashRouter> mHashRouter;
|
||||
@@ -407,9 +405,6 @@ public:
|
||||
, serverHandler_ (make_ServerHandler (*m_networkOPs, get_io_service (),
|
||||
*m_jobQueue, *m_networkOPs, *m_resourceManager, *m_collectorManager))
|
||||
|
||||
, m_validators (unl::make_Manager(*this, get_io_service(),
|
||||
m_logs.journal("UNL"), getConfig ()))
|
||||
|
||||
, m_amendmentTable (make_AmendmentTable
|
||||
(weeks(2), MAJORITY_FRACTION,
|
||||
m_logs.journal("AmendmentTable")))
|
||||
@@ -453,7 +448,6 @@ public:
|
||||
// VFALCO HACK
|
||||
m_nodeStoreScheduler.setJobQueue (*m_jobQueue);
|
||||
|
||||
add (*m_validators);
|
||||
add (m_ledgerMaster->getPropertySource ());
|
||||
add (*serverHandler_);
|
||||
}
|
||||
@@ -570,11 +564,6 @@ public:
|
||||
return cachedSLEs_;
|
||||
}
|
||||
|
||||
unl::Manager& getValidators ()
|
||||
{
|
||||
return *m_validators;
|
||||
}
|
||||
|
||||
AmendmentTable& getAmendmentTable()
|
||||
{
|
||||
return *m_amendmentTable;
|
||||
|
||||
Reference in New Issue
Block a user