mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Remove unused unl module code
This commit is contained in:
committed by
Nik Bougalis
parent
8aafebbb75
commit
aeebfeab10
@@ -111,18 +111,6 @@ OverlayImpl::Timer::on_timer (error_code ec)
|
||||
overlay_.sendEndpoints();
|
||||
overlay_.autoConnect();
|
||||
|
||||
{
|
||||
std::lock_guard<
|
||||
std::recursive_mutex> lock (overlay_.mutex_);
|
||||
for (auto const& e : overlay_.m_publicKeyMap)
|
||||
{
|
||||
auto const sp = e.second.lock();
|
||||
if (sp)
|
||||
if (sp->unlHorizon_->shouldDrop())
|
||||
sp->fail("Poor UNL horizon");
|
||||
}
|
||||
}
|
||||
|
||||
if ((++overlay_.timer_count_ % Tuning::checkSeconds) == 0)
|
||||
overlay_.check();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user