print networking info on startup

This commit is contained in:
Jacek Sieka 2020-06-29 14:00:59 +02:00
parent b10920bcd0
commit 61fc535f8c
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 4 additions and 0 deletions

View File

@ -856,6 +856,10 @@ proc initializeNetworking(node: BeaconNode) {.async.} =
await node.network.startLookingForPeers()
info "Networking initialized",
enr = node.network.announcedENR.toURI,
libp2p = shortLog(node.network.switch.peerInfo)
proc start(node: BeaconNode) =
let
head = node.blockPool.head