Browse Source

make a floodfill eligble if reachable by ipv4

pull/2094/head
orignal 4 months ago
parent
commit
50f455e0a2
  1. 4
      libi2pd/RouterInfo.cpp

4
libi2pd/RouterInfo.cpp

@ -1014,8 +1014,8 @@ namespace data @@ -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;
}

Loading…
Cancel
Save