mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-26 12:29:30 +00:00
update to new Mix implementation
This commit is contained in:
parent
31b7d0902a
commit
0e8c4e66d9
@ -1,7 +1,7 @@
|
||||
import std/[options, sequtils, sugar, tables]
|
||||
|
||||
import pkg/chronos
|
||||
import pkg/libp2p/protocols/mix
|
||||
import pkg/libp2p_mix
|
||||
|
||||
import pkg/storage/discovery
|
||||
import pkg/storage/rng
|
||||
@ -144,6 +144,8 @@ asyncchecksuite "Block Advertising and Discovery":
|
||||
discovery = MixMockDiscovery.new()
|
||||
|
||||
discovery.mixProto = mix
|
||||
discovery.dhtMixProxies = @[SignedPeerRecord.example]
|
||||
|
||||
discovery.privateSpr = privateSpr
|
||||
discovery.directSpr = directSpr
|
||||
discovery.refCid = refCid
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user