create_bitcoin_interface

Function create_bitcoin_interface 

Source
pub fn create_bitcoin_interface(
    implementation_type: BitcoinImplementationType,
    config: &BitcoinConfig,
) -> Result<Arc<dyn BitcoinInterface + 'static>, Box<dyn StdError>>
Expand description

Create a new Bitcoin interface with the specified implementation type

This factory function creates and returns a Bitcoin interface implementation based on the requested type and configuration.

[AIR-3][BPC-3] Implementation according to official Bitcoin Improvement Proposals (BIPs)