mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-09 08:53:08 +00:00
add logging helper for Protocol
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
43f8a6d182
commit
f65768c9c3
@ -184,6 +184,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