mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-08 00:13:07 +00:00
chronosim: use const to configure
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
eb74441394
commit
d8b0421af5
@ -14,7 +14,10 @@ import
|
||||
logScope:
|
||||
topics = "ChronoSim"
|
||||
|
||||
when(true): #enable network emulator
|
||||
const
|
||||
emulateDatagram = true
|
||||
|
||||
when(emulateDatagram): #enable network emulator
|
||||
type
|
||||
DatagramCallback* = proc(transp: DatagramTransport,
|
||||
remote: TransportAddress): Future[void] {.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user