mirror of https://github.com/status-im/nim-eth.git
Debug logs providing info for the initial discoveryv5 configuration
This commit is contained in:
parent
779d767b02
commit
f947827c70
|
@ -933,6 +933,11 @@ proc newProtocol*(
|
||||||
record = enr.Record.init(1, privKey, enrIp, enrTcpPort, enrUdpPort,
|
record = enr.Record.init(1, privKey, enrIp, enrTcpPort, enrUdpPort,
|
||||||
extraFields).expect("Record within size limits")
|
extraFields).expect("Record within size limits")
|
||||||
|
|
||||||
|
debug "Initializing discovery v5",
|
||||||
|
enrIp, enrTcpPort, enrUdpPort, enrAutoUpdate,
|
||||||
|
bootstrapEnrs = bootstrapRecords, localEnrFields,
|
||||||
|
bindPort, bindIp
|
||||||
|
|
||||||
info "ENR initialized", ip = enrIp, tcp = enrTcpPort, udp = enrUdpPort,
|
info "ENR initialized", ip = enrIp, tcp = enrTcpPort, udp = enrUdpPort,
|
||||||
seqNum = record.seqNum, uri = toURI(record)
|
seqNum = record.seqNum, uri = toURI(record)
|
||||||
if enrIp.isNone():
|
if enrIp.isNone():
|
||||||
|
|
Loading…
Reference in New Issue