New POW calculation module #1284

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

View File

@ -383,8 +383,14 @@ def main():
# See "workprover/Readme.md"
import pyelliptic.openssl
import os
import sys
app_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(app_dir)
sys.path.insert(0, app_dir)
import pyelliptic.openssl
import workprover.dumbsolver
workprover.dumbsolver.libcrypto = pyelliptic.openssl.OpenSSL._lib
@ -394,14 +400,6 @@ if __name__ == "__main__":
multiprocessing.freeze_support()
import os
import sys
app_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(app_dir)
sys.path.insert(0, app_dir)
import depends
depends.check_dependencies()