mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-01-24 02:49:00 +00:00
add logging helper for Protocol
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
f766cb39b1
commit
d8160ff0f7
@ -182,6 +182,9 @@ type
|
||||
|
||||
DiscResult*[T] = Result[T, cstring]
|
||||
|
||||
func `$`*(p: Protocol): string =
|
||||
$p.localNode.id
|
||||
|
||||
const
|
||||
defaultDiscoveryConfig* = DiscoveryConfig(
|
||||
tableIpLimits: DefaultTableIpLimits,
|
||||
|
Loading…
x
Reference in New Issue
Block a user