Expand description
Transaction validation abstractions.
Structs§
- A
TransactionValidator
implementation that validates ethereum transaction. Validator for Ethereum transactions. - A
TransactionValidator
implementation that validates ethereum transaction. A builder forTransactionValidationTaskExecutor
- A
TransactionValidator
implementation that validates ethereum transaction. Keeps track of whether certain forks are activated - A spawnable task that performs transaction validation. A
TransactionValidator
implementation that validates ethereum transaction. - A valid transaction in the pool.
- A spawnable task that performs transaction validation. A service that performs validation jobs.
Enums§
- A Result type returned after checking a transaction’s validity.
- Validation Errors that can occur during transaction validation.
- A wrapper type for a transaction that is valid and has an optional extracted EIP-4844 blob transaction sidecar.
Constants§
- Validation constants.
DEFAULT_MAX_TX_INPUT_BYTES
is the default maximum size a single transaction can have. This field has non-trivial consequences: larger transactions are significantly harder and more expensive to propagate; larger transactions also take more resources to validate whether they fit into the pool or not. Default is 4 timesTX_SLOT_BYTE_SIZE
, which defaults to 32 KiB, so 128 KiB. - Validation constants. Maximum bytecode to permit for a contract.
- Validation constants. Maximum initcode to permit in a creation transaction and create instructions.
- Validation constants.
TX_SLOT_BYTE_SIZE
is used to calculate how many data slots a single transaction takes up based on its byte size. The slots are used asDoS
protection, ensuring that validating a new transaction remains a constant operation (in reality O(maxslots), where max slots are 4 currently).
Traits§
- Provides support for validating transaction at any given state of the chain
Functions§
- A
TransactionValidator
implementation that validates ethereum transaction. Ensures that gas limit of the transaction exceeds the intrinsic gas of the transaction.