pub struct Config {
pub storage_dir_path: String,
pub network: Network,
pub listening_address: Option<NetAddress>,
pub default_cltv_expiry_delta: u32,
pub onchain_wallet_sync_interval_secs: u64,
pub wallet_sync_interval_secs: u64,
pub fee_rate_cache_update_interval_secs: u64,
pub log_level: LogLevel,
}Expand description
Fields§
§storage_dir_path: StringThe path where the underlying LDK and BDK persist their data.
network: NetworkThe used Bitcoin network.
listening_address: Option<NetAddress>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.
onchain_wallet_sync_interval_secs: u64The time in-between background sync attempts of the onchain wallet, in seconds.
Note: A minimum of 10 seconds is always enforced.
wallet_sync_interval_secs: u64The time in-between background sync attempts of the LDK wallet, in seconds.
Note: A minimum of 10 seconds is always enforced.
fee_rate_cache_update_interval_secs: u64The time in-between background update attempts to our fee rate cache, in seconds.
Note: A minimum of 10 seconds is always enforced.
log_level: LogLevelThe level at which we log messages.
Any messages below this level will be excluded from the logs.
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