use electrsd with feature to download the binary

This commit is contained in:
Riccardo Casatta committed 2021-06-29 11:34:58 +02:00
1 parent 8e41c4587d
commit a6be470fe4
7 files changed
+35 -82

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ impl ConfigurableBlockchain for ElectrumBlockchain {
}
#[cfg(test)]
#[cfg(feature = "test-blockchains")]
#[cfg(feature = "test-electrum")]
crate::bdk_blockchain_tests! {
fn test_instance(test_client: &TestClient) -> ElectrumBlockchain {
ElectrumBlockchain::from(Client::new(&test_client.electrsd.electrum_url).unwrap())
+1 -1
View File
@@ -416,7 +416,7 @@ impl_error!(consensus::encode::Error, BitcoinEncoding, EsploraError);
impl_error!(bitcoin::hashes::hex::Error, Hex, EsploraError);
#[cfg(test)]
#[cfg(feature = "test-blockchains")]
#[cfg(feature = "test-esplora")]
crate::bdk_blockchain_tests! {
fn test_instance(test_client: &TestClient) -> EsploraBlockchain {
EsploraBlockchain::new(&format!("http://{}",test_client.electrsd.esplora_url.as_ref().unwrap()), None)
+1 -1
View File
@@ -420,7 +420,7 @@ fn list_wallet_dir(client: &Client) -> Result<Vec<String>, Error> {
}
#[cfg(test)]
#[cfg(feature = "test-blockchains")]
#[cfg(feature = "test-rpc")]
crate::bdk_blockchain_tests! {
fn test_instance(test_client: &TestClient) -> RpcBlockchain {