Remove unused unl module code

This commit is contained in:
Vinnie Falco
2015-08-14 07:50:54 -07:00
committed by Nik Bougalis
parent 8aafebbb75
commit aeebfeab10
22 changed files with 1 additions and 1385 deletions

View File

@@ -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();