Expand description
Ethereum fork types used in reth.
This crate contains Ethereum fork types and helper functions.
§Feature Flags
arbitrary
: Addsarbitrary
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.
- Re-exported EIP-2124 forkid types. Represents a forward-compatible ENR entry for including the forkid in a node record via EIP-868. Forward compatibility is achieved via EIP-8.
- Re-exported EIP-2124 forkid types. Filter that describes the state of blockchain and can be used to check incoming
ForkId
s for compatibility. - Re-exported EIP-2124 forkid types.
CRC32
hash of all previous forks starting from genesis block. - Re-exported EIP-2124 forkid types. A fork identifier as defined by EIP-2124. Serves as the chain compatibility identifier.
- Re-exported EIP-2124 forkid types. Represents a transition from one fork to another
- Re-exported EIP-2124 forkid types. Describes the current head block.
Enums§
- The name of an Ethereum hardfork.
- The condition at which a fork is activated.
- Re-exported EIP-2124 forkid types. How to filter forks.
- Re-exported EIP-2124 forkid types. 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