Prevent duplicate headers

This commit is contained in:
jl777
2017-09-18 16:57:31 +02:00
parent 37782e4e3b
commit 336a60cf9b
2 changed files with 11 additions and 6 deletions

View File

@@ -264,6 +264,7 @@ public:
std::string addrName;
CService addrLocal;
int nVersion;
int lasthdrsreq;
// 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
// store the sanitized version in cleanSubVer. The original should be used when dealing with