Struct electrsd::Conf [−][src]
pub struct Conf<'a> { pub args: Vec<&'a str>, pub view_stderr: bool, pub http_enabled: bool, pub network: &'a str, }
Expand description
Electrs configuration parameters, implements a convenient Default for most common use.
Default values:
electrsd::Conf { args: vec!["-vvv", "--txid-limit=0"], view_stderr: false, http_enabled: false, network: "regtest", };
Fields
args: Vec<&'a str>
Electrsd command line arguments
note that db-dir
, cookie
, cookie-file
, daemon-rpc-addr
, jsonrpc-import
, electrum-rpc-addr
, monitoring-addr
, http-addr
cannot be used cause they are automatically initialized.
view_stderr: bool
if true
electrsd log output will not be suppressed
http_enabled: bool
if true
electrsd exposes an esplora endpoint
network: &'a str
Must match bitcoind network