Example #1
0
    sys.exit(0)

# python3-zmq may not be installed. Handle this gracefully and with some helpful info
if ENABLE_ZMQ:
    try:
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [
    RpcTest(t) for t in [
        'bip135basic', 'ctor', 'mining_ctor',
        Disabled('nov152018_forkactivation', 'Nov 2018 already activated'),
        Disabled('blockstorage', 'fixme'), 'miningtest', 'grapheneblocks',
        'cashlibtest', 'tweak', 'notify',
        Disabled(
            'may152018_forkactivation_1',
            'May 2018 already activated, use it as template to test future upgrade activation'
        ),
        Disabled(
            'may152018_forkactivation_2',
            'May 2018 already activated, use it as template to test future upgrade activation'
        ), 'validateblocktemplate', 'parallel', 'wallet', 'wallet-hd',
        'wallet-dump', 'excessive',
        Disabled(
            'uahf',
            'temporary disable while waiting, to use as a template for future tests'
        ), 'listtransactions', 'receivedby', 'mempool_resurrect_test',
Example #2
0
 RpcTest(t) for t in [
     'bip68-112-113-p2p',
     'wallet',
     'excessive',
     'listtransactions',
     'receivedby',
     'mempool_resurrect_test',
     'txn_doublespend --mineblock',
     'txn_clone',
     'getchaintips',
     'rawtransactions',
     'rest',
     'mempool_spendcoinbase',
     'mempool_reorg',
     Disabled(
         'mempool_limit',
         "mempool priority changes causes create_lots_of_big_transactions to fail"
     ),
     'httpbasics',
     'multi_rpc',
     'zapwallettxes',
     'proxy_test',
     'merkle_blocks',
     'fundrawtransaction',
     'signrawtransactions',
     'walletbackup',
     'nodehandling',
     'reindex',
     'decodescript',
     Disabled('p2p-fullblocktest', "TODO"),
     'blockchain',
     'disablewallet',
Example #3
0
    try:
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [ RpcTest(t) for t in [
    'blockstorage',
    'miningtest',
    'grapheneblocks',
    'cashlibtest',
    'tweak',
    'notify',
    Disabled('may152018_forkactivation_1','May 2018 already activated, use it as template to test future upgrade activation'),
    Disabled('may152018_forkactivation_2','May 2018 already activated, use it as template to test future upgrade activation'),
    'bip68-112-113-p2p',
    'validateblocktemplate',
    'parallel',
    'wallet',
    'wallet-hd',
    'wallet-dump',
    'excessive',
    Disabled('uahf', 'temporary disable while waiting, to use as a template for future tests'),
    'listtransactions',
    'receivedby',
    'mempool_resurrect_test',
    'txn_doublespend --mineblock',
    'txn_clone',
    'getchaintips',
Example #4
0
 'getchaintips',
 'httpbasics',
 'keypool',
 'listtransactions',
 #'mempool_limit',
 #'mempool_reorg',
 #'mempool_resurrect_test',
 #'mempool_spendcoinbase',
 'mintingtest',
 'nodehandling',
 'proxy_test',
 'receivedby',
 'txpropagate',
 'verifydb',
 'wallet',
 Disabled('walletbackup',
          "TIMEOUT"),  # issue with restarting nodes mid test
 'zapwallettxes',
 #
 Disabled('mempool_limit', "FAILS"),
 Disabled('mempool_reorg', "FAILS"),
 Disabled('mempool_resurrect_test', "FAILS"),
 Disabled('mempool_spendcoinbase', "FAILS"),
 #
 Disabled('abandonconflict', "FAILS"),
 Disabled('bip68-112-113-p2p', "FAILS"),
 Disabled('decodescript', "FAILS"),
 Disabled('invalidtxrequest', "FAILS"),
 Disabled('merkle_blocks', "FAILS"),
 Disabled('miningtest', "FAILS"),
 Disabled('sendheaders', "FAILS"),
 Disabled('signrawtransactions', "FAILS"),
Example #5
0
    try:
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [
    RpcTest(t) for t in [
        'blockstorage', 'miningtest', 'grapheneblocks', 'cashlibtest', 'tweak',
        'notify', 'may152018_forkactivation_1', 'may152018_forkactivation_2',
        'bip68-112-113-p2p', 'validateblocktemplate', 'parallel', 'wallet',
        'wallet-hd', 'wallet-dump', 'excessive',
        Disabled(
            'uahf',
            'temporary disable while waiting, to use as a template for future tests'
        ), 'listtransactions', 'receivedby', 'mempool_resurrect_test',
        'txn_doublespend --mineblock', 'txn_clone', 'getchaintips',
        'rawtransactions', 'rest', 'mempool_spendcoinbase', 'mempool_reorg',
        'mempool_limit', 'httpbasics', 'multi_rpc', 'zapwallettxes',
        'proxy_test', 'merkle_blocks', 'fundrawtransaction',
        'signrawtransactions', 'walletbackup', 'nodehandling', 'reindex',
        'decodescript',
        Disabled('p2p-fullblocktest', "TODO"), 'blockchain', 'disablewallet',
        'sendheaders', 'keypool',
        Disabled('prioritise_transaction', "TODO"),
        Disabled('invalidblockrequest',
                 "TODO"), 'invalidtxrequest', 'abandonconflict',
        'p2p-versionbits-warning', 'importprunedfunds', 'thinblocks'
    ]
]
        "No rpc tests to run. Wallet, utils, and bitcoind must all be enabled")
    sys.exit(0)

# python3-zmq may not be installed. Handle this gracefully and with some helpful info
if ENABLE_ZMQ:
    try:
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [
    RpcTest(t) for t in [
        Disabled('schnorr-activation',
                 'Need to be updated to work with BU'), 'schnorrsig',
        Disabled('segwit-recovery-activation',
                 'Need to be updated to work with BU'), 'bip135basic', 'ctor',
        'mining_ctor',
        Disabled('nov152018_forkactivation', 'Nov 2018 already activated'),
        Disabled('blockstorage',
                 'fixme'), 'miningtest', 'cashlibtest', 'tweak', 'notify',
        Disabled(
            'may152018_forkactivation_1',
            'May 2018 already activated, use it as template to test future upgrade activation'
        ),
        Disabled(
            'may152018_forkactivation_2',
            'May 2018 already activated, use it as template to test future upgrade activation'
        ), 'validateblocktemplate', 'parallel', 'wallet', 'wallet-hd',
        'wallet-dump', 'excessive',
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [
    RpcTest(t) for t in [
        'bip68-112-113-p2p', 'validateblocktemplate', 'parallel', 'wallet',
        'excessive', 'buip055', 'listtransactions', 'receivedby',
        'mempool_resurrect_test', 'txn_doublespend --mineblock', 'txn_clone',
        'getchaintips', 'rawtransactions', 'rest', 'mempool_spendcoinbase',
        'mempool_reorg',
        Disabled(
            'mempool_limit',
            "mempool priority changes causes create_lots_of_big_transactions to fail"
        ), 'httpbasics', 'multi_rpc', 'zapwallettxes', 'proxy_test',
        'merkle_blocks', 'fundrawtransaction', 'signrawtransactions',
        'walletbackup', 'nodehandling', 'reindex', 'decodescript',
        Disabled('p2p-fullblocktest', "TODO"), 'blockchain', 'disablewallet',
        'sendheaders', 'keypool',
        Disabled('prioritise_transaction', "TODO"),
        Disabled('invalidblockrequest',
                 "TODO"), 'invalidtxrequest', 'abandonconflict',
        'p2p-versionbits-warning', 'importprunedfunds', 'thinblocks'
    ]
]

testScriptsExt = [
    RpcTest(t) for t in [
        'txPerf', 'excessive --extensive', 'parallel --extensive',
Example #8
0
    sys.exit(0)

# python3-zmq may not be installed. Handle this gracefully and with some helpful info
if ENABLE_ZMQ:
    try:
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [
    RpcTest(t) for t in [
        Disabled(
            'sigchecks_inputstandardness_activation',
            'Already activated, and mempool bad sigcheck mempool cleanup removed so test will fail'
        ), 'txindex',
        Disabled('schnorr-activation', 'Need to be updated to work with BU'),
        'schnorrsig', 'segwit_recovery', 'bip135basic', 'ctor', 'mining_ctor',
        Disabled('nov152018_forkactivation', 'Nov 2018 already activated'),
        'blockstorage', 'miningtest', 'cashlibtest', 'tweak', 'notify',
        Disabled(
            'may152018_forkactivation_1',
            'May 2018 already activated, use it as template to test future upgrade activation'
        ),
        Disabled(
            'may152018_forkactivation_2',
            'May 2018 already activated, use it as template to test future upgrade activation'
        ), 'validateblocktemplate', 'parallel', 'wallet', 'wallet-hd',
        'wallet-dump', 'excessive',
        Disabled(
Example #9
0
 'blockstorage',
 'miningtest',
 'grapheneblocks',
 'cashlibtest',
 'tweak',
 'notify',
 'may152018_forkactivation_1',
 'may152018_forkactivation_2',
 'bip68-112-113-p2p',
 'validateblocktemplate',
 'parallel',
 'wallet',
 'wallet-hd',
 'wallet-dump',
 'excessive',
 Disabled('uahf', 'temporary disable while waiting, to use as a template for future tests'),
 'listtransactions',
 'receivedby',
 'mempool_resurrect_test',
 'txn_doublespend --mineblock',
 'txn_clone',
 'getchaintips',
 'rawtransactions',
 'rest',
 'mempool_spendcoinbase',
 'mempool_reorg',
 'mempool_limit',
 'httpbasics',
 'multi_rpc',
 'zapwallettxes',
 'proxy_test',
Example #10
0
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

#Tests
testScripts = [ RpcTest(t) for t in [
    'tweak',
    'notify',
    'may152018_forkactivation_1',
    'may152018_forkactivation_2',
    'bip68-112-113-p2p',
    'validateblocktemplate',
    'parallel',
    'wallet',
    'excessive',
    Disabled('uahf', 'temporary disable while waiting, to use as a template for future tests'),
    'listtransactions',
    'receivedby',
    'mempool_resurrect_test',
    'txn_doublespend --mineblock',
    'txn_clone',
    'getchaintips',
    'rawtransactions',
    'rest',
    'mempool_spendcoinbase',
    'mempool_reorg',
    Disabled('mempool_limit', "mempool priority changes causes create_lots_of_big_transactions to fail"),
    'httpbasics',
    'multi_rpc',
    'zapwallettxes',
    'proxy_test',
    sys.exit(0)

# python3-zmq may not be installed. Handle this gracefully and with some helpful info
if ENABLE_ZMQ:
    try:
        import zmq
    except ImportError as e:
        print("ERROR: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
            "to run zmq tests, see dependency info in /qa/README.md.")
        raise e

# Tests
testScripts = [ RpcTest(t) for t in [
    'bip68-112-113-p2p',
    'validateblocktemplate',
    Disabled('parallel', "Moved to extended-only for CI focus on MVF"), # MVF-BU: disabled
    'wallet',
    Disabled('excessive', "Moved to extended-only for CI focus on MVF"), # MVF-BU: disabled
    'mvf-bu-retarget --quick', # MVF-BU: quick version for Travis
    'mvf-bu-csig', # MVF-BU
    'mvf-bu-trig',  # MVF-BU
    'listtransactions',
    'receivedby',
    'mempool_resurrect_test',
    'txn_doublespend --mineblock',
    'txn_clone',
    'getchaintips',
    'rawtransactions',
    'rest',
    'mempool_spendcoinbase',
    'mempool_reorg',