Skip to content

Commit

Permalink
Added validate_domain Electrum option
Browse files Browse the repository at this point in the history
  • Loading branch information
anmode committed Apr 3, 2023
1 parent eef97ad commit 8a69f80
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,16 @@ pub struct ElectrumOpts {
default_value = "10"
)]
pub stop_gap: usize,

/// Enable or disable domain validation when connecting to Electrum servers.
#[clap(
name = "VALIDATE_DOMAIN",
long = "validate_domain",
possible_values = &["true", "false"],
case_insensitive = true,
default_value = "true"
)]
pub validate_domain: bool,
}

/// Options to configure Esplora backend.
Expand Down

0 comments on commit 8a69f80

Please sign in to comment.