mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
temporary code to debug issues with the testnet bootstrap node
This commit is contained in:
parent
c7e06374f4
commit
0116bdaed7
@ -504,7 +504,9 @@ proc p2pProtocolBackendImpl*(p: P2PProtocol): Backend =
|
|||||||
`streamVar`: `P2PStream`) {.async, gcsafe.} =
|
`streamVar`: `P2PStream`) {.async, gcsafe.} =
|
||||||
let `peerVar` = peerFromStream(`daemonVar`, `streamVar`)
|
let `peerVar` = peerFromStream(`daemonVar`, `streamVar`)
|
||||||
try:
|
try:
|
||||||
|
debug "INCOMING CONNECTION", `peerVar`
|
||||||
`await` `handshakeProcName`(`peerVar`, `streamVar`)
|
`await` `handshakeProcName`(`peerVar`, `streamVar`)
|
||||||
|
debug "HANSHAKE COMPLETED", `peerVar`
|
||||||
except SerializationError as err:
|
except SerializationError as err:
|
||||||
debug "Failed to decode message",
|
debug "Failed to decode message",
|
||||||
err = err.formatMsg("<msg>"),
|
err = err.formatMsg("<msg>"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user