diff --git a/codexdht/private/eth/p2p/discoveryv5/encoding.nim b/codexdht/private/eth/p2p/discoveryv5/encoding.nim index 0e092c8..7f64b68 100644 --- a/codexdht/private/eth/p2p/discoveryv5/encoding.nim +++ b/codexdht/private/eth/p2p/discoveryv5/encoding.nim @@ -16,7 +16,6 @@ import std/[hashes, net, options, sugar, tables], stew/endians2, - bearssl/rand, chronicles, stew/[byteutils], stint, diff --git a/codexdht/private/eth/p2p/discoveryv5/messages.nim b/codexdht/private/eth/p2p/discoveryv5/messages.nim index 8e01aa0..b21d255 100644 --- a/codexdht/private/eth/p2p/discoveryv5/messages.nim +++ b/codexdht/private/eth/p2p/discoveryv5/messages.nim @@ -14,7 +14,6 @@ import std/[hashes, net], - bearssl/rand, ./spr, ./node, ../../../../dht/providers_messages diff --git a/codexdht/private/eth/p2p/discoveryv5/node.nim b/codexdht/private/eth/p2p/discoveryv5/node.nim index e08cdc6..9e33b81 100644 --- a/codexdht/private/eth/p2p/discoveryv5/node.nim +++ b/codexdht/private/eth/p2p/discoveryv5/node.nim @@ -9,7 +9,6 @@ import std/[hashes, net], - bearssl/rand, chronicles, chronos, nimcrypto, diff --git a/codexdht/private/eth/p2p/discoveryv5/protocol.nim b/codexdht/private/eth/p2p/discoveryv5/protocol.nim index ca4be01..18559df 100644 --- a/codexdht/private/eth/p2p/discoveryv5/protocol.nim +++ b/codexdht/private/eth/p2p/discoveryv5/protocol.nim @@ -80,7 +80,6 @@ import pkg/[chronicles, chronicles/chronos_tools], pkg/chronos, pkg/stint, - pkg/bearssl/rand, pkg/metrics, pkg/results diff --git a/codexdht/private/eth/p2p/discoveryv5/routing_table.nim b/codexdht/private/eth/p2p/discoveryv5/routing_table.nim index 95a38f4..5c2fc86 100644 --- a/codexdht/private/eth/p2p/discoveryv5/routing_table.nim +++ b/codexdht/private/eth/p2p/discoveryv5/routing_table.nim @@ -9,7 +9,7 @@ import std/[algorithm, net, times, sequtils, bitops, sets, options, tables], - stint, chronicles, metrics, bearssl/rand, chronos, + stint, chronicles, metrics, chronos, "."/[node, random2, spr] from libp2p/crypto/crypto import Rng diff --git a/codexdht/private/eth/p2p/discoveryv5/transport.nim b/codexdht/private/eth/p2p/discoveryv5/transport.nim index 173ed43..799ddfc 100644 --- a/codexdht/private/eth/p2p/discoveryv5/transport.nim +++ b/codexdht/private/eth/p2p/discoveryv5/transport.nim @@ -7,7 +7,6 @@ # Everything below the handling of ordinary messages import std/[net, tables, options, sets], - bearssl/rand, chronos, chronicles, metrics, diff --git a/tests/dht/test_helper.nim b/tests/dht/test_helper.nim index f1326de..21bfbb4 100644 --- a/tests/dht/test_helper.nim +++ b/tests/dht/test_helper.nim @@ -1,6 +1,5 @@ import std/net, - bearssl/rand, chronos, libp2p/crypto/[crypto, secp], libp2p/multiaddress,