From b984f1931f66337270d82a70fbc59daa7b389d99 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Fri, 23 Nov 2012 03:22:56 -0500 Subject: [PATCH] Fixed POW, changed checksum, other minor changes --- bitmessagemain.py | 246 ++++++++++++++++++++++++------------------- defaultKnownNodes.py | 2 +- rsa/__init__.pyc | Bin 1226 -> 0 bytes rsa/_compat.pyc | Bin 3873 -> 0 bytes rsa/bigfile.pyc | Bin 2864 -> 0 bytes rsa/common.pyc | Bin 4327 -> 0 bytes rsa/core.pyc | Bin 1547 -> 0 bytes rsa/key.pyc | Bin 17872 -> 0 bytes rsa/pem.pyc | Bin 2808 -> 0 bytes rsa/pkcs1.pyc | Bin 12044 -> 0 bytes rsa/prime.pyc | Bin 3817 -> 0 bytes rsa/randnum.pyc | Bin 1830 -> 0 bytes rsa/transform.pyc | Bin 5885 -> 0 bytes rsa/varblock.pyc | Bin 3860 -> 0 bytes 14 files changed, 141 insertions(+), 107 deletions(-) delete mode 100644 rsa/__init__.pyc delete mode 100644 rsa/_compat.pyc delete mode 100644 rsa/bigfile.pyc delete mode 100644 rsa/common.pyc delete mode 100644 rsa/core.pyc delete mode 100644 rsa/key.pyc delete mode 100644 rsa/pem.pyc delete mode 100644 rsa/pkcs1.pyc delete mode 100644 rsa/prime.pyc delete mode 100644 rsa/randnum.pyc delete mode 100644 rsa/transform.pyc delete mode 100644 rsa/varblock.pyc diff --git a/bitmessagemain.py b/bitmessagemain.py index 56d4db12..dcd9792f 100644 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -123,8 +123,6 @@ class singleListener(QThread): while True: #for i in range(0,1): #uncomment this line and comment the line above this to accept only one connection. - - rd = receiveDataThread() a,(HOST,PORT) = sock.accept() while HOST in connectedHostsList: @@ -136,7 +134,6 @@ class singleListener(QThread): print self, 'connected to', HOST,'during INCOMING request.' rd.start() - sd = sendDataThread() sd.setup(a,HOST,PORT,-1) sd.start() @@ -181,13 +178,13 @@ class receiveDataThread(QThread): break except Exception, err: printLock.acquire() - print 'Error receiving data. Closing receiveData thread.' + print 'sock.recv error. Closing receiveData thread.' printLock.release() break #print 'Received', repr(self.data) if self.data == "": printLock.acquire() - print 'Socket timeout.' + print 'Connection closed.' printLock.release() break else: @@ -240,7 +237,9 @@ class receiveDataThread(QThread): knownNodes[self.streamNumber][self.HOST] = (self.PORT,int(time.time())) remoteCommand = self.data[4:16] if verbose >= 2: + printLock.acquire() print 'remoteCommand ', remoteCommand, 'from', self.HOST + printLock.release() if remoteCommand == 'version\x00\x00\x00\x00\x00': self.recversion() elif remoteCommand == 'verack\x00\x00\x00\x00\x00\x00': @@ -286,37 +285,23 @@ class receiveDataThread(QThread): self.sendgetdata(objectHash) del self.objectsThatWeHaveYetToGet[objectHash] #It is possible that the remote node doesn't respond with the object. In that case, we'll very likely get it from someone else anyway. break - print 'within processData, length of objectsThatWeHaveYetToGet is now', len(self.objectsThatWeHaveYetToGet) - self.processData() - - - #if self.versionSent == 0: - # self.sendversion() - '''if (self.versionRec == 1) and (self.getaddrthreadalreadycreated == 0): - while (threading.activeCount() > maxGlobalThreads):#If there too many open threads, just wait. This includes full and half-open. - time.sleep(0.1) printLock.acquire() - print 'Starting a new getaddrSender thread' + print 'within processData, length of objectsThatWeHaveYetToGet is now', len(self.objectsThatWeHaveYetToGet) printLock.release() - bar = getaddrSender((self.sock,self.addr)) - bar.daemon = True - self.getaddrthreadalreadycreated = 1 #we're about to start it - while True: #My goal is to try bar.start() until it succeedes - while (threading.activeCount() > maxGlobalThreads):#If there too many open threads, just wait. This includes full and half-open. - time.sleep(0.1) - try: - bar.start() - except: - maxGlobalThreads = maxGlobalThreads - 20 - sys.stderr.write('Problem! Your OS did not allow the starting of another thread. Reducing the number of threads to %s and trying again.\n' % maxGlobalThreads) - continue #..the while loop again right now - break ''' + self.processData() else: - print 'Checksum incorrect. Clearing messages and waiting for new data.' - self.data = '' + print 'Checksum incorrect. Clearing this message.' + self.data = self.data[self.payloadLength+24:] + + def isProofOfWorkSufficient(self): + POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(self.data[24:32]+ hashlib.sha512(self.data[32:24+self.payloadLength]).digest()).digest()).digest()[0:8]) + print 'POW:', POW + #Notice that I have divided the averageProofOfWorkNonceTrialsPerByte by two. This makes the POW requirement easier. This gives us wiggle-room: if we decide that we want to make the POW easier, the change won't obsolete old clients because they already expect a lower POW. If we decide that the current work done by clients feels approperate then we can remove this division by 2 and make the requirement match what is actually done by a sending node. If we want to raise the POW requirement then old nodes will HAVE to upgrade no matter what. + return POW < 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * (averageProofOfWorkNonceTrialsPerByte/2)) + def sendpong(self): print 'Sending pong' - self.sock.sendall('\xE9\xBE\xB4\xD9\x70\x6F\x6E\x67\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x82\x6D\xf0\x68') + self.sock.sendall('\xE9\xBE\xB4\xD9\x70\x6F\x6E\x67\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x83\xe1\x35') def recverack(self): print 'verack received' @@ -334,11 +319,13 @@ class receiveDataThread(QThread): connectionsCount[self.streamNumber] += 1 self.emit(SIGNAL("updateNetworkStatusTab(PyQt_PyObject,PyQt_PyObject)"),self.streamNumber,connectionsCount[self.streamNumber]) connectionsCountLock.release() - self.sendaddr() remoteNodeIncomingPort, remoteNodeSeenTime = knownNodes[self.streamNumber][self.HOST] - print 'within connectionFullyEstablished, self.HOST and remoteNodeIncomingPort:', self.HOST, remoteNodeIncomingPort + printLock.acquire() + print 'Connection fully established with', self.HOST, remoteNodeIncomingPort print 'broadcasting addr from within connectionFullyEstablished function.' - self.broadcastaddr([(int(time.time()), self.streamNumber, 1, self.HOST, remoteNodeIncomingPort)]) + printLock.release() + self.broadcastaddr([(int(time.time()), self.streamNumber, 1, self.HOST, remoteNodeIncomingPort)]) #This lets all of our peers know about this new node. + self.sendaddr() #This is one addr message to this one peer. if connectionsCount[self.streamNumber] > 150: print 'We are connected to too many people. Closing connection.' self.sock.close() @@ -374,27 +361,31 @@ class receiveDataThread(QThread): payload += hash numberOfObjectsInInvMessage += 1 if numberOfObjectsInInvMessage >= 50000: #We can only send a max of 50000 items per inv message but we may have more objects to advertise. They must be split up into multiple inv messages. - sendinvMessageToJustThisOnePeer(numberOfObjectsInInvMessage,payload,) + sendinvMessageToJustThisOnePeer(numberOfObjectsInInvMessage,payload) payload = '' numberOfObjectsInInvMessage = 0 if numberOfObjectsInInvMessage > 0: - self.sendinvMessageToJustThisOnePeer(numberOfObjectsInInvMessage,payload,) + self.sendinvMessageToJustThisOnePeer(numberOfObjectsInInvMessage,payload) - #Notice that there is also a broadcastinv function for broadcasting invs to everyone in our stream. - def sendinvMessageToJustThisOnePeer(self,numberOfObjects,payload,destination): + #Self explanatory. Notice that there is also a broadcastinv function for broadcasting invs to everyone in our stream. + def sendinvMessageToJustThisOnePeer(self,numberOfObjects,payload): payload = encodeVarint(numberOfObjects) + payload headerData = '\xe9\xbe\xb4\xd9' #magic bits, slighly different from Bitcoin's magic bits. headerData = headerData + 'inv\x00\x00\x00\x00\x00\x00\x00\x00\x00' headerData = headerData + pack('>L',len(payload)) headerData = headerData + hashlib.sha512(payload).digest()[:4] + print 'Sending inv message to just this one peer' self.sock.send(headerData + payload) #We have received a broadcast message def recbroadcast(self): #First we must check to make sure the proof of work is sufficient. - POW, = unpack('>Q',hashlib.sha512(self.data[24:24+self.payloadLength]).digest()[4:12]) - if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): - print 'The proof of work in this broadcast message is insufficient. Ignoring message.' + #POW, = unpack('>Q',hashlib.sha512(self.data[24:24+self.payloadLength]).digest()[4:12]) + #if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): + # print 'The proof of work in this broadcast message is insufficient. Ignoring message.' + # return + if not self.isProofOfWorkSufficient(): + print 'Proof of work in broadcast message insufficient.' return embeddedTime, = unpack('>I',self.data[32:36]) if embeddedTime > (int(time.time())+10800): #prevent funny business @@ -510,13 +501,16 @@ class receiveDataThread(QThread): #We have received a msg message. def recmsg(self): #First we must check to make sure the proof of work is sufficient. - POW, = unpack('>Q',hashlib.sha512(self.data[24:24+self.payloadLength]).digest()[4:12]) - print 'POW:', POW - initialDecryptionSuccessful = False - if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): + #POW, = unpack('>Q',hashlib.sha512(self.data[24:24+self.payloadLength]).digest()[4:12]) + #print 'POW:', POW + + #if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): + # print 'Proof of work in msg message insufficient.' + # return + if not self.isProofOfWorkSufficient(): print 'Proof of work in msg message insufficient.' return - + initialDecryptionSuccessful = False readPosition = 32 embeddedTime, = unpack('>I',self.data[readPosition:readPosition+4]) if embeddedTime > int(time.time())+10800: @@ -547,7 +541,7 @@ class receiveDataThread(QThread): #Let's check whether this is a message acknowledgement bound for us. if self.data[readPosition:24+self.payloadLength] in ackdataForWhichImWatching: printLock.acquire() - print 'This msg is an acknowledgement bound for me.' + print 'This msg IS an acknowledgement bound for me.' printLock.release() del ackdataForWhichImWatching[self.data[readPosition:24+self.payloadLength]] t = ('ackreceived',self.data[readPosition:24+self.payloadLength]) @@ -561,8 +555,8 @@ class receiveDataThread(QThread): return else: printLock.acquire() - print 'This was NOT an acknowledgement bound for me. Msg potential ack data:', repr(self.data[readPosition:24+self.payloadLength]) - print 'ackdataForWhichImWatching', ackdataForWhichImWatching + print 'This was NOT an acknowledgement bound for me.' #Msg potential ack data:', repr(self.data[readPosition:24+self.payloadLength]) + #print 'ackdataForWhichImWatching', ackdataForWhichImWatching printLock.release() #This is not an acknowledgement bound for me. See if it is a message bound for me by trying to decrypt it with my private keys. @@ -723,37 +717,52 @@ class receiveDataThread(QThread): sqlLock.release() self.emit(SIGNAL("displayNewMessage(PyQt_PyObject,PyQt_PyObject,PyQt_PyObject,PyQt_PyObject,PyQt_PyObject)"),inventoryHash,toAddress,fromAddress,subject,body) #Now let's send the acknowledgement - POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(ackData[24:]).digest()).digest()[4:12]) - if POW <= 2**64 / ((len(ackData[24:])+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): - print 'The POW is strong enough that this ackdataPayload will be accepted by the Bitmessage network.' + #POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(ackData[24:]).digest()).digest()[4:12]) + #if POW <= 2**64 / ((len(ackData[24:])+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): + #print 'The POW is strong enough that this ackdataPayload will be accepted by the Bitmessage network.' #Currently PyBitmessage only supports sending a message with the acknowledgement in the form of a msg message. But future versions, and other clients, could send any object and this software will relay them. This can be used to relay identifying information, like your public key, through another Bitmessage host in case you believe that your Internet connection is being individually watched. You may pick a random address, hope its owner is online, and send a message with encoding type 0 so that they ignore the message but send your acknowledgement data over the network. If you send and receive many messages, it would also be clever to take someone else's acknowledgement data and use it for your own. Assuming that your message is delivered successfully, both will be acknowledged simultaneously (though if it is not delivered successfully, you will be in a pickle.) #print 'self.data before:', repr(self.data) + #We'll need to make sure that our client will properly process the ackData; if the packet is malformed, we could clear out self.data and an attacker could use that behavior to determine that we were capable of decoding this message. + ackDataValidThusFar = True + if len(ackData) < 24: + print 'The length of Ackdata is unreasonably short. Not sending ackData.' + ackDataValidThusFar = False + if ackData[0:4] != '\xe9\xbe\xb4\xd9': + print 'Ackdata magic bytes were wrong. Not sending ackData.' + ackDataValidThusFar = False + if ackDataValidThusFar: + ackDataPayloadLength, = unpack('>L',ackData[16:20]) + if len(ackData)-24 != ackDataPayloadLength: + print 'ackData payload length doesn\'t match the payload length specified in the header. Not sending ackdata.' + ackDataValidThusFar = False + if ackDataValidThusFar: + print 'ackData is valid. Will process it.' self.data = self.data[:self.payloadLength+24] + ackData + self.data[self.payloadLength+24:] #print 'self.data after:', repr(self.data) - '''if ackData[4:16] == 'msg\x00\x00\x00\x00\x00\x00\x00\x00\x00': - inventoryHash = calculateInventoryHash(ackData[24:]) - #objectType = 'msg' - #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. - #print 'sending the inv for the msg which is actually an acknowledgement (within sendmsg function)' - #self.broadcastinv(inventoryHash) - self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:] - elif ackData[4:16] == 'getpubkey\x00\x00\x00': - #objectType = 'getpubkey' - #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. - #print 'sending the inv for the getpubkey which is actually an acknowledgement (within sendmsg function)' - self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:] - elif ackData[4:16] == 'pubkey\x00\x00\x00\x00\x00\x00': - #objectType = 'pubkey' - #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. - #print 'sending the inv for a pubkey which is actually an acknowledgement (within sendmsg function)' - self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:] - elif ackData[4:16] == 'broadcast\x00\x00\x00': - #objectType = 'broadcast' - #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. - #print 'sending the inv for a broadcast which is actually an acknowledgement (within sendmsg function)' - self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:]''' - else: - print 'ACK POW not strong enough to be accepted by the Bitmessage network.' + '''if ackData[4:16] == 'msg\x00\x00\x00\x00\x00\x00\x00\x00\x00': + inventoryHash = calculateInventoryHash(ackData[24:]) + #objectType = 'msg' + #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. + #print 'sending the inv for the msg which is actually an acknowledgement (within sendmsg function)' + #self.broadcastinv(inventoryHash) + self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:] + elif ackData[4:16] == 'getpubkey\x00\x00\x00': + #objectType = 'getpubkey' + #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. + #print 'sending the inv for the getpubkey which is actually an acknowledgement (within sendmsg function)' + self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:] + elif ackData[4:16] == 'pubkey\x00\x00\x00\x00\x00\x00': + #objectType = 'pubkey' + #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. + #print 'sending the inv for a pubkey which is actually an acknowledgement (within sendmsg function)' + self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:] + elif ackData[4:16] == 'broadcast\x00\x00\x00': + #objectType = 'broadcast' + #inventory[inventoryHash] = (objectType, self.streamNumber, ackData[24:], embeddedTime) #We should probably be storing the embeddedTime of the ackData, not the embeddedTime of the original incoming msg message, but this is probably close enough. + #print 'sending the inv for a broadcast which is actually an acknowledgement (within sendmsg function)' + self.data[:payloadLength+24] + ackData + self.data[payloadLength+24:]''' + #else: + #print 'ACK POW not strong enough to be accepted by the Bitmessage network.' else: print 'This program cannot decode messages from addresses with versions higher than 1. Ignoring.' @@ -776,16 +785,22 @@ class receiveDataThread(QThread): if inventoryHash in inventory: print 'We have already received this pubkey. Ignoring it.' return + elif isInSqlInventory(inventoryHash): + print 'We have already received this pubkey (it is stored on disk in the SQL inventory). Ignoring it.' + return #We must check to make sure the proof of work is sufficient. - POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(self.data[24:24+self.payloadLength]).digest()).digest()[4:12]) - print 'POW:', POW - if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): - printLock.acquire() - print 'The Proof of Work in the pubkey message is insufficient. Ignoring it.' - print 'pubkey payload length:', len(self.data[24:self.payloadLength+24]) - print repr(self.data[24:self.payloadLength+24]) - printLock.release() + #POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(self.data[24:24+self.payloadLength]).digest()).digest()[4:12]) + #print 'POW:', POW + #if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): + # printLock.acquire() + # print 'The Proof of Work in the pubkey message is insufficient. Ignoring it.' + # print 'pubkey payload length:', len(self.data[24:self.payloadLength+24]) + # print repr(self.data[24:self.payloadLength+24]) + # printLock.release() + # return + if not self.isProofOfWorkSufficient(): + print 'Proof of work in pubkey message insufficient.' return objectType = 'pubkey' @@ -844,10 +859,13 @@ class receiveDataThread(QThread): objectType = 'pubkeyrequest' inventory[inventoryHash] = (objectType, self.streamNumber, self.data[24:self.payloadLength+24], int(time.time())) #First we must check to make sure the proof of work is sufficient. - POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(self.data[24:24+self.payloadLength]).digest()).digest()[4:12]) - print 'POW:', POW - if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): - print 'POW value in getpubkey message is insufficient. Ignoring it.' + #POW, = unpack('>Q',hashlib.sha512(hashlib.sha512(self.data[24:24+self.payloadLength]).digest()).digest()[4:12]) + #print 'POW:', POW + #if POW > 2**64 / ((self.payloadLength+payloadLengthExtraBytes) * averageProofOfWorkNonceTrialsPerByte): + # print 'POW value in getpubkey message is insufficient. Ignoring it.' + # return + if not self.isProofOfWorkSufficient(): + print 'Proof of work in getpubkey message insufficient.' return #Now let us make sure that the getpubkey request isn't too old or with a fake (future) time. embeddedTime, = unpack('>I',self.data[32:36]) @@ -889,11 +907,13 @@ class receiveDataThread(QThread): nonce = 0 trialValue = 99999999999999999999 - target = 2**64 / ((len(payload)+payloadLengthExtraBytes+8) * averageProofOfWorkNonceTrialsPerByte) #The 108 added to the payload length is 8 for the size of the nonce + 50 as an extra penalty simply for having this seperate message exist. + target = 2**64 / ((len(payload)+payloadLengthExtraBytes+8) * averageProofOfWorkNonceTrialsPerByte) print '(For pubkey message) Doing proof of work...' + initialHash = hashlib.sha512(payload).digest() while trialValue > target: nonce += 1 - trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + payload).digest()).digest()[4:12]) + trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + initialHash).digest()).digest()[0:8]) + #trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + payload).digest()).digest()[4:12]) print '(For pubkey message) Found proof of work', trialValue, 'Nonce:', nonce payload = pack('>Q',nonce) + payload @@ -1340,7 +1360,8 @@ class receiveDataThread(QThread): #Sends a verack message def sendverack(self): print 'Sending verack' - self.sock.sendall('\xE9\xBE\xB4\xD9\x76\x65\x72\x61\x63\x6B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x82\x6D\xf0\x68') + self.sock.sendall('\xE9\xBE\xB4\xD9\x76\x65\x72\x61\x63\x6B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x83\xe1\x35') + #cf 83 e1 35 self.verackSent = True if self.verackReceived == True: self.connectionFullyEstablished() @@ -1406,14 +1427,14 @@ class sendDataThread(QThread): while True: deststream,command,data = self.mailbox.get() printLock.acquire() - print 'within a sendDataThread, destream:', deststream,', Command:', command, self + print 'sendDataThread, destream:', deststream, ', Command:', command, ', ID:',id(self), ', HOST:', self.HOST printLock.release() if deststream == self.streamNumber or deststream == 0: if command == 'shutdown': if data == self.HOST or data == 'all': printLock.acquire() - print 'sendDataThread thread (associated with', self.HOST,')', self, 'shutting down now.' + print 'sendDataThread thread (associated with', self.HOST,') ID:',id(self), 'shutting down now.' self.sock.close() sendDataQueues.remove(self.mailbox) print 'len of sendDataQueues', len(sendDataQueues) @@ -1423,7 +1444,7 @@ class sendDataThread(QThread): hostInMessage, specifiedStreamNumber = data if hostInMessage == self.HOST: printLock.acquire() - print 'setting the stream number in the sendData thread to', specifiedStreamNumber, self + print 'setting the stream number in the sendData thread (ID:',id(self), ') to', specifiedStreamNumber printLock.release() self.streamNumber = specifiedStreamNumber elif command == 'send': @@ -1444,7 +1465,7 @@ class sendDataThread(QThread): #Send out a pong message to keep the connection alive. print 'Sending pong to', self.HOST, 'to keep connection alive.' try: - self.sock.sendall('\xE9\xBE\xB4\xD9\x70\x6F\x6E\x67\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x82\x6D\xf0\x68') + self.sock.sendall('\xE9\xBE\xB4\xD9\x70\x6F\x6E\x67\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x83\xe1\x35') self.lastTimeISentData = int(time.time()) except: print 'self.sock.send pong failed' @@ -1753,9 +1774,10 @@ class singleWorker(QThread): trialValue = 99999999999999999999 target = 2**64 / ((len(payload)+payloadLengthExtraBytes+8) * averageProofOfWorkNonceTrialsPerByte) print '(For broadcast message) Doing proof of work...' + initialHash = hashlib.sha512(payload).digest() while trialValue > target: nonce += 1 - trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + payload).digest()).digest()[4:12]) + trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + initialHash).digest()).digest()[0:8]) print '(For broadcast message) Found proof of work', trialValue, 'Nonce:', nonce payload = pack('>Q',nonce) + payload @@ -1873,9 +1895,10 @@ class singleWorker(QThread): target = 2**64 / ((len(payload)+payloadLengthExtraBytes+8) * averageProofOfWorkNonceTrialsPerByte) print '(For msg message) Doing proof of work. Target:', target powStartTime = time.time() + initialHash = hashlib.sha512(payload).digest() while trialValue > target: nonce += 1 - trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + payload).digest()).digest()[4:12]) + trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + initialHash).digest()).digest()[0:8]) print '(For msg message) Found proof of work', trialValue, 'Nonce:', nonce print 'POW took', int(time.time()-powStartTime), 'seconds.', nonce/(time.time()-powStartTime), 'nonce trials per second.' payload = pack('>Q',nonce) + payload @@ -1921,9 +1944,10 @@ class singleWorker(QThread): self.emit(SIGNAL("updateSentItemStatusByHash(PyQt_PyObject,PyQt_PyObject)"),ripe,'Doing work necessary to request public key.') print 'Doing proof-of-work necessary to send getpubkey message.' target = 2**64 / ((len(payload)+payloadLengthExtraBytes+8) * averageProofOfWorkNonceTrialsPerByte) + initialHash = hashlib.sha512(payload).digest() while trialValue > target: nonce += 1 - trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + payload).digest()).digest()[4:12]) + trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + initialHash).digest()).digest()[0:8]) print 'Found proof of work', trialValue, 'Nonce:', nonce payload = pack('>Q',nonce) + payload @@ -1950,11 +1974,18 @@ class singleWorker(QThread): encodedStreamNumber = encodeVarint(toStreamNumber) payload = embeddedTime + encodedStreamNumber + ackdata target = 2**64 / ((len(payload)+payloadLengthExtraBytes+8) * averageProofOfWorkNonceTrialsPerByte) + printLock.acquire() print '(For ack message) Doing proof of work...' + printLock.release() + powStartTime = time.time() + initialHash = hashlib.sha512(payload).digest() while trialValue > target: nonce += 1 - trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + payload).digest()).digest()[4:12]) + trialValue, = unpack('>Q',hashlib.sha512(hashlib.sha512(pack('>Q',nonce) + initialHash).digest()).digest()[0:8]) + printLock.acquire() print '(For ack message) Found proof of work', trialValue, 'Nonce:', nonce + print 'POW took', int(time.time()-powStartTime), 'seconds.', nonce/(time.time()-powStartTime), 'nonce trials per second.' + printLock.release() payload = pack('>Q',nonce) + payload headerData = '\xe9\xbe\xb4\xd9' #magic bits, slighly different from Bitcoin's magic bits. headerData = headerData + 'msg\x00\x00\x00\x00\x00\x00\x00\x00\x00' @@ -2508,7 +2539,7 @@ class MyForm(QtGui.QMainWindow): def updateNetworkStatusTab(self,streamNumber,connectionCount): global statusIconColor - print 'updating network status tab' + #print 'updating network status tab' totalNumberOfConnectionsFromAllStreams = 0 #One would think we could use len(sendDataQueues) for this, but sendData threads don't remove themselves from sendDataQueues fast enough for len(sendDataQueues) to be accurate here. for currentRow in range(self.ui.tableWidgetConnectionCount.rowCount()): rowStreamNumber = int(self.ui.tableWidgetConnectionCount.item(currentRow,0).text()) @@ -2523,7 +2554,7 @@ class MyForm(QtGui.QMainWindow): def setStatusIcon(self,color): global statusIconColor - print 'setting status icon color' + #print 'setting status icon color' if color == 'red': self.ui.pushButtonStatusIcon.setIcon(QIcon(":/newPrefix/images/redicon.png")) statusIconColor = 'red' @@ -2653,7 +2684,6 @@ class MyForm(QtGui.QMainWindow): random.seed() ackdata += pack('>Q',random.randrange(1, 18446744073709551615)) ackdataForWhichImWatching[ackdata] = 0 - print 'ackdataForWhichImWatching within pushButtonSend', repr(ackdataForWhichImWatching) sqlLock.acquire() t = ('',toAddress,ripe,fromAddress,subject,message,ackdata,int(time.time()),'findingpubkey',1,1,'sent') sqlSubmitQueue.put('''INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?)''') @@ -3391,9 +3421,9 @@ eightBytesOfRandomDataUsedToDetectConnectionsToSelf = pack('>Q',random.randrange connectedHostsList = {} #List of hosts to which we are connected. Used to guarantee that the outgoingSynSender thread won't connect to the same remote node twice. neededPubkeys = {} -#These constants are not at the top because if changed they will cause particularly unexpected behavior -averageProofOfWorkNonceTrialsPerByte = 2 #The amount of work that should be performed (and demanded) per byte of the payload. Double this number to double the work. -payloadLengthExtraBytes = 1 #To make sending short messages a little more difficult, this value is added to the payload length for use in calculating the proof of work target. +#These constants are not at the top because if changed they will cause particularly unexpected behavior: You won't be able to either send or receive messages because the proof of work you do (or demand) won't match that done or demanded by others. Don't change them! +averageProofOfWorkNonceTrialsPerByte = 320 #The amount of work that should be performed (and demanded) per byte of the payload. Double this number to double the work. +payloadLengthExtraBytes = 14000 #To make sending short messages a little more difficult, this value is added to the payload length for use in calculating the proof of work target. if __name__ == "__main__": major, minor, revision = sqlite3.sqlite_version_info @@ -3471,4 +3501,8 @@ if __name__ == "__main__": if 'win' in sys.platform: myapp.setWindowFlags(Qt.ToolTip) - sys.exit(app.exec_()) \ No newline at end of file + sys.exit(app.exec_()) + +# So far, the Bitmessage protocol, this client, the Wiki, and the forums +# are all a one-man operation. Bitcoin tips are quite appreciated! +# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u \ No newline at end of file diff --git a/defaultKnownNodes.py b/defaultKnownNodes.py index fe804818..1ab30397 100644 --- a/defaultKnownNodes.py +++ b/defaultKnownNodes.py @@ -67,7 +67,7 @@ if __name__ == "__main__": appdata = path.expanduser(path.join("~", "." + APPNAME + "/")) - #print 'New list of all known nodes:', createDefaultKnownNodes(appdata) + print 'New list of all known nodes:', createDefaultKnownNodes(appdata) readDefaultKnownNodes(appdata) diff --git a/rsa/__init__.pyc b/rsa/__init__.pyc deleted file mode 100644 index 756984fd83942e45122f91a2250a56eeeb71bfd2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1226 zcmZuw&2Aev5T2E7*beTY0jGF&N6P;>>&a=0_!_stBs^aZh_nexdVC|%np=0VERz@!R$i03t9Ts2fYVoAIg0&Ig~k=11Jx`44@o< z8A3S(a|q=jWcUE&F5LFO|J9-Hfj)xr2=EC0IEFs~GD`yXLFOP2Kn_3-K^}snv?Gwm zupp8Xkb7`7I!UVk&H#$5Q)ZlOH0Jqv_hxhFStWGUXc3iNFfIH7S?!g*hwQsskm0m59i0u?>?v z|LwH6IJ@}i1&d1+m@>6SgEn?pOge(GF0v*d^F-wgtA&(AJZ6DOSh?wbkPq0so_a-03DFHg9azakIIn8j{xQYahg^-4%?WH_+>XF@<#p7(VOXanVadyZTgs| zA5&B}`ZhkG<(vD{@uT<7$79<2^{bPy-rb{J&W%u(^NWHUD3Z1!p%zJWkzk8nGIVaC zNTQ3BHF`*_$bpc|k1j>t*oOjKs}2S5`&NCw1G2_?@>0{9%O@T*gMHS E0gJOptpET3 diff --git a/rsa/_compat.pyc b/rsa/_compat.pyc deleted file mode 100644 index c0d859bdd71a138b8c9c62fb5c6f6f249a4b252a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3873 zcmcIn{can_5uf8xAEYUZb`mGHn`9dltqj;g<1e&o&|0iUtgdP;QnUrL`5xvB!EhRtKFU1ov+`_4#R)1w0}AM z=i`{_&jSA6yGP{y8W1H!eT)Gm4ax$VG^pR8fY%{qA@xI{H7RS-WP$n%6wFr0g!FWg z`b+e=y+Td1OoweM{!Bp-Fr~#58_*ZYo78Vpa*6uqD0zqa9WqN~+H}~U;w2^ETOoT@ zHqXiCx0JMHbFrq*x@68%f0ay^`WGPXU5L9V;{GAx-Vh?>To8%o4Kk~AxJ<>rC^<*3 zVBA||TaZ;fGMoMd5ij&Y1Srlh5A>){PtY>mM}y5 z)r#{nB`fq2Cx1o;^Yb!)my%VH`yM4-nY>TQ1(_%|(5z5$kzPTQpR>Dn*DfP6?mY}o zW`3Mo73Y(w_URzaQa@8ig`Q4L;nq`d&>DhAeiefrxI8PpiPFh5FZ@nLX@WA<@nOn* z=^uD_p9emX-s3@Gh?&aY2EGsOLHr6P&xxK2C}7d<8k2VXBE}5L*bl4wd2MW*C#G8S zC2kD^$>3PxgN^;o&HL()xz&EG?S5s}{vh=eC; z!G2Td?6+7uR)>PQ;w)DbXM>^muBfw9X~M)F6V6t#9;eVp_}0pJmP4M0xn3a_q8B?9 zB&Y_qmyKFM_jhc!6+RCQY@4LkICV5OeryVbL5(uy6SoG(&4T5rqA zjj1m5MCF608?xrx_HeX1|F84sVt&Z;J$8U+aMgN=$DN?R$5A)|JN}QPj|<=#*;W`e%S)y4 z-+VPSG0NMB#o%(edthQ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1dO#H01h7sv)-u!S#)IO0JP4a--SAZ=|%jafi3($Y)5J)S)kRzePdH(8Pt~=q~d` z48L(f9MZ9kdwO#0qp9*`mLtts6u*t;x_<6Qt0P1hMjco7iawv6(YZ o430fH7ISA+vp?V)RXZ192On^@RIOKQ)f?4o)r-}iEueb;FSoMjzyJUM diff --git a/rsa/core.pyc b/rsa/core.pyc deleted file mode 100644 index 4099997e88aa350e62e077e7a32243a569af2e82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1547 zcmb_cO>fgc5FI;7OG8U5B#_|3A{3fKTXErnTGS7EL8wJ;#i5F1x%MV8v3ITAO+%#i zLiwNk2z~&(S*K~aAyM1=yt^|yJNxF@jbAJ6*VWJClxA0m_b!@!3&@DhfB|J86#?XhwT@qafWY+lDCk}@W=n@an*O2-lJ%#Z*W?}5|@+12K z*s;P6^|;8yIZiQ8U_&VFM8|d;@QKjKEdfral{_>?8$XKUv`DOtV;|44>qTN5=cSTT zcJU?;b{oBecfGy6eeqE%Fq){|=cyZN)jQ8!DXmQg@^06fv}bJ6V?wv8siy#2N#mG? z=LlyPIDEJqG{cm4<~CYE#Jpw00qd8kgr#kVqg!JFY4e zOJ?>Jd`}_Nn@l>nm#)^L(AcxDjZizCyvr0uEr6%|OHzzy1z+LKE~M!fdQwY(8L#xD zmIzlP;)J6Ifcq@{L&Tdg#jN l>b#d>iBK{A^a<%{f diff --git a/rsa/key.pyc b/rsa/key.pyc deleted file mode 100644 index 55ccd3a55c19906834acca44580ccccf8d682298..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17872 zcmc&++jA91dha<$I=Uc`xQUyc9b;o15pj$p5Fi^CA!M7y$asW}t;IQv&KXIA&Y5#G zJwnKVO6}rob}M;GRbI0%smeiMQGUw41~-TG^a|GB^S-S+Q4t*Q8@6MwJc(Lb}4sw*{*)Kc|=YFKI>8T=MiqoA5a zHD6R#{H;UHcP8aZxqKJ%o~0gjE3ZdAM-#oO-l4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{sRGiL)P- zBj0UE)kKFiDg&Jb4m@(oTydh$rA!`bSi5lb24C5*(_|v-ej83NKBzKE?9B zK@228TtJ8vX7|j;aYO575jR7`_4YMDa<*cw=gS@2Y%QENK07TY_nD;f*Q}Wg znmAUgAguUWFfIjiEV8~KZ4JrQV39?F8$ZHTA(OS}`VGi=Ek$GoB6=7>uL~_Vtn-pU z7_POWY+WU{Cw9sQ<}&j&F08(Qq=c0nz=MB<{=(qs;GYcs_UN6SV|@et?{U@ppk^LM RBnfP}!fERW6waQ){{n(aHe>(* diff --git a/rsa/pem.pyc b/rsa/pem.pyc deleted file mode 100644 index 69728a589b5b9faa7c34601e6966130abd3944f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2808 zcmds3&2Ah;5U!coUB`|C*cQnJC7p=im52?8C_*NR;v`NKevCDaf-pv_-kG*N>)Dyj zbZ;D^^#voIf>Vw>00*9eH{ik>a7OS|^{l-~IDnKBqn+BS>h9|5`uV1#KhDj(H~8&~ zgz6{6|82bX0Z2-;1sYHqQXbG282lp2L+VGg6;Z!ITMY`*27QmIO-h@>v?y%}GsP=6 z+f!`tLy-H!B5_$+SmpM#Q+cUVrHfP@RGBksW9{=LQzT_-Qni!i#x7@n;aP99Q!W7M zx-+1e?Q{>Fu?egAZQ#9&*WLtiL?fc(fU1kk^u%e1M??iiLv{)J^H8x6jfEZdlr7m0 zKxP!4*tlUO&KhN%uADe);4oZOeO>LF%F0aJ#G0YoS^CJ%gInU~&f0^A>*}f%!M-(C zudUx3E87v2F`vM-KvKhJkHJw}lr!K4rr+^9wPk>b{TSr#%J%B&9ra0BXauv^-Z*r7 zWwG7OT;Eu$cg-Ygt7N;fdK=c32Zs{H+NwRz205(MoDJr~b3wx4X2nTZFTooQYrtXM z4(SNLh<1sN8l0D-CO!K}Vja>k(YTfDUp*HSk(hX1@4vyRMcKgtSZdLJi>hD7YZ}y>VkL$G znEZ0oAp5)QisVo3%I^Fr0}UEQlkUKDlh^mo5LSaZnj$w%y%`!!vAEgh1lnH_sLxQ; zR%s~_uHxkxsgTBa2-9 zCkFg%F6MupTX)C!^f(JzNePRNKC`t!Mux41Kwd?jBWOkE1 z^Ip}HuUxfPlsm{0BgnL3FJjtyDQSOoq8JoQ^%Mq?NlP*TJ%-jl3lekhIR=&cI=83; zaCVSqF3$>MWx%>B8_2+ED9}knkE)>u5djrF7+^0M=#{7|u2Y`@Hw)Hhfo&DLZEkwO zhH;g~3{a?Z4?}V+$6(H-$X3TA-Ya%ID>^)gVt2A9k2tmh?P~@w{(A6cmtoyr2cb9T z!&cA=7lPRc|IuvF3Km!+(mbR_1RBmkX8l6+_9@tLtnad=pFv&)J0!U$-wg(VsD>=? zIHU)iV_+gsBcxpqh_^U>__`qA9x?EdJdOa4?+PGdsz4;P7cK)#06h#+0w%$euK`kC z0R#nVdEs;~s8|p@W=Ilj+HCU~YzG*$sh^tvj6uL1|Mf-hc=Rf(zWzT$(D<@Zm;1kl zAd3*wOw6s6;ic?0NSm8M`Zj(8oOGApz;~B4PGttUPU`mLbXB_8^$n7nBIb^a&w)rQ z#(Zax7L4bZ1e5`EW6q4lf0B z!5r=k3!w)O28T{3Et5{iM}a-W#bddXl>LEra=DQkkB`&^49Ay1P8}BRwcK!S_RDmb Vn_C<_%Lv*EXM^+M^x5fKe*>tCm?8iG diff --git a/rsa/pkcs1.pyc b/rsa/pkcs1.pyc deleted file mode 100644 index b66943b154d54fe50a2cf246fa332b6d32a91a78..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12044 zcmds7&vO(>cFyXS8mWWMP z)uO5zNe*y0JR5WM(YLwy?g-xqE9>RU z%$NDT_am$PZ{yWZw*L8ETiKrj`1>_}lRr30`ARLLbd+CG9Y-yrV(KNeT#|ZOb;_zc zq?U)2!*@ffGpxE5wOmo%18Vtz>W--85!D@4%cIH(hgC47{9*MyNGs|p9}dXFhc04kh)^XtZdOc0I8lQc(y}e!c!6& z)v#^euX_tTwKt2yO+x}< zd%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6$UG!1*s;+oC&8|K3uLkg&3-g_e@;pG1PzJ!NyRf zEO7%!GM5fcmZ>o@lmtqQp$w(T)R-8`q;&+87~IHR$ZNz<$N;?%F$}Ib zB#ipr;gO&d5#k%(Q{8_1Cy?kutP&C*&~ZVY$nKsU0<9Q90OhN($(eY^j%vJlt}W^ChO zEt|dvF^wiQgRxP zk~rJ%sFvS{(>gY|=gQsHzeNWm#`e3bPVp97C{E!59O(bOl61cKt+@1tGaCPubz_00 z%$rHe&d;-yKfHHbeUfZX`>|$&fOaiZr@v2vWO~V zKjj{Y??NZmel9~>)og|gX3QNi&u)>i(I#eMVfMTA zrH2qR+#--6gDjsNa**WL815z@sSq_88Q4sTbuCQL^Rjc!5Ag(18k&x+F$Vksf#6$o zOW;c5ySV@^O=g5ak)I);#ljw`yt3IX5!l4STb#oK?(;9di-77r=23Thn52B%UwUUFyfA6@ zD6H0Y@u6w6nTWyaN8$(J+ctdiiSJP7W@l%27{2wRH0+3dMSLCp3r=9@gN0b+gmw*| zvZNt>CuV>avi?49B5Pt>nR$_f3zyyrS6u45*gs~Ho4mF3Qb_>e^y71;#519lq@LI! zDB+6a`PlWZ2>c}L-kfMXDhNBXD#FgJilEcI#lbj*8`xg*o8y+l%? z`XX9cLK7d&0_fzsIcc!+k|Tj{Y49BkF`$hbi&WlInD~591kUUlWS9tvNO`dTQhWPD zAme;#zE`})Zvc};6cv2JGFCd`oJ00$-2OX)de#0LFHg$9(fa7Q(KDk9qZdYJMo*7U Xj^Q3{%o#@C3B-dHXQ(uZ%+-GZraw9i diff --git a/rsa/prime.pyc b/rsa/prime.pyc deleted file mode 100644 index c012bcbd90914dde6a1d831b0a305095a107c4ad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3817 zcmb_f%WfRU6}{cV*9?abQ8d9gK~Rgt8rl?1GD4sTp&k((*@hzvLj?i|27{jI;;_h` z?qOAp$T6sm6+j4r{6#iFejvY)MOIm4kwv!I=L76>Z}m{a$lj4sUEZ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QLPbnvLj8owl=>+}yqZ$6L1l~jEzCFQHyquhyd}yO<(s0k+0$8fi!bOx zd^dBWU@Papt6Z^AVPaHK z-I!YOP0E|llTFLeTMV)cP?r%BM00yxR(W8AD<3xTGi!1H2(VP=8E-ZAd`O-wC!M@6 z@M6uEg>BX(f4L4ieDHR9t&5rAw37(`HMD1s2Tz}VtA41Q4ioJLFBV}^xd9xN#(RBX z-c@})8q{77*gHz2H(i7~>>UUXn;VDxf={vLcOhtVKiNw<(SEcWeH4#4VvdGWBPDSR zr6~!{Z1nF+KuMqykXI>~!za&CDp)y_D)f(Vw8^Yq=hV7jE`T^vhOE@p+?F~RB%?_$ zzigERfu3KIby)CJYFUtc06$&XQ~DxtI!?WG?!urXx( zCV{Pj0@yAEn+7@H1bF6WgbJ!JnK!q5f=+Z5QT>=+FgsxJO0bRT0OzinxipqXNJ3)* z!aan?Uk>TzEuH?v#hD4S8V%z=u+N18>R6q8rRFS3Jr~TR@J0Nj!3=!`)~IV!FTfDA znqW(#tW$n!Ms{pR%G)qQ7eZI+F*(<6lrsiIJ{3lZyHF_~s@mKax{Zp;Bl~a7tyeJU zK2Z1WsngHZ7wWjN8*3k67bY+mulk?3v+MFelw>*Y4M!RKjMoCE1!Xk!_E#gF?&o@D zGESnj8`)pqpD{C}a6)a3&zKMInR{HHOgmJ~2~__v1a0lbt*9M!@R!C1=}xp8ccq5e zdN|Ch(Que?NYYrqW(lp~fV2v)dqed1sSeU|8j5g?8T-EtLA3YMLm1W*biY|)p4^4* RnU$@y6CXr(;`V-f=O1htuD<{P diff --git a/rsa/transform.pyc b/rsa/transform.pyc deleted file mode 100644 index 22df6934528f1f81c8f5daec068a27d95fd63578..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5885 zcmb_gTW=f36+TN!v_w-EJMk^Oc#y&omD;TA_*S8C<;FIerj-LmsT)?sazzfMmG?sJ z%vw?)0Y#JN{*S%{=5jlAQxWT;M2oqBcBb=sey&xyPj$pxCxv-G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