Remove useless 2500 limit on AddrMan queries

This commit is contained in:
Gleb Naumenko
2020-07-08 10:29:47 +03:00
parent ded742bc5b
commit 7cc0e8101f
3 changed files with 7 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ public:
#define ADDRMAN_GETADDR_MAX_PCT 23
//! the maximum number of nodes to return in a getaddr call
#define ADDRMAN_GETADDR_MAX 2500
#define ADDRMAN_GETADDR_MAX 1000
//! Convenience
#define ADDRMAN_TRIED_BUCKET_COUNT (1 << ADDRMAN_TRIED_BUCKET_COUNT_LOG2)