pub trait ProgramTestBanksClientExt {
// Required methods
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 Self: 'async_trait,
'life0: 'async_trait,
'life1: '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 Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Methods§
sourcefn 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
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
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 Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
👎Deprecated since 1.9.0: Please use
get_new_latest_blockhash
insteadGet a new blockhash, similar in spirit to RpcClient::get_new_blockhash()
This probably should eventually be moved into BanksClient proper in some form
sourcefn 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
Self: 'async_trait,
'life0: 'async_trait,
'life1: '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 Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Get a new latest blockhash, similar in spirit to RpcClient::get_latest_blockhash()