Skip to content

Commit 8a69f80

Browse files
committed
Added validate_domain Electrum option
1 parent eef97ad commit 8a69f80

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/commands.rs

+10
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,16 @@ pub struct ElectrumOpts {
320320
default_value = "10"
321321
)]
322322
pub stop_gap: usize,
323+
324+
/// Enable or disable domain validation when connecting to Electrum servers.
325+
#[clap(
326+
name = "VALIDATE_DOMAIN",
327+
long = "validate_domain",
328+
possible_values = &["true", "false"],
329+
case_insensitive = true,
330+
default_value = "true"
331+
)]
332+
pub validate_domain: bool,
323333
}
324334

325335
/// Options to configure Esplora backend.

0 commit comments

Comments
 (0)