44//! rpc_txoutproof.py, rpc_scantxoutset.py, rpc_gettxspendingprevout.py,
55//! rpc_dumptxoutset.py and rpc_getblockstats.py
66
7- #[ cfg( feature = "v30_and_below" ) ]
87use bitcoind:: mtype;
98use bitcoind:: vtype:: * ;
109use integration_test:: { BitcoinD , BitcoinDExt as _, Wallet } ;
@@ -22,7 +21,6 @@ fn get_blockchain_info_pruned_node_has_prune_fields() {
2221}
2322
2423#[ test]
25- #[ cfg( feature = "v30_and_below" ) ]
2624fn get_chain_tx_stats_default_window_has_optional_fields ( ) {
2725 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
2826 let addr = node. client . new_address ( ) . unwrap ( ) ;
@@ -39,7 +37,6 @@ fn get_chain_tx_stats_default_window_has_optional_fields() {
3937}
4038
4139#[ test]
42- #[ cfg( feature = "v30_and_below" ) ]
4340fn get_chain_tx_stats_pinned_to_block1_has_no_window_fields ( ) {
4441 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
4542 let addr = node. client . new_address ( ) . unwrap ( ) ;
@@ -148,7 +145,6 @@ fn get_block_hash_at_tip_matches_best() {
148145}
149146
150147#[ test]
151- #[ cfg( feature = "v30_and_below" ) ]
152148fn get_block_verbose_one_tx_count_matches_n_tx ( ) {
153149 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
154150 node. fund_wallet ( ) ;
@@ -177,7 +173,6 @@ fn get_chain_tips_active_tip_matches_best() {
177173}
178174
179175#[ test]
180- #[ cfg( feature = "v30_and_below" ) ]
181176fn get_mempool_entry_height_and_no_parents ( ) {
182177 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
183178 node. fund_wallet ( ) ;
@@ -221,7 +216,6 @@ fn scan_tx_out_set_best_block_matches_tip() {
221216
222217#[ test]
223218#[ cfg( not( feature = "v22_and_below" ) ) ]
224- #[ cfg( feature = "v30_and_below" ) ]
225219fn get_deployment_info_genesis_vs_tip ( ) {
226220 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
227221 node. fund_wallet ( ) ;
@@ -259,7 +253,6 @@ fn get_tx_spending_prevout_for_unspent_output() {
259253
260254#[ test]
261255#[ cfg( not( feature = "v28_and_below" ) ) ]
262- #[ cfg( feature = "v30_and_below" ) ]
263256fn get_block_verbose_two_non_coinbase_has_fee ( ) {
264257 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
265258 node. fund_wallet ( ) ;
@@ -275,7 +268,6 @@ fn get_block_verbose_two_non_coinbase_has_fee() {
275268
276269#[ test]
277270#[ cfg( not( feature = "v28_and_below" ) ) ]
278- #[ cfg( feature = "v30_and_below" ) ]
279271fn get_block_verbose_three_non_coinbase_has_prevouts ( ) {
280272 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
281273 node. fund_wallet ( ) ;
@@ -291,7 +283,6 @@ fn get_block_verbose_three_non_coinbase_has_prevouts() {
291283}
292284
293285#[ test]
294- #[ cfg( feature = "v30_and_below" ) ]
295286fn get_mempool_entry_spent_by_contains_child ( ) {
296287 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
297288 node. fund_wallet ( ) ;
@@ -317,7 +308,6 @@ fn get_raw_mempool_sequence_includes_tx() {
317308}
318309
319310#[ test]
320- #[ cfg( feature = "v30_and_below" ) ]
321311fn get_mempool_ancestors_verbose_keyed_by_parent_txid ( ) {
322312 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
323313 node. fund_wallet ( ) ;
@@ -331,7 +321,6 @@ fn get_mempool_ancestors_verbose_keyed_by_parent_txid() {
331321}
332322
333323#[ test]
334- #[ cfg( feature = "v30_and_below" ) ]
335324fn get_block_verbose_one_stripped_size_le_size ( ) {
336325 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
337326 node. fund_wallet ( ) ;
@@ -345,7 +334,6 @@ fn get_block_verbose_one_stripped_size_le_size() {
345334}
346335
347336#[ test]
348- #[ cfg( feature = "v30_and_below" ) ]
349337fn get_block_verbose_one_next_block_hash_some_for_non_tip ( ) {
350338 let node = BitcoinD :: with_wallet ( Wallet :: Default , & [ ] ) ;
351339 node. fund_wallet ( ) ;
@@ -416,7 +404,6 @@ fn get_block_stats_v25_actual_utxo_fields() {
416404 assert ! ( json. utxo_size_increase_actual. is_some( ) ) ;
417405}
418406
419- #[ cfg( feature = "v30_and_below" ) ]
420407fn create_child_spending_parent ( node : & BitcoinD , parent : bitcoin:: Txid ) -> bitcoin:: Txid {
421408 use bitcoind:: { Input , Output } ;
422409 let inputs = vec ! [ Input { txid: parent, vout: 0 , sequence: None } ] ;
0 commit comments