pub struct Config {
pub storage_dir_path: String,
pub esplora_server_url: String,
pub network: Network,
pub listening_address: Option<SocketAddr>,
pub default_cltv_expiry_delta: u32,
}Expand description
Represents the configuration of an Node instance.
Fields§
§storage_dir_path: StringThe path where the underlying LDK and BDK persist their data.
esplora_server_url: StringThe URL of the utilized Esplora server.
network: NetworkThe used Bitcoin network.
listening_address: Option<SocketAddr>The IP address and TCP port the node will listen on.
default_cltv_expiry_delta: u32The default CLTV expiry delta to be used for payments.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more