From d8baa83b4fe5da4a15d03148e83828d8edb6f9f7 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Wed, 12 Aug 2020 12:51:50 +0200 Subject: [PATCH] Use `miniscript::DescriptorPublicKey` This allows us to remove all our custom "ExtendedDescriptor" implementation since that is now built directly in miniscript. --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8b5bea3..f9d4b30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "magical-bitcoin-wallet" version = "0.1.0" edition = "2018" -authors = ["Riccardo Casatta ", "Alekos Filini "] +authors = ["Alekos Filini ", "Riccardo Casatta "] [dependencies] magical-macros = { path = "./macros" } @@ -25,6 +25,10 @@ rocksdb = { version = "0.14", optional = true } socks = { version = "0.3", optional = true } lazy_static = { version = "1.4", optional = true } +[patch.crates-io] +bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin/", rev = "478e091" } +miniscript = { git = "https://github.com/MagicalBitcoin/rust-miniscript", branch = "descriptor-public-key" } + # Platform-specific dependencies [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { version = "0.2", features = ["rt-core"] } -- 2.49.0