[−][src]Function solana_libra_types::proof::verify_signed_transaction
pub fn verify_signed_transaction(
ledger_info: &LedgerInfo,
signed_transaction_hash: HashValue,
event_root_hash: Option<HashValue>,
transaction_version: Version,
signed_transaction_proof: &SignedTransactionProof
) -> Result<()>
Verifies that a SignedTransaction
with hash value of signed_transaction_hash
is the version transaction_version
transaction in the ledger using the provided proof.
If event_root_hash is provided, it's also verified against the proof.