Skip to content

Commit 1fc13e4

Browse files
fix(electrum): always enable domain validation internally
- removed validate_domain CLI option - cleaned up commands, handlers, and utils - restored Cargo.toml to upstream version - removed conflict markers and fixed issues
1 parent c697136 commit 1fc13e4

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Cargo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@ serde_json = "1.0"
2222
thiserror = "2.0.18"
2323
tokio = { version = "1", features = ["full"] }
2424
cli-table = "0.5.0"
25+
tracing = "0.1.44"
26+
tracing-subscriber = "0.3.20"
27+
toml = "1.1.0"
28+
serde= {version = "1.0", features = ["derive"]}
2529

26-
bdk_electrum = { version = "0.23.0", optional = true }
2730
# Optional dependencies
2831
bdk_bitcoind_rpc = { version = "0.21.0", features = ["std"], optional = true }
29-
32+
bdk_electrum = { version = "0.23.2", optional = true }
3033
bdk_esplora = { version = "0.22.1", features = ["async-https", "tokio"], optional = true }
3134
bdk_kyoto = { version = "0.15.4", optional = true }
3235
bdk_redb = { version = "0.1.1", optional = true }
3336
shlex = { version = "1.3.0", optional = true }
37+
payjoin = { version = "=1.0.0-rc.1", features = ["v1", "v2", "io", "_test-utils"], optional = true}
38+
reqwest = { version = "0.13.2", default-features = false, optional = true }
39+
url = { version = "2.5.8", optional = true }
3440

3541
[features]
3642
default = ["repl", "sqlite"]

src/handlers.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@
99
//! Command Handlers
1010
//!
1111
//! This module describes all the command handling logic used by bdk-cli.
12-
<<<<<<< HEAD
13-
<<<<<<< HEAD
14-
=======
15-
use crate::debug;
16-
>>>>>>> 7931dbd (Added validate_domain in electrum option)
17-
=======
18-
>>>>>>> a2f5954 (Clean up commands.rs and handlers.rs per review comments)
12+
1913
use crate::commands::OfflineWalletSubCommand::*;
2014
use crate::commands::*;
2115
use crate::config::{WalletConfig, WalletConfigInner};

src/utils.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ use bdk_wallet::bitcoin::{Address, Network, OutPoint, ScriptBuf};
2424
use std::fmt::Display;
2525
use std::path::{Path, PathBuf};
2626
use std::str::FromStr;
27-
>>>>>>> 80e132f (Added validate-domain option config in utils.rs and made changes required to that.)
2827

2928
#[cfg(any(
3029
feature = "electrum",

0 commit comments

Comments
 (0)