common_runtime::extensions

Module check_nonce

Source

Structs§

  • Nonce check and increment to give replay protection for transactions.

Enums§

  • Transaction operations from prepare to post_dispatch for the CheckNonce extension. This is used to determine whether the transaction extension weight should be refunded or not.
  • Transaction operations from validate to post_dispatch for the CheckNonce extension. This is used to determine whether the transaction extension weight should be refunded or not.

Functions§

  • Helper function to prepare a nonce for a given account.
  • Helper function to validate a nonce for a given account.