Browse Source

allow some unreachable floodfills

pull/1640/head
orignal 4 years ago
parent
commit
618aa26454
  1. 5
      libi2pd/RouterInfo.cpp

5
libi2pd/RouterInfo.cpp

@ -1069,8 +1069,9 @@ namespace data @@ -1069,8 +1069,9 @@ namespace data
bool RouterInfo::IsEligibleFloodfill () const
{
// floodfill must be reachable, >= 0.9.28 and not DSA
return IsReachable () && m_Version >= NETDB_MIN_FLOODFILL_VERSION &&
// floodfill must be reachable somehow, >= 0.9.28 and not DSA
return (IsReachable () || (m_SupportedTransports & eSSUV4)) &&
m_Version >= NETDB_MIN_FLOODFILL_VERSION &&
GetIdentity ()->GetSigningKeyType () != SIGNING_KEY_TYPE_DSA_SHA1;
}

Loading…
Cancel
Save