Deprecate more Fee/Blockhash APIs (#21140)

This commit is contained in:
Jack May
2021-11-02 16:38:23 -07:00
committed by GitHub
parent b9eee66f94
commit 1adf255e3a
6 changed files with 105 additions and 18 deletions

View File

@ -52,6 +52,10 @@ pub trait Banks {
address: Pubkey,
commitment: CommitmentLevel,
) -> Option<Account>;
async fn get_latest_blockhash_with_context() -> Hash;
async fn get_latest_blockhash_with_commitment_and_context(
commitment: CommitmentLevel,
) -> Option<(Hash, u64)>;
async fn get_fee_for_message_with_commitment_and_context(
commitment: CommitmentLevel,
message: Message,