Expand description
Fork-aware Ethereum protocol validation state.
Structs§
- Canonical
- Canonical wire form and type-specific structure were checked.
- Decoded
- Raw wire input was accepted by the codec.
- Fork
Spec - Ethereum fork rules selected for a validation operation.
- Fork
Validated - Fork-specific validity was checked.
- Sender
Recovered - Sender recovery succeeded.
- Transaction
- A transaction token whose validation state is tracked at compile time.
- Typed
Transaction Envelope - Borrowed EIP-2718 typed transaction shell.
- Unvalidated
Legacy Transaction - Borrowed legacy transaction decoded only into field domains.
- Validation
Context - Validation context that must be explicit for consensus-sensitive operations.
Enums§
- Feature
Error - Feature availability failure.
- Fork
Activation - Unambiguous fork activation rule.
- Fork
Error - Fork selection or activation failure.
- Legacy
Transaction Decode Error - Legacy transaction decode failure.
- Legacy
Transaction Decode Error Category - Stable high-level legacy transaction decode error categories.
- Legacy
Transaction Field - Legacy transaction field identifier.
- Legacy
Transaction To - Legacy transaction call/create target.
- Protocol
Error - Protocol validation failure.
- Protocol
Error Category - Stable high-level protocol error categories.
- Transaction
Envelope - Borrowed transaction envelope shell.
- Transaction
Envelope Error - Transaction envelope classification failure.
- Transaction
Envelope Error Category - Stable high-level transaction envelope error categories.
Constants§
- EIP_
2718_ MAX_ TYPED_ PREFIX - Largest single-byte EIP-2718 typed transaction prefix.
- EIP_
2718_ RESERVED_ PREFIX - Prefix reserved by EIP-2718 as a future extension sentinel.
- EIP_
2718_ SCALAR_ PREFIX_ START - First RLP scalar prefix that cannot be a typed transaction envelope or a legacy transaction list.
- EIP_
2718_ TYPED_ ZERO_ PREFIX - EIP-2718 byte value reserved by this crate for the legacy transaction domain.
- LEGACY_
TRANSACTION_ FIELD_ COUNT - Number of fields in a canonical legacy transaction RLP list.
- LEGACY_
TRANSACTION_ PREFIX_ START - First byte used by canonical RLP short-list legacy transactions.
Functions§
- decode_
legacy_ transaction - Decodes a canonical legacy transaction into unvalidated field domains.
- decode_
transaction_ envelope - Classifies a borrowed transaction envelope under explicit decode limits.