New POW calculation module #1284

Open
Kleshni wants to merge 38 commits from Kleshni/POW into v0.6
Showing only changes of commit 2eeb58a43e - Show all commits

View File

@ -18,9 +18,9 @@ import utils
codePath = os.path.dirname(__file__)
if hasattr(sys, "winver"):
dumbsolver.libcrypto = ctypes.WinDLL("libcrypto.dll")
dumbsolver.libcrypto = ctypes.WinDLL("libcrypto.dll")
else:
dumbsolver.libcrypto = ctypes.CDLL(ctypes.util.find_library("crypto"))
dumbsolver.libcrypto = ctypes.CDLL(ctypes.util.find_library("crypto"))
nonce = binascii.unhexlify("9ca6790a249679f8")
expiryTime = 1525845600