mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-12 01:43:13 +00:00
use exponential delay for mix and take fix in mix protocol
This commit is contained in:
parent
169eac1be8
commit
0cd05812d6
2
vendor/nim-libp2p
vendored
2
vendor/nim-libp2p
vendored
@ -1 +1 @@
|
||||
Subproject commit ed079aef62538b2b00f347898d0ab1fa1e0761ab
|
||||
Subproject commit 462c2aca348af46b6eefd5fe012b66cb1dd05be5
|
||||
@ -90,7 +90,8 @@ proc new*(
|
||||
procCall MixProtocol(m).init(
|
||||
localMixNodeInfo,
|
||||
peermgr.switch,
|
||||
delayStrategy = NoSamplingDelayStrategy.new(crypto.newRng()),
|
||||
delayStrategy =
|
||||
ExponentialDelayStrategy.new(meanDelayMs = 50, rng = crypto.newRng()),
|
||||
)
|
||||
|
||||
processBootNodes(bootnodes, peermgr, m)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user