Trait bdk::blockchain::ConfigurableBlockchain [−][src]
pub trait ConfigurableBlockchain: Blockchain + Sized { type Config: Debug; fn from_config(config: &Self::Config) -> Result<Self, Error>; }
Expand description
Trait for Blockchain
types that can be created given a configuration
Associated Types
Required methods
fn from_config(config: &Self::Config) -> Result<Self, Error>
[src]
fn from_config(config: &Self::Config) -> Result<Self, Error>
[src]Create a new instance given a configuration
Implementors
type Config = AnyBlockchainConfig
This is supported on crate feature
compact_filters
only.