pub trait ProgramTestBanksClientExt {
    fn get_new_blockhash<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        blockhash: &'life1 Hash
    ) -> Pin<Box<dyn Future<Output = Result<(Hash, FeeCalculator)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; fn get_new_latest_blockhash<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        blockhash: &'life1 Hash
    ) -> Pin<Box<dyn Future<Output = Result<Hash>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required Methods

👎Deprecated since 1.9.0: Please use get_new_latest_blockhash instead

Get a new blockhash, similar in spirit to RpcClient::get_new_blockhash()

This probably should eventually be moved into BanksClient proper in some form

Get a new latest blockhash, similar in spirit to RpcClient::get_latest_blockhash()

Implementors