|
|
@ -209,7 +209,7 @@ public: |
|
|
|
std::string addrName; |
|
|
|
std::string addrName; |
|
|
|
CService addrLocal; |
|
|
|
CService addrLocal; |
|
|
|
int nVersion; |
|
|
|
int nVersion; |
|
|
|
// strSubVer is whatever byte array we read from the wire. However, this field is intended
|
|
|
|
// strSubVer is whatever byte array we read from the wire. However, this field is intended
|
|
|
|
// to be printed out, displayed to humans in various forms and so on. So we sanitize it and
|
|
|
|
// to be printed out, displayed to humans in various forms and so on. So we sanitize it and
|
|
|
|
// store the sanitized version in cleanSubVer. The original should be used when dealing with
|
|
|
|
// store the sanitized version in cleanSubVer. The original should be used when dealing with
|
|
|
|
// the network or wire types and the cleaned string used when displayed or logged.
|
|
|
|
// the network or wire types and the cleaned string used when displayed or logged.
|
|
|
@ -264,7 +264,7 @@ public: |
|
|
|
int64_t nPingUsecStart; |
|
|
|
int64_t nPingUsecStart; |
|
|
|
int64_t nPingUsecTime; |
|
|
|
int64_t nPingUsecTime; |
|
|
|
bool fPingQueued; |
|
|
|
bool fPingQueued; |
|
|
|
|
|
|
|
|
|
|
|
CNode(SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn = "", bool fInboundIn=false) : ssSend(SER_NETWORK, INIT_PROTO_VERSION) |
|
|
|
CNode(SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn = "", bool fInboundIn=false) : ssSend(SER_NETWORK, INIT_PROTO_VERSION) |
|
|
|
{ |
|
|
|
{ |
|
|
|
nServices = 0; |
|
|
|
nServices = 0; |
|
|
|