Struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig [−][src]
pub struct CompactFiltersBlockchainConfig { pub peers: Vec<BitcoinPeerConfig>, pub network: Network, pub storage_dir: String, pub skip_blocks: Option<usize>, }
This is supported on crate feature
compact_filters
only.Expand description
Configuration for a CompactFiltersBlockchain
Fields
peers: Vec<BitcoinPeerConfig>
List of peers to try to connect to for asking headers and filters
network: Network
Network used
storage_dir: String
Storage dir to save partially downloaded headers and full blocks
skip_blocks: Option<usize>
Optionally skip initial skip_blocks
blocks (default: 0)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CompactFiltersBlockchainConfig
impl Sync for CompactFiltersBlockchainConfig
impl Unpin for CompactFiltersBlockchainConfig
impl UnwindSafe for CompactFiltersBlockchainConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V