Expand description
Transaction types.
Modules§
- serde_
bincode_ compat serde-bincode-compat
Bincode-compatible transaction type serde implementations. - Handling transaction signature operations, including signature recovery, applying chain IDs, and EIP-2 validation.
- Utility functions for signature.
Structs§
- Signed transaction with recovered signer.
- Additional fields in the context of a block that contains this transaction.
- Signed transaction.
- Generic wrapper with encoded Bytes, such as transaction data.
Enums§
- Represents error variants that can happen when trying to validate a transaction.
- All possible transactions that can be included in a response to
GetPooledTransactions
. A response toGetPooledTransactions
. This can include either a blob transaction, or a non-4844 signed transaction. - A raw transaction.
- Represents error variants that can happen when trying to convert a transaction to pooled transaction.
- Represents error variants than can happen when trying to convert a recovered transaction.
- Transaction Type
Constants§
- COMPACT_
EXTENDED_ IDENTIFIER_ FLAG reth-codec
For backwards compatibility purposes only 2 bits of the type are encoded in the identifier parameter. In the case of aCOMPACT_EXTENDED_IDENTIFIER_FLAG
, the full transaction type is read from the buffer as a single byte. - COMPACT_
IDENTIFIER_ EIP1559 reth-codec
Identifier parameter for EIP-1559 transaction - COMPACT_
IDENTIFIER_ EIP2930 reth-codec
Identifier parameter for EIP-2930 transaction - COMPACT_
IDENTIFIER_ LEGACY reth-codec
Identifier parameter for legacy transaction
Statics§
- Expected number of transactions where we can expect a speed-up by recovering the senders in parallel.
Traits§
- Implements behaviour to fill a [
TxEnv
] from another transaction. - Extension trait for [
SignedTransaction
] to convert it intoRecoveredTx
.
Functions§
- Recover signer address from message hash. This ensures that the signature S value is greater than
secp256k1n / 2
, as specified in EIP-2. - Recover signer from message hash, without ensuring that the signature has a low
s
value. - Recovers a list of signers from a transaction list iterator.
- Recovers a list of signers from a transaction list iterator without ensuring that the signature has a low
s
value.
Type Aliases§
- A signed pooled transaction with recovered signer.
- Type alias kept for backward compatibility.