[−][src]Function solana_libra_types::proof::verify_account_state
pub fn verify_account_state(
ledger_info: &LedgerInfo,
state_version: Version,
account_address_hash: HashValue,
account_state_blob: &Option<AccountStateBlob>,
account_state_proof: &AccountStateProof
) -> Result<()>
Verifies that the state of an account at version state_version
is correct using the provided
proof. If account_state_blob
is present, we expect the account to exist, otherwise we
expect the account to not exist.