mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
pick ECIES routers only for non-x64
This commit is contained in:
parent
08a82a0bcd
commit
81c83f0d54
1 changed files with 4 additions and 0 deletions
|
@ -1187,7 +1187,11 @@ namespace data
|
||||||
(reverse ? compatibleWith->IsReachableFrom (*router) :
|
(reverse ? compatibleWith->IsReachableFrom (*router) :
|
||||||
router->IsReachableFrom (*compatibleWith)) &&
|
router->IsReachableFrom (*compatibleWith)) &&
|
||||||
(router->GetCaps () & RouterInfo::eHighBandwidth) &&
|
(router->GetCaps () & RouterInfo::eHighBandwidth) &&
|
||||||
|
#if defined(__x86_64__)
|
||||||
router->GetVersion () >= NETDB_MIN_HIGHBANDWIDTH_VERSION;
|
router->GetVersion () >= NETDB_MIN_HIGHBANDWIDTH_VERSION;
|
||||||
|
#else
|
||||||
|
router->GetIdentity ()->GetCryptoKeyType () == i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD;
|
||||||
|
#endif
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue