Export the CheckTransactionSanity function.