Translation and other merge requests #224
|
@ -23,7 +23,7 @@ def _pool_worker(nonce, initialHash, target, pool_size):
|
||||||
return [trialValue, nonce]
|
return [trialValue, nonce]
|
||||||
|
|
||||||
def run(target, initialHash):
|
def run(target, initialHash):
|
||||||
from multiprocessing import Pool, cpu_count, Value
|
from multiprocessing import Pool, cpu_count
|
||||||
import time
|
import time
|
||||||
try:
|
try:
|
||||||
pool_size = cpu_count()
|
pool_size = cpu_count()
|
||||||
|
|
Reference in New Issue
Block a user