From 8dc1ee5ac31871a8ee2e94fa90547fd70180da44 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Mon, 19 Jun 2023 15:07:23 +0200 Subject: [PATCH] simulation: bump bucketIpLimit to 100000 to avoid test issues Nodes on single IP are limited in normal operation. This would create issues for tests, so better turn off this mechanism. Signed-off-by: Csaba Kiraly --- tests/dht/test_helper.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dht/test_helper.nim b/tests/dht/test_helper.nim index 89f5797..a71ebce 100644 --- a/tests/dht/test_helper.nim +++ b/tests/dht/test_helper.nim @@ -31,7 +31,7 @@ proc initDiscoveryNode*( previousRecord = none[SignedPeerRecord]()): discv5_protocol.Protocol = # set bucketIpLimit to allow bucket split - let config = DiscoveryConfig.init(1000, 24, 5) + let config = DiscoveryConfig.init(100000, 100000, 5) let protocol = newProtocol( privKey,