Expand description
Ethereum fork types used in reth.
This crate contains Ethereum fork types and helper functions.
§Feature Flags
arbitrary
: Addsproptest
andarbitrary
support for primitive types.
Re-exports§
pub use arbitrary;
arbitrary
Macros§
- Macro that defines different variants of a chain specific enum. See
crate::Hardfork
as an example.
Structs§
- 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
- Describes the current head block.
Enums§
- The name of an Ethereum hardfork.
- The condition at which a fork is activated.
- How to filter forks.
- Reason for rejecting provided
ForkId
.
Statics§
- Dev hardforks
Traits§
- Helper methods for Ethereum forks.
- Generic hardfork trait.
- Generic trait over a set of ordered hardforks