mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Make difficulty 128 bit instead of 64 bit
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
This commit is contained in:
parent
e4b049da05
commit
91f4c7f45f
30 changed files with 787 additions and 62 deletions
22
tests/difficulty/wide_difficulty.py
Executable file
22
tests/difficulty/wide_difficulty.py
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
python = sys.argv[1]
|
||||
py = sys.argv[2]
|
||||
c = sys.argv[3]
|
||||
data = sys.argv[4]
|
||||
|
||||
first = python + " " + py + " > " + data
|
||||
second = [c, '--wide', data]
|
||||
|
||||
try:
|
||||
print('running: ', first)
|
||||
subprocess.check_call(first, shell=True)
|
||||
print('running: ', second)
|
||||
subprocess.check_call(second)
|
||||
except:
|
||||
sys.exit(1)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue