|
|
|
@ -1662,8 +1662,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (nVersion < MIN_PEER_PROTO_VERSION)
|
|
|
|
|
{
|
|
|
|
|
if (nVersion < MIN_PEER_PROTO_VERSION) {
|
|
|
|
|
// disconnect from peers older than this proto version
|
|
|
|
|
LogPrint(BCLog::NET, "peer=%d using obsolete version %i; disconnecting\n", pfrom->GetId(), nVersion);
|
|
|
|
|
if (enable_bip61) {
|
|
|
|
@ -1674,8 +1673,6 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (nVersion == 10300)
|
|
|
|
|
nVersion = 300;
|
|
|
|
|
if (!vRecv.empty())
|
|
|
|
|
vRecv >> addrFrom >> nNonce;
|
|
|
|
|
if (!vRecv.empty()) {
|
|
|
|
|