mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-07 16:03:09 +00:00
use 127.0.0.1 for these tests
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
fd317a55cb
commit
70c2d28b89
@ -1032,7 +1032,7 @@ proc newProtocol*(
|
|||||||
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
||||||
previousRecord = none[SignedPeerRecord](),
|
previousRecord = none[SignedPeerRecord](),
|
||||||
bindPort: Port,
|
bindPort: Port,
|
||||||
bindIp = IPv4_any(),
|
bindIp = IPv4_loopback(),
|
||||||
enrAutoUpdate = false,
|
enrAutoUpdate = false,
|
||||||
config = defaultDiscoveryConfig,
|
config = defaultDiscoveryConfig,
|
||||||
rng = newRng(),
|
rng = newRng(),
|
||||||
@ -1099,7 +1099,7 @@ proc newProtocol*(
|
|||||||
bindPort: Port,
|
bindPort: Port,
|
||||||
record: SignedPeerRecord,
|
record: SignedPeerRecord,
|
||||||
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
bootstrapRecords: openArray[SignedPeerRecord] = [],
|
||||||
bindIp = IPv4_any(),
|
bindIp = IPv4_loopback(),
|
||||||
config = defaultDiscoveryConfig,
|
config = defaultDiscoveryConfig,
|
||||||
rng = newRng(),
|
rng = newRng(),
|
||||||
providers = ProvidersManager.new(SQLiteDatastore.new(Memory)
|
providers = ProvidersManager.new(SQLiteDatastore.new(Memory)
|
||||||
|
|||||||
@ -260,7 +260,7 @@ proc newTransport*[T](
|
|||||||
privKey: PrivateKey,
|
privKey: PrivateKey,
|
||||||
localNode: Node,
|
localNode: Node,
|
||||||
bindPort: Port,
|
bindPort: Port,
|
||||||
bindIp = IPv4_any(),
|
bindIp = IPv4_loopback(), ## we could use 127.0.0.1 here for local tests
|
||||||
rng = newRng()): Transport[T]=
|
rng = newRng()): Transport[T]=
|
||||||
|
|
||||||
# TODO Consider whether this should be a Defect
|
# TODO Consider whether this should be a Defect
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user