BitcoindRpcNoChainIdFactory

Type Alias BitcoindRpcNoChainIdFactory 

Source
pub type BitcoindRpcNoChainIdFactory = Arc<dyn Fn(SafeUrl) -> Pin<Box<dyn Future<Output = Option<DynBitcoindRpc>> + Send>> + Send + Sync>;
Expand description

Factory function type for creating a Bitcoin RPC client from a URL.

This is used when the federation does not have ChainId support yet. The factory receives a URL (typically from the module config) and can be called to get an RPC client.

Aliased Typeยง

pub struct BitcoindRpcNoChainIdFactory { /* private fields */ }