Function near_runtime::validate_transaction [−][src]
pub fn validate_transaction(
config: &RuntimeConfig,
gas_price: Balance,
signed_transaction: &SignedTransaction,
verify_signature: bool,
current_protocol_version: ProtocolVersion
) -> Result<TransactionCost, RuntimeError>
Validates the transaction without using the state. It allows any node to validate a
transaction before forwarding it to the node that tracks the signer_id
account.