mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
allow some unreachable floodfills
This commit is contained in:
parent
924a7bc533
commit
618aa26454
@ -1069,8 +1069,9 @@ namespace data
|
|||||||
|
|
||||||
bool RouterInfo::IsEligibleFloodfill () const
|
bool RouterInfo::IsEligibleFloodfill () const
|
||||||
{
|
{
|
||||||
// floodfill must be reachable, >= 0.9.28 and not DSA
|
// floodfill must be reachable somehow, >= 0.9.28 and not DSA
|
||||||
return IsReachable () && m_Version >= NETDB_MIN_FLOODFILL_VERSION &&
|
return (IsReachable () || (m_SupportedTransports & eSSUV4)) &&
|
||||||
|
m_Version >= NETDB_MIN_FLOODFILL_VERSION &&
|
||||||
GetIdentity ()->GetSigningKeyType () != SIGNING_KEY_TYPE_DSA_SHA1;
|
GetIdentity ()->GetSigningKeyType () != SIGNING_KEY_TYPE_DSA_SHA1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user