tagged_transaction_queue

package
v0.0.1-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateTransaction

func ValidateTransaction(dataPtr int32, dataLen int32) int64

ValidateTransaction validates an extrinsic at a given block. It takes two arguments: - dataPtr: Pointer to the data in the Wasm memory. - dataLen: Length of the data. which represent the SCALE-encoded tx source, extrinsic and block hash. Returns a pointer-size of the SCALE-encoded result whether the extrinsic is valid. [Specification](https://spec.polkadot.network/#sect-rte-validate-transaction)

Types

type TaggedTransactionQueue

type TaggedTransactionQueue interface {
	ValidateTransaction(dataPtr int32, dataLen int32) int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL