|
4 | 4 |
|
5 | 5 | #![allow(non_snake_case)] // Test names intentionally use double underscore. |
6 | 6 |
|
7 | | -#[cfg(feature = "v30_and_below")] |
8 | 7 | #[cfg(not(feature = "v28_and_below"))] |
9 | 8 | use std::collections::HashMap; |
10 | 9 |
|
11 | | -#[cfg(feature = "v30_and_below")] |
12 | 10 | #[cfg(not(feature = "v28_and_below"))] |
13 | 11 | use bitcoin::hashes::Hash; |
14 | | -#[cfg(feature = "v30_and_below")] |
15 | 12 | #[cfg(not(feature = "v28_and_below"))] |
16 | 13 | use bitcoin::hex::DisplayHex; |
17 | | -#[cfg(feature = "v30_and_below")] |
18 | 14 | #[cfg(not(feature = "v28_and_below"))] |
19 | 15 | use bitcoin::{ |
20 | 16 | absolute, consensus, transaction, Amount, OutPoint, ScriptBuf, Sequence, Transaction, TxIn, |
21 | 17 | TxOut, Txid, Witness, |
22 | 18 | }; |
23 | 19 | use bitcoind::mtype; |
24 | 20 | use bitcoind::vtype::*; // All the version specific types. |
25 | | -#[cfg(feature = "v30_and_below")] |
26 | 21 | #[cfg(not(feature = "v21_and_below"))] |
27 | 22 | use bitcoind::P2P; |
28 | 23 | use integration_test::{BitcoinD, BitcoinDExt as _, Wallet}; |
29 | 24 |
|
30 | 25 | #[test] |
31 | | -#[cfg(feature = "v30_and_below")] |
32 | 26 | #[cfg(not(feature = "v21_and_below"))] |
33 | 27 | fn hidden__add_connection() { |
34 | 28 | let (listener, dialer, _node3) = integration_test::three_node_network(); |
@@ -104,7 +98,6 @@ fn hidden__estimate_raw_fee__modelled() { |
104 | 98 | } |
105 | 99 |
|
106 | 100 | #[test] |
107 | | -#[cfg(feature = "v30_and_below")] |
108 | 101 | #[cfg(not(feature = "v28_and_below"))] |
109 | 102 | fn hidden__get_orphan_txs__modelled() { |
110 | 103 | // We use node1 to send node2 orphan transactions via a P2P `tx` message. |
|
0 commit comments