preparation for switch from 32 bit time to 64 bit time in protocol #128

Merged
Atheros1 merged 6 commits from master into master 2013-04-17 21:32:05 +02:00
Showing only changes of commit 3bbf701130 - Show all commits

View File

@ -1383,7 +1383,6 @@ class receiveDataThread(QThread):
printLock.release()
if self.remoteProtocolVersion == 1:
print 'self.remoteProtocolVersion == 1'
if numberOfAddressesIncluded > 1000 or numberOfAddressesIncluded == 0:
return
if len(data) != lengthOfNumberOfAddresses + (34 * numberOfAddressesIncluded):
@ -1452,7 +1451,6 @@ class receiveDataThread(QThread):
knownNodesLock.acquire()
knownNodes[recaddrStream][hostFromAddrMessage] = (recaddrPort, timeSomeoneElseReceivedMessageFromThisNode)
knownNodesLock.release()
print 'added new node', hostFromAddrMessage, 'to knownNodes in stream', recaddrStream
needToWriteKnownNodesToDisk = True
hostDetails = (timeSomeoneElseReceivedMessageFromThisNode, recaddrStream, recaddrServices, hostFromAddrMessage, recaddrPort)
listOfAddressDetailsToBroadcastToPeers.append(hostDetails)