Expand description
Re-exported primitive types
Modules§
- Minimal account
- The
Arbitrary
trait crate. - Block abstraction.
- Common constants. Ethereum protocol-related constants
- Crypto utilities.
- Common header types
- Node traits
- Receipt abstraction
- serde_
bincode_ compat serde-bincode-compat
Bincode-compatible serde implementations for common abstracted types in Reth. - Heuristic size trait
- Transaction abstraction
Macros§
- Macro that defines different variants of a chain specific enum. See
crate::Hardfork
as an example.
Structs§
- An Ethereum account.
- Bytecode for an account.
- Ordered list of a chain hardforks that implement
Hardfork
. - A container for pretty-printing a list of hardforks.
- Represents a forward-compatible ENR entry for including the forkid in a node record via EIP-868. Forward compatibility is achieved via EIP-8.
- Filter that describes the state of blockchain and can be used to check incoming
ForkId
s for compatibility. CRC32
hash of all previous forks starting from genesis block.- A fork identifier as defined by EIP-2124. Serves as the chain compatibility identifier.
- Represents a transition from one fork to another
- A pair of values, one of which is expected and one of which is actual.
- A pair of values, one of which is expected and one of which is actual.
- Describes the current head block.
- Ethereum Block header
- A log consists of an address, and some log data.
- An Ethereum event log object.
- A
Header
that is sealed at a precalculated hash, useSealedHeader::unseal()
if you want to modify header. - Account storage entry.
- Generic wrapper with encoded Bytes, such as transaction data.
Enums§
- The name of an Ethereum hardfork.
- The condition at which a fork is activated.
- How to filter forks.
- Errors that can occur during header sanity checks.
- Reason for rejecting provided
ForkId
.
Statics§
- Dev hardforks
Traits§
- Abstraction of block data type.
- Abstraction for block’s body.
- Abstraction of a block header.
- Helper methods for Ethereum forks.
- Loads transaction into execution environment.
- Helper trait that unifies all behaviour required by block to support full node operations.
- Helper trait that unifies all behaviour required by transaction to support full node operations.
- Helper trait that unifies all behaviour required by block header to support full node operations.
- Helper trait that sets trait bounds on
NodePrimitives
. - Helper trait that unifies all behaviour required by receipt to support full node operations.
- Helper trait that unifies all behaviour required by block to support full node operations.
- Helper trait that unifies all behaviour required by transaction to support full node operations.
- Generic hardfork trait.
- Generic trait over a set of ordered hardforks
- Trait for calculating a heuristic for the in-memory size of a struct.
- Maybe
Compact reth-codec
Helper trait that requires database encoding implementation sincereth-codec
feature is enabled. - Maybe
Serde serde
Helper trait that requires de-/serialize implementation sinceserde
feature is enabled. - Maybe
Serde Bincode Compat serde-bincode-compat
Helper trait that requires serde bincode compatibility implementation. - Configures all the primitive types of the node.
- Abstraction of a receipt.
- A signed transaction.
- Abstraction of a transaction.
Functions§
- Returns a formatted gas log, showing either:
- Returns a formatted gas throughput log, showing either:
- Compute the logs bloom filter for the given logs.
Type Aliases§
- Helper adapter type for accessing
NodePrimitives
block body types. - Helper adapter type for accessing
NodePrimitives
block header types. - Helper adapter type for accessing
NodePrimitives
receipt types.