@ -892,7 +892,7 @@ class receiveDataThread(QThread):
payload+=eString
nonce=0
trialValue=99999999999999999
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.
print'(For pubkey message) Doing proof of work...'
print'(For broadcast message) Doing proof of work...'
whiletrialValue>target:
@ -1882,19 +1882,19 @@ class singleWorker(QThread):
outfile.close()
nonce=0
trialValue=99999999999999999
trialValue=99999999999999999999
embeddedTime=pack('>I',(int(time.time())))
encodedStreamNumber=encodeVarint(toStreamNumber)
#We are now dropping the unencrypted data in payload since it has already been encrypted and replacing it with the encrypted payload that we will send out.