Expand description
Re-exported reth primitives
Modules§
- account
- Minimal account
- block
- Block abstraction.
- constants
- Common constants. Ethereum protocol-related constants
- crypto
- Crypto utilities.
- header
- Common header types
- node
- Node traits
- proofs
- Helper function for calculating Merkle proofs and hashes.
- receipt
- Receipt abstraction
- serde_
bincode_ compat - Bincode-compatible serde implementations for common abstracted types in Reth.
- size
- Heuristic size trait
- sync
- Lock synchronization primitives
- test_
utils - Utilities for testing.
- transaction
- Transaction abstraction
Structs§
- Account
- An Ethereum account.
- Bytecode
- Bytecode for an account.
- GotExpected
- A pair of values, one of which is expected and one of which is actual.
- GotExpected
Boxed - A pair of values, one of which is expected and one of which is actual.
- Header
- Ethereum Block header
- Log
- A log consists of an address, and some log data.
- LogData
- An Ethereum event log object.
- Receipt
With Bloom Receipt
with calculated bloom filter.- Recovered
- Signed object with recovered signer.
- Recovered
Block - A block with senders recovered from the block’s transactions.
- Sealed
Block - Sealed full block composed of the block’s header and body.
- Sealed
Header - Seals the header with the block hash.
- Storage
Entry - Account storage entry.
- Transaction
Meta - Additional fields in the context of a block that contains this mined transaction.
- With
Encoded - Generic wrapper with encoded Bytes, such as transaction data.
Enums§
- Header
Error - Errors that can occur during header sanity checks.
Traits§
- Alloy
Block Header - Trait for extracting specific Ethereum block data from a header
- Block
- Abstraction of block data type.
- Block
Body - Abstraction for block’s body.
- Block
Header - Abstraction of a block header.
- Fill
TxEnv - Loads transaction into execution environment.
- Full
Block - Helper trait that unifies all behaviour required by block to support full node operations.
- Full
Block Body - Helper trait that unifies all behaviour required by transaction to support full node operations.
- Full
Block Header - Helper trait that unifies all behaviour required by block header to support full node operations.
- Full
Node Primitives - Helper trait that sets trait bounds on
NodePrimitives
. - Full
Receipt - Helper trait that unifies all behaviour required by receipt to support full node operations.
- Full
Signed Tx - Helper trait that unifies all behaviour required by block to support full node operations.
- Full
Transaction - Helper trait that unifies all behaviour required by transaction to support full node operations.
- InMemory
Size - Trait for calculating a heuristic for the in-memory size of a struct.
- Maybe
Compact - Helper trait that requires database encoding implementation since
reth-codec
feature is enabled. - Maybe
Serde - Helper trait that requires de-/serialize implementation since
serde
feature is enabled. - Maybe
Serde Bincode Compat - Helper trait that requires serde bincode compatibility implementation.
- Node
Primitives - Configures all the primitive types of the node.
- Receipt
- Abstraction of a receipt.
- Signed
Transaction - A signed transaction.
- Transaction
- Abstraction of a transaction.
Functions§
- format_
gas - Returns a formatted gas log, showing either:
- format_
gas_ throughput - Returns a formatted gas throughput log, showing either:
- logs_
bloom - Compute the logs bloom filter for the given logs.
Type Aliases§
- BlockTy
- Helper adapter type for accessing
NodePrimitives
block types. - BodyTy
- Helper adapter type for accessing
NodePrimitives
block body types. - Header
Ty - Helper adapter type for accessing
NodePrimitives
block header types. - Receipt
Ty - Helper adapter type for accessing
NodePrimitives
receipt types. - Sealed
Header For - Type alias for
SealedHeader
generic over theBlockHeader
type ofNodePrimitives
. - TxTy
- Helper adapter type for accessing
NodePrimitives
signed transaction types.