work on converting communicator to multithreads
This commit is contained in:
parent
1a02124122
commit
26fd456702
2 changed files with 54 additions and 8 deletions
|
@ -33,6 +33,7 @@ class POW:
|
|||
blockCheck = 300000 # How often the hasher should check if the bitcoin block is updated (slows hashing but prevents less wasted work)
|
||||
blockCheckCount = 0
|
||||
block = '' #self.bitcoinNode.getBlockHash(self.bitcoinNode.getLastBlockHeight())
|
||||
print('thread started')
|
||||
while self.hashing:
|
||||
'''
|
||||
if blockCheckCount == blockCheck:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue