-300,300)))# the current time plus or minus five minutes. We will use this time both for our message and for the ackdata packed within our message.
-300,300)))# the current time plus or minus five minutes.
iffromAddressVersionNumber==2:
payload='\x01'# Message version.
payload+=encodeVarint(fromAddressVersionNumber)
@ -726,7 +721,7 @@ class singleWorker(threading.Thread):
payload+=encodeVarint(len(messageToTransmit))
payload+=messageToTransmit
fullAckPayload=self.generateFullAckMessage(
ackdata,toStreamNumber, embeddedTime) # The fullAckPayload is a normal msg protocol message with the proof of work already completed that the receiver of this message can easily send out.
ackdata,toStreamNumber) # The fullAckPayload is a normal msg protocol message with the proof of work already completed that the receiver of this message can easily send out.
@ -795,7 +790,7 @@ class singleWorker(threading.Thread):
fullAckPayload=''
else:
fullAckPayload=self.generateFullAckMessage(
ackdata,toStreamNumber, embeddedTime) # The fullAckPayload is a normal msg protocol message with the proof of work already completed that the receiver of this message can easily send out.
ackdata,toStreamNumber) # The fullAckPayload is a normal msg protocol message with the proof of work already completed that the receiver of this message can easily send out.
@ -934,7 +929,9 @@ class singleWorker(threading.Thread):
shared.UISignalQueue.put(('updateSentItemStatusByHash',(ripe,tr.translateText("MainWindow",'Sending public key request. Waiting for reply. Requested at %1').arg(unicode(