add logging helper for Protocol
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
5f6e55271a
commit
a4cea57165
|
@ -184,6 +184,9 @@ type
|
||||||
|
|
||||||
DiscResult*[T] = Result[T, cstring]
|
DiscResult*[T] = Result[T, cstring]
|
||||||
|
|
||||||
|
func `$`*(p: Protocol): string =
|
||||||
|
$p.localNode.id
|
||||||
|
|
||||||
const
|
const
|
||||||
defaultDiscoveryConfig* = DiscoveryConfig(
|
defaultDiscoveryConfig* = DiscoveryConfig(
|
||||||
tableIpLimits: DefaultTableIpLimits,
|
tableIpLimits: DefaultTableIpLimits,
|
||||||
|
|
Loading…
Reference in New Issue