Skip to content

Commit 8067110

Browse files
committed
Merge #10: Add feature (parity) tests for API methods
ee8aee0 Fix clippy warnings (Elias Rohrer) 37e2142 Allow reading `BITCOIN_EXE`/`ELECTRS_EXE` env (Elias Rohrer) e390c20 Test feature parity of API methods (Elias Rohrer) Pull request description: This PR adds basic feature (parity) tests for the API methods: - [x] `get_tx` - [x] `get_tx_no_opt` - [x] `get_tx_at_block_index` - [x] `get_tx_status` - [x] `get_header` - [x] `get_merkle_proof` - [x] `get_output_status` - [x] `get_height` - [x] `get_tip_hash` - [x] `get_fee_estimates` - [x] `scripthash_txs` Top commit has no ACKs. Tree-SHA512: dc9902ce9168664404586bdfacd10b517d754cbbe800361725352e1ee6fb0519d8010b3b71ff7e4662b129bbc313bd0cdcd1b918db84e0951c9f27334e0bdeae
2 parents 17cf291 + ee8aee0 commit 8067110

File tree

2 files changed

+382
-0
lines changed

2 files changed

+382
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ reqwest = { version = "0.11", optional = true, default-features = false, feature
2424

2525
[dev-dependencies]
2626
serde_json = "1.0"
27+
tokio = { version = "1.20.1", features = ["full"] }
28+
electrsd = { version = "0.19.1", features = ["legacy", "esplora_a33e97e1", "bitcoind_22_0"] }
29+
electrum-client = "0.10"
30+
lazy_static = "1.4.0"
2731

2832
[features]
2933
default = ["blocking", "async", "async-https"]

0 commit comments

Comments
 (0)