mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-17 08:52:45 +00:00
net: extend log message to include attempted connection type
This commit is contained in:
parent
0871e104a2
commit
67696b207f
@ -390,8 +390,9 @@ CNode* CConnman::ConnectNode(CAddress addrConnect,
|
||||
}
|
||||
}
|
||||
|
||||
LogDebug(BCLog::NET, "trying %s connection %s lastseen=%.1fhrs\n",
|
||||
LogDebug(BCLog::NET, "trying %s connection (%s) to %s, lastseen=%.1fhrs\n",
|
||||
use_v2transport ? "v2" : "v1",
|
||||
ConnectionTypeAsString(conn_type),
|
||||
pszDest ? pszDest : addrConnect.ToStringAddrPort(),
|
||||
Ticks<HoursDouble>(pszDest ? 0h : Now<NodeSeconds>() - addrConnect.nTime));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user