From 91f4c7f45f794fc7bee99356e56853369c98c410 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 31 Jan 2019 10:44:08 +0000 Subject: Make difficulty 128 bit instead of 64 bit Based on Boolberry work by: jahrsg cr.zoidberg --- tests/difficulty/wide_difficulty.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tests/difficulty/wide_difficulty.py (limited to 'tests/difficulty/wide_difficulty.py') diff --git a/tests/difficulty/wide_difficulty.py b/tests/difficulty/wide_difficulty.py new file mode 100755 index 000000000..41a2a632d --- /dev/null +++ b/tests/difficulty/wide_difficulty.py @@ -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) + -- cgit v1.2.3