From 14d40b2b9ddb158c31692fc4be5ff4c5e8758a81 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Fri, 7 Oct 2022 19:48:51 +0000 Subject: [PATCH] gentest.py: minor fixes, upgrade DASH testing status --- mmgen/altcoin.py | 6 +++--- test/gentest.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mmgen/altcoin.py b/mmgen/altcoin.py index 31385ef8..54f9a6c1 100755 --- a/mmgen/altcoin.py +++ b/mmgen/altcoin.py @@ -99,7 +99,7 @@ class CoinInfo(object): ce('CryptoBullion', 'CBX', 0x8b, (0x0b,'5'), None, False, 0), ce('Cryptonite', 'XCN', 0x80, (0x1c,'C'), None, False, 0), ce('CryptoPennies', 'CRPS', 0xc2, (0x42,'T'), None, False, 0), - ce('Dash', 'DASH', 0xcc, (0x4c,'X'), (0x10,'7'), False, 1), + ce('Dash', 'DASH', 0xcc, (0x4c,'X'), (0x10,'7'), False, 2), ce('Decred', 'DCR', 0x22de, (0x073f,'D'), (0x071a,'D'), False, 1), ce('DeepOnion', 'ONION', 0x9f, (0x1f,'D'), None, False, 1), ce('Defcoin', 'DFC', 0x9e, (0x1e,'D'), (0x05,'3'), False, 1), @@ -696,8 +696,8 @@ class CoinInfo(object): } external_tests_blacklist = { # Unconditionally block testing of the given coin/addr_type with given tool, or all coins if True - 'legacy': { 'pycoin': ('DASH',) }, - 'segwit': { 'pycoin': ('LTC',), 'keyconv': True }, + 'legacy': {}, + 'segwit': { 'keyconv': True }, 'bech32': { 'keyconv': True }, } diff --git a/test/gentest.py b/test/gentest.py index 834e3d56..6d1fe532 100755 --- a/test/gentest.py +++ b/test/gentest.py @@ -394,7 +394,7 @@ def ab_test(proto,cfg): if cfg.all_backends: # check all backends against external tool for n in range(len(get_backends(addr_type.pubkey_type))): - do_ab_test( proto, cfg, addr_type, gen1=n+1, kg2=kg2, ag=ag, tool=tool, cache_data=not n ) + do_ab_test( proto, cfg, addr_type, gen1=n+1, kg2=kg2, ag=ag, tool=tool, cache_data=cfg.rounds < 1000 and not n ) else: # check specific backend against external tool or another backend do_ab_test( proto, cfg, addr_type, gen1=cfg.gen1, kg2=kg2, ag=ag, tool=tool, cache_data=False )