Multi-core POW #180

Merged
Atheros1 merged 9 commits from master into master 2013-06-03 05:46:12 +02:00
Showing only changes of commit 651cdd6357 - Show all commits

View File

@ -2750,7 +2750,6 @@ class singleWorker(threading.Thread):
initialHash = hashlib.sha512(payload).digest()
trialValue, nonce = proofofwork.run(target, initialHash)
print '(For pubkey message) Found proof of work', trialValue, 'Nonce:', nonce
trialValue, nonce = proofofwork.run(target, initialHash)
payload = pack('>Q',nonce) + payload
"""t = (hash,payload,embeddedTime,'no')
shared.sqlLock.acquire()