|
@ -98,7 +98,7 @@ void RLPXHandshake::readAuth() |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
clog(NetWarn) << "p2p.connect.egress recving auth decrypt failed for" << m_socket->remoteEndpoint(); |
|
|
clog(NetConnect) << "p2p.connect.ingress recving auth decrypt failed for" << m_socket->remoteEndpoint(); |
|
|
m_nextState = Error; |
|
|
m_nextState = Error; |
|
|
transition(); |
|
|
transition(); |
|
|
} |
|
|
} |
|
@ -122,7 +122,7 @@ void RLPXHandshake::readAck() |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
clog(NetWarn) << "p2p.connect.egress recving ack decrypt failed for " << m_socket->remoteEndpoint(); |
|
|
clog(NetConnect) << "p2p.connect.egress recving ack decrypt failed for " << m_socket->remoteEndpoint(); |
|
|
m_nextState = Error; |
|
|
m_nextState = Error; |
|
|
transition(); |
|
|
transition(); |
|
|
} |
|
|
} |
|
@ -162,11 +162,7 @@ void RLPXHandshake::transition(boost::system::error_code _ech) |
|
|
else if (m_nextState == WriteHello) |
|
|
else if (m_nextState == WriteHello) |
|
|
{ |
|
|
{ |
|
|
m_nextState = ReadHello; |
|
|
m_nextState = ReadHello; |
|
|
|
|
|
clog(NetConnect) << (m_originated ? "p2p.connect.egress" : "p2p.connect.ingress") << "sending capabilities handshake"; |
|
|
if (m_originated) |
|
|
|
|
|
clog(NetConnect) << "p2p.connect.egress sending capabilities handshake"; |
|
|
|
|
|
else |
|
|
|
|
|
clog(NetConnect) << "p2p.connect.ingress sending capabilities handshake"; |
|
|
|
|
|
|
|
|
|
|
|
/// This pointer will be freed if there is an error otherwise
|
|
|
/// This pointer will be freed if there is an error otherwise
|
|
|
/// it will be passed to Host which will take ownership.
|
|
|
/// it will be passed to Host which will take ownership.
|
|
|