From 50f455e0a2536b96f6db6da7c5eee326bb81761a Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 12 Jul 2024 09:33:37 -0400 Subject: [PATCH] make a floodfill eligble if reachable by ipv4 --- libi2pd/RouterInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libi2pd/RouterInfo.cpp b/libi2pd/RouterInfo.cpp index 56281de7..035b2c23 100644 --- a/libi2pd/RouterInfo.cpp +++ b/libi2pd/RouterInfo.cpp @@ -1014,8 +1014,8 @@ namespace data bool RouterInfo::IsEligibleFloodfill () const { - // floodfill must have published ipv4, >= 0.9.38 and not DSA - return m_Version >= NETDB_MIN_FLOODFILL_VERSION && IsPublished (true) && + // floodfill must have reachable ipv4, >= 0.9.59 and not DSA + return m_Version >= NETDB_MIN_FLOODFILL_VERSION && IsReachableBy (eNTCP2V4 | eSSU2V4) && GetIdentity ()->GetSigningKeyType () != SIGNING_KEY_TYPE_DSA_SHA1; }