clementine_core::metrics

Function get_rpc_tip_height

Source
pub async fn get_rpc_tip_height(
    rpc: &ExtendedBitcoinRpc,
) -> Result<u32, BridgeError>
Expand description

Get the current height of the chain as seen by Bitcoin Core RPC.