From: Alekos Filini Date: Wed, 12 Aug 2020 10:51:50 +0000 (+0200) Subject: Use `miniscript::DescriptorPublicKey` X-Git-Tag: 0.1.0-beta.1~8 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/enum.NetworkKind.html?a=commitdiff_plain;h=d8baa83b4fe5da4a15d03148e83828d8edb6f9f7;p=bdk-cli Use `miniscript::DescriptorPublicKey` This allows us to remove all our custom "ExtendedDescriptor" implementation since that is now built directly in miniscript. --- 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"] }