pub trait ProgramTestBanksClientExt {
// Required method
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;
}👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Required Methods§
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,
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
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,
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Get a new latest blockhash, similar in spirit to RpcClient::get_latest_blockhash()