recognize congestion caps

This commit is contained in:
orignal 2023-03-03 20:21:56 -05:00
parent d6ed9152ee
commit d50cf0ad83
3 changed files with 55 additions and 5 deletions

View file

@ -1210,7 +1210,7 @@ namespace data
router->IsReachableFrom (*compatibleWith)) &&
(router->GetCaps () & RouterInfo::eHighBandwidth) &&
router->GetVersion () >= NETDB_MIN_HIGHBANDWIDTH_VERSION &&
router->IsECIES ();
router->IsECIES () && !router->IsHighCongestion ();
});
}