Type Definition vault::service::DynBitcoinCoreApi
source · pub type DynBitcoinCoreApi = Arc<dyn BitcoinCoreApi + Send + Sync>;
Trait Implementations§
source§impl Backing for DynBitcoinCoreApi
impl Backing for DynBitcoinCoreApi
source§fn get_block_count<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<u32, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_block_count<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<u32, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Returns the height of the longest chain