print'removed self (a receiveDataThread) from ConnectionList'
print'removed self (a receiveDataThread) from selfInitiatedConnections'
printLock.release()
except:
pass
@ -449,6 +450,7 @@ class receiveDataThread(QThread):
printLock.acquire()
print'We are connected to too many people. Closing connection.'
printLock.release()
self.sock.shutdown(socket.SHUT_RDWR)
self.sock.close()
return
self.sendBigInv()
@ -1682,11 +1684,11 @@ class receiveDataThread(QThread):
ifPORT!=recaddrPort:
print'Strange occurance: The port specified in an addr message',str(recaddrPort),'does not match the port',str(PORT),'that this program (or some other peer) used to connect to it',str(hostFromAddrMessage),'. Perhaps they changed their port or are using a strange NAT configuration.'
ifneedToWriteKnownNodesToDisk:#Runs if any nodes were new to us. Also, share those nodes with our peers.
print'knownNodes currently has',len(knownNodes[self.streamNumber]),'nodes for this stream.'
@ -1773,11 +1775,11 @@ class receiveDataThread(QThread):
ifPORT!=recaddrPort:
print'Strange occurance: The port specified in an addr message',str(recaddrPort),'does not match the port',str(PORT),'that this program (or some other peer) used to connect to it',str(hostFromAddrMessage),'. Perhaps they changed their port or are using a strange NAT configuration.'
ifneedToWriteKnownNodesToDisk:#Runs if any nodes were new to us. Also, share those nodes with our peers.