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

Type that contains the configuration

Required methods

Create a new instance given a configuration

Implementors

This is supported on crate feature compact_filters only.
This is supported on crate feature electrum only.
This is supported on crate feature esplora only.