pub struct BitcoinConfig {
pub network: Network,
pub finality_depth: u32,
pub publication_timeout_seconds: u64,
pub rpc_url: String,
}Expand description
Configuration for the Bitcoin anchor layer
Fields§
§network: NetworkBitcoin network (mainnet, testnet, signet, regtest)
finality_depth: u32Required confirmation depth for finality
publication_timeout_seconds: u64Publication timeout (for censorship detection)
rpc_url: StringRPC endpoint URL
Implementations§
Trait Implementations§
Source§impl Clone for BitcoinConfig
impl Clone for BitcoinConfig
Source§fn clone(&self) -> BitcoinConfig
fn clone(&self) -> BitcoinConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BitcoinConfig
impl Debug for BitcoinConfig
Auto Trait Implementations§
impl Freeze for BitcoinConfig
impl RefUnwindSafe for BitcoinConfig
impl Send for BitcoinConfig
impl Sync for BitcoinConfig
impl Unpin for BitcoinConfig
impl UnsafeUnpin for BitcoinConfig
impl UnwindSafe for BitcoinConfig
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