pub struct Config {
pub ark: String,
pub bitcoind: Option<String>,
pub bitcoind_cookie: Option<String>,
pub bitcoind_user: Option<String>,
pub bitcoind_pass: Option<String>,
pub esplora: Option<String>,
pub vtxo_refresh_expiry_threshold: BlockHeight,
pub fallback_fee_rate: Option<FeeRate>,
}Fields§
§ark: StringArk server address
bitcoind: Option<String>Bitcoin Core RPC address to use for syncing
Cookie to use for RPC authentication
bitcoind_user: Option<String>Username to use for RPC authentication
bitcoind_pass: Option<String>password to use for RPC authentication
esplora: Option<String>The Esplora REST API address to use for syncing
vtxo_refresh_expiry_threshold: BlockHeightHow many blocks before VTXO expiration before preemptively refreshing them
fallback_fee_rate: Option<FeeRate>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request