fedimint_bitcoind

Trait IBitcoindRpcFactory

Source
pub trait IBitcoindRpcFactory:
    Debug
    + Send
    + Sync {
    // Required method
    fn create_connection(
        &self,
        url: &SafeUrl,
        handle: TaskHandle,
    ) -> Result<DynBitcoindRpc>;
}
Expand description

Trait for creating new bitcoin RPC clients

Required Methods§

Source

fn create_connection( &self, url: &SafeUrl, handle: TaskHandle, ) -> Result<DynBitcoindRpc>

Creates a new bitcoin RPC client connection

Implementors§