[examples] support esplora blockchain source in repl

This commit is contained in:
Riccardo Casatta committed 2020-11-17 09:39:44 +01:00
1 parent c5dba115a0
commit d9985c4bbb
2 files changed
+31 -15

No files matched your search

+8
View File
@@ -337,6 +337,14 @@ pub fn add_global_flags<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b> {
.takes_value(true)
.default_value("ssl://electrum.blockstream.info:60002"),
)
.arg(
Arg::with_name("esplora")
.short("e")
.long("esplora")
.value_name("ESPLORA")
.help("Use the esplora server if given as parameter")
.takes_value(true),
)
.arg(
Arg::with_name("proxy")
.short("p")