mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
test: remove legacy wallet functional tests
Removes all legacy wallet specific functional tests. Also removes the --descriptor and --legacy-wallet options as these are no longer necessary with the legacy wallet removed.
This commit is contained in:
@@ -86,7 +86,6 @@ EXTENDED_SCRIPTS = [
|
||||
'feature_pruning.py',
|
||||
'feature_dbcrash.py',
|
||||
'feature_index_prune.py',
|
||||
'wallet_pruning.py --legacy-wallet',
|
||||
]
|
||||
|
||||
BASE_SCRIPTS = [
|
||||
@@ -97,8 +96,7 @@ BASE_SCRIPTS = [
|
||||
'feature_taproot.py',
|
||||
'feature_block.py',
|
||||
'mempool_ephemeral_dust.py',
|
||||
'wallet_conflicts.py --legacy-wallet',
|
||||
'wallet_conflicts.py --descriptors',
|
||||
'wallet_conflicts.py',
|
||||
'p2p_opportunistic_1p1c.py',
|
||||
'p2p_node_network_limited.py --v1transport',
|
||||
'p2p_node_network_limited.py --v2transport',
|
||||
@@ -108,39 +106,28 @@ BASE_SCRIPTS = [
|
||||
'feature_maxuploadtarget.py',
|
||||
'feature_assumeutxo.py',
|
||||
'mempool_updatefromblock.py',
|
||||
'mempool_persist.py --descriptors',
|
||||
'mempool_persist.py',
|
||||
# vv Tests less than 60s vv
|
||||
'rpc_psbt.py --legacy-wallet',
|
||||
'rpc_psbt.py --descriptors',
|
||||
'wallet_fundrawtransaction.py --legacy-wallet',
|
||||
'wallet_fundrawtransaction.py --descriptors',
|
||||
'wallet_bumpfee.py --legacy-wallet',
|
||||
'wallet_bumpfee.py --descriptors',
|
||||
'wallet_import_rescan.py --legacy-wallet',
|
||||
'wallet_backup.py --legacy-wallet',
|
||||
'wallet_backup.py --descriptors',
|
||||
'feature_segwit.py --legacy-wallet',
|
||||
'feature_segwit.py --descriptors --v1transport',
|
||||
'feature_segwit.py --descriptors --v2transport',
|
||||
'rpc_psbt.py',
|
||||
'wallet_fundrawtransaction.py',
|
||||
'wallet_bumpfee.py',
|
||||
'wallet_backup.py',
|
||||
'feature_segwit.py --v2transport',
|
||||
'feature_segwit.py --v1transport',
|
||||
'p2p_tx_download.py',
|
||||
'wallet_avoidreuse.py --legacy-wallet',
|
||||
'wallet_avoidreuse.py --descriptors',
|
||||
'wallet_avoidreuse.py',
|
||||
'feature_abortnode.py',
|
||||
'wallet_address_types.py --legacy-wallet',
|
||||
'wallet_address_types.py --descriptors',
|
||||
'wallet_address_types.py',
|
||||
'p2p_orphan_handling.py',
|
||||
'wallet_basic.py --legacy-wallet',
|
||||
'wallet_basic.py --descriptors',
|
||||
'wallet_basic.py',
|
||||
'feature_maxtipage.py',
|
||||
'wallet_multiwallet.py --legacy-wallet',
|
||||
'wallet_multiwallet.py --descriptors',
|
||||
'wallet_multiwallet.py',
|
||||
'wallet_multiwallet.py --usecli',
|
||||
'p2p_dns_seeds.py',
|
||||
'wallet_groups.py --legacy-wallet',
|
||||
'wallet_groups.py --descriptors',
|
||||
'wallet_groups.py',
|
||||
'p2p_blockfilters.py',
|
||||
'feature_assumevalid.py',
|
||||
'wallet_taproot.py --descriptors',
|
||||
'wallet_taproot.py',
|
||||
'feature_bip68_sequence.py',
|
||||
'rpc_packages.py',
|
||||
'rpc_bind.py --ipv4',
|
||||
@@ -151,55 +138,41 @@ BASE_SCRIPTS = [
|
||||
'feature_csv_activation.py',
|
||||
'p2p_sendheaders.py',
|
||||
'feature_config_args.py',
|
||||
'wallet_listtransactions.py --legacy-wallet',
|
||||
'wallet_listtransactions.py --descriptors',
|
||||
'wallet_miniscript.py --descriptors',
|
||||
'wallet_listtransactions.py',
|
||||
'wallet_miniscript.py',
|
||||
# vv Tests less than 30s vv
|
||||
'p2p_invalid_messages.py',
|
||||
'rpc_createmultisig.py',
|
||||
'p2p_timeouts.py --v1transport',
|
||||
'p2p_timeouts.py --v2transport',
|
||||
'wallet_dump.py --legacy-wallet',
|
||||
'rpc_signer.py',
|
||||
'wallet_signer.py --descriptors',
|
||||
'wallet_importmulti.py --legacy-wallet',
|
||||
'wallet_signer.py',
|
||||
'mempool_limit.py',
|
||||
'rpc_txoutproof.py',
|
||||
'rpc_orphans.py',
|
||||
'wallet_listreceivedby.py --legacy-wallet',
|
||||
'wallet_listreceivedby.py --descriptors',
|
||||
'wallet_abandonconflict.py --legacy-wallet',
|
||||
'wallet_abandonconflict.py --descriptors',
|
||||
'wallet_listreceivedby.py',
|
||||
'wallet_abandonconflict.py',
|
||||
'feature_reindex.py',
|
||||
'feature_reindex_readonly.py',
|
||||
'wallet_labels.py --legacy-wallet',
|
||||
'wallet_labels.py --descriptors',
|
||||
'wallet_labels.py',
|
||||
'p2p_compactblocks.py',
|
||||
'p2p_compactblocks_blocksonly.py',
|
||||
'wallet_hd.py --legacy-wallet',
|
||||
'wallet_hd.py --descriptors',
|
||||
'wallet_blank.py --legacy-wallet',
|
||||
'wallet_blank.py --descriptors',
|
||||
'wallet_keypool_topup.py --legacy-wallet',
|
||||
'wallet_keypool_topup.py --descriptors',
|
||||
'wallet_fast_rescan.py --descriptors',
|
||||
'wallet_gethdkeys.py --descriptors',
|
||||
'wallet_createwalletdescriptor.py --descriptors',
|
||||
'wallet_hd.py',
|
||||
'wallet_blank.py',
|
||||
'wallet_keypool_topup.py',
|
||||
'wallet_fast_rescan.py',
|
||||
'wallet_gethdkeys.py',
|
||||
'wallet_createwalletdescriptor.py',
|
||||
'interface_zmq.py',
|
||||
'rpc_invalid_address_message.py',
|
||||
'rpc_validateaddress.py',
|
||||
'interface_bitcoin_cli.py --legacy-wallet',
|
||||
'interface_bitcoin_cli.py --descriptors',
|
||||
'interface_bitcoin_cli.py',
|
||||
'feature_bind_extra.py',
|
||||
'mempool_resurrect.py',
|
||||
'wallet_txn_doublespend.py --mineblock',
|
||||
'tool_bitcoin_chainstate.py',
|
||||
'tool_wallet.py --legacy-wallet',
|
||||
'tool_wallet.py --legacy-wallet --bdbro',
|
||||
'tool_wallet.py --legacy-wallet --bdbro --swap-bdb-endian',
|
||||
'tool_wallet.py --descriptors',
|
||||
'tool_signet_miner.py --legacy-wallet',
|
||||
'tool_signet_miner.py --descriptors',
|
||||
'tool_wallet.py',
|
||||
'tool_signet_miner.py',
|
||||
'wallet_txn_clone.py',
|
||||
'wallet_txn_clone.py --segwit',
|
||||
'rpc_getchaintips.py',
|
||||
@@ -207,15 +180,12 @@ BASE_SCRIPTS = [
|
||||
'p2p_1p1c_network.py',
|
||||
'interface_rest.py',
|
||||
'mempool_spend_coinbase.py',
|
||||
'wallet_avoid_mixing_output_types.py --descriptors',
|
||||
'wallet_avoid_mixing_output_types.py',
|
||||
'mempool_reorg.py',
|
||||
'p2p_block_sync.py --v1transport',
|
||||
'p2p_block_sync.py --v2transport',
|
||||
'wallet_createwallet.py --legacy-wallet',
|
||||
'wallet_createwallet.py --usecli',
|
||||
'wallet_createwallet.py --descriptors',
|
||||
'wallet_watchonly.py --legacy-wallet',
|
||||
'wallet_watchonly.py --usecli --legacy-wallet',
|
||||
'wallet_createwallet.py',
|
||||
'wallet_reindex.py',
|
||||
'wallet_reorgsrestore.py',
|
||||
'interface_http.py',
|
||||
@@ -228,12 +198,10 @@ BASE_SCRIPTS = [
|
||||
'rpc_users.py',
|
||||
'rpc_whitelist.py',
|
||||
'feature_proxy.py',
|
||||
'wallet_signrawtransactionwithwallet.py --legacy-wallet',
|
||||
'wallet_signrawtransactionwithwallet.py --descriptors',
|
||||
'wallet_signrawtransactionwithwallet.py',
|
||||
'rpc_signrawtransactionwithkey.py',
|
||||
'rpc_rawtransaction.py --legacy-wallet',
|
||||
'wallet_transactiontime_rescan.py --descriptors',
|
||||
'wallet_transactiontime_rescan.py --legacy-wallet',
|
||||
'rpc_rawtransaction.py',
|
||||
'wallet_transactiontime_rescan.py',
|
||||
'p2p_addrv2_relay.py',
|
||||
'p2p_compactblocks_hb.py --v1transport',
|
||||
'p2p_compactblocks_hb.py --v2transport',
|
||||
@@ -245,17 +213,15 @@ BASE_SCRIPTS = [
|
||||
'rpc_blockchain.py --v2transport',
|
||||
'rpc_deprecated.py',
|
||||
'wallet_disable.py',
|
||||
'wallet_change_address.py --legacy-wallet',
|
||||
'wallet_change_address.py --descriptors',
|
||||
'wallet_change_address.py',
|
||||
'p2p_addr_relay.py',
|
||||
'p2p_getaddr_caching.py',
|
||||
'p2p_getdata.py',
|
||||
'p2p_addrfetch.py',
|
||||
'rpc_net.py --v1transport',
|
||||
'rpc_net.py --v2transport',
|
||||
'wallet_keypool.py --legacy-wallet',
|
||||
'wallet_keypool.py --descriptors',
|
||||
'wallet_descriptor.py --descriptors',
|
||||
'wallet_keypool.py',
|
||||
'wallet_descriptor.py',
|
||||
'p2p_nobloomfilter_messages.py',
|
||||
TEST_FRAMEWORK_UNIT_TESTS,
|
||||
'p2p_filter.py',
|
||||
@@ -273,11 +239,10 @@ BASE_SCRIPTS = [
|
||||
'p2p_v2_misbehaving.py',
|
||||
'example_test.py',
|
||||
'mempool_truc.py',
|
||||
'wallet_txn_doublespend.py --legacy-wallet',
|
||||
'wallet_multisig_descriptor_psbt.py --descriptors',
|
||||
'wallet_miniscript_decaying_multisig_descriptor_psbt.py --descriptors',
|
||||
'wallet_txn_doublespend.py --descriptors',
|
||||
'wallet_backwards_compatibility.py --descriptors',
|
||||
'wallet_multisig_descriptor_psbt.py',
|
||||
'wallet_miniscript_decaying_multisig_descriptor_psbt.py',
|
||||
'wallet_txn_doublespend.py',
|
||||
'wallet_backwards_compatibility.py',
|
||||
'wallet_txn_clone.py --mineblock',
|
||||
'feature_notifications.py',
|
||||
'rpc_getblockfilter.py',
|
||||
@@ -293,8 +258,7 @@ BASE_SCRIPTS = [
|
||||
'feature_versionbits_warning.py',
|
||||
'feature_blocksxor.py',
|
||||
'rpc_preciousblock.py',
|
||||
'wallet_importprunedfunds.py --legacy-wallet',
|
||||
'wallet_importprunedfunds.py --descriptors',
|
||||
'wallet_importprunedfunds.py',
|
||||
'p2p_leak_tx.py --v1transport',
|
||||
'p2p_leak_tx.py --v2transport',
|
||||
'p2p_eviction.py',
|
||||
@@ -306,64 +270,49 @@ BASE_SCRIPTS = [
|
||||
'wallet_signmessagewithaddress.py',
|
||||
'rpc_signmessagewithprivkey.py',
|
||||
'rpc_generate.py',
|
||||
'wallet_balance.py --legacy-wallet',
|
||||
'wallet_balance.py --descriptors',
|
||||
'wallet_balance.py',
|
||||
'p2p_initial_headers_sync.py',
|
||||
'feature_nulldummy.py',
|
||||
'mempool_accept.py',
|
||||
'mempool_expiry.py',
|
||||
'wallet_import_with_label.py --legacy-wallet',
|
||||
'wallet_importdescriptors.py --descriptors',
|
||||
'wallet_upgradewallet.py --legacy-wallet',
|
||||
'wallet_importdescriptors.py',
|
||||
'wallet_crosschain.py',
|
||||
'mining_basic.py',
|
||||
'mining_mainnet.py',
|
||||
'feature_signet.py',
|
||||
'p2p_mutated_blocks.py',
|
||||
'wallet_implicitsegwit.py --legacy-wallet',
|
||||
'rpc_named_arguments.py',
|
||||
'feature_startupnotify.py',
|
||||
'wallet_simulaterawtx.py --legacy-wallet',
|
||||
'wallet_simulaterawtx.py --descriptors',
|
||||
'wallet_listsinceblock.py --legacy-wallet',
|
||||
'wallet_listsinceblock.py --descriptors',
|
||||
'wallet_listdescriptors.py --descriptors',
|
||||
'wallet_simulaterawtx.py',
|
||||
'wallet_listsinceblock.py',
|
||||
'wallet_listdescriptors.py',
|
||||
'p2p_leak.py',
|
||||
'wallet_encryption.py --legacy-wallet',
|
||||
'wallet_encryption.py --descriptors',
|
||||
'wallet_encryption.py',
|
||||
'feature_dersig.py',
|
||||
'feature_cltv.py',
|
||||
'rpc_uptime.py',
|
||||
'feature_discover.py',
|
||||
'wallet_resendwallettransactions.py --legacy-wallet',
|
||||
'wallet_resendwallettransactions.py --descriptors',
|
||||
'wallet_fallbackfee.py --legacy-wallet',
|
||||
'wallet_fallbackfee.py --descriptors',
|
||||
'wallet_resendwallettransactions.py',
|
||||
'wallet_fallbackfee.py',
|
||||
'rpc_dumptxoutset.py',
|
||||
'feature_minchainwork.py',
|
||||
'rpc_estimatefee.py',
|
||||
'rpc_getblockstats.py',
|
||||
'feature_port.py',
|
||||
'feature_bind_port_externalip.py',
|
||||
'wallet_create_tx.py --legacy-wallet',
|
||||
'wallet_send.py --legacy-wallet',
|
||||
'wallet_send.py --descriptors',
|
||||
'wallet_sendall.py --legacy-wallet',
|
||||
'wallet_sendall.py --descriptors',
|
||||
'wallet_sendmany.py --descriptors',
|
||||
'wallet_sendmany.py --legacy-wallet',
|
||||
'wallet_create_tx.py --descriptors',
|
||||
'wallet_inactive_hdchains.py --legacy-wallet',
|
||||
'wallet_create_tx.py',
|
||||
'wallet_send.py',
|
||||
'wallet_sendall.py',
|
||||
'wallet_sendmany.py',
|
||||
'wallet_spend_unconfirmed.py',
|
||||
'wallet_rescan_unconfirmed.py --descriptors',
|
||||
'wallet_rescan_unconfirmed.py',
|
||||
'p2p_fingerprint.py',
|
||||
'feature_uacomment.py',
|
||||
'feature_init.py',
|
||||
'wallet_coinbase_category.py --legacy-wallet',
|
||||
'wallet_coinbase_category.py --descriptors',
|
||||
'wallet_coinbase_category.py',
|
||||
'feature_filelock.py',
|
||||
'feature_loadblock.py',
|
||||
'wallet_assumeutxo.py --descriptors',
|
||||
'wallet_assumeutxo.py',
|
||||
'p2p_add_connections.py',
|
||||
'feature_bind_port_discover.py',
|
||||
'p2p_unrequested_blocks.py',
|
||||
@@ -543,7 +492,7 @@ def main():
|
||||
|
||||
exclude_tests = [test.strip() for test in args.exclude.split(",")]
|
||||
for exclude_test in exclude_tests:
|
||||
# A space in the name indicates it has arguments such as "wallet_basic.py --descriptors"
|
||||
# A space in the name indicates it has arguments such as "rpc_bind.py --ipv4"
|
||||
if ' ' in exclude_test:
|
||||
remove_tests([test for test in test_list if test.replace('.py', '') == exclude_test.replace('.py', '')])
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user