Variants§
Implementations§
source§impl BlockhashQuery
impl BlockhashQuery
pub fn new(
blockhash: Option<Hash>,
sign_only: bool,
nonce_account: Option<Pubkey>
) -> Self
pub fn new_from_matches(matches: &ArgMatches<'_>) -> Self
pub fn get_blockhash_and_fee_calculator(
&self,
rpc_client: &RpcClient,
commitment: CommitmentConfig
) -> Result<(Hash, FeeCalculator), Box<dyn Error>>
👎Deprecated since 1.9.0: Please use
get_blockhash
insteadpub fn get_blockhash(
&self,
rpc_client: &RpcClient,
commitment: CommitmentConfig
) -> Result<Hash, Box<dyn Error>>
Trait Implementations§
source§impl Debug for BlockhashQuery
impl Debug for BlockhashQuery
source§impl Default for BlockhashQuery
impl Default for BlockhashQuery
source§impl PartialEq<BlockhashQuery> for BlockhashQuery
impl PartialEq<BlockhashQuery> for BlockhashQuery
source§fn eq(&self, other: &BlockhashQuery) -> bool
fn eq(&self, other: &BlockhashQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.