pub type BitcoindRpcFactory = Box<dyn FnOnce(ChainId) -> Pin<Box<dyn Future<Output = Option<DynBitcoindRpc>> + Send>> + Send + Sync>;Expand description
Factory function type for creating a Bitcoin RPC client from a chain ID.
This allows applications to provide their own Bitcoin RPC client implementation based on the chain the federation operates on.
Aliased Typeยง
pub struct BitcoindRpcFactory(/* private fields */);