Compare commits

...

2 Commits

Author SHA1 Message Date
orignal 02895d4cf5 respond with confirmied router to exploratory lookup 2 weeks ago
orignal 8b7941c4ce fixed typo 2 weeks ago

@ -1407,7 +1407,7 @@ namespace data
// must be called from NetDb thread only
for (const auto& it: m_RouterInfos)
{
if (!it.second->IsFloodfill ())
if (!it.second->IsFloodfill () && it.second->GetProfile ()->IsReal ())
{
XORMetric m = destKey ^ it.first;
if (m < minMetric && !excluded.count (it.first))

@ -639,7 +639,7 @@ namespace transport
{
// Non-confirmed router and a NTCP2 direct connection is presented
compatibleTransports &= ~directTransports; // exclude SSU2 direct connections
directTransports &= (i2p::data::RouterInfo::eSSU2V4 | i2p::data::RouterInfo::eSSU2V6);
directTransports &= ~(i2p::data::RouterInfo::eSSU2V4 | i2p::data::RouterInfo::eSSU2V6);
}
for (auto transport: priority)
if (transport & directTransports)

Loading…
Cancel
Save