Crate reth_chainspec

Source
Expand description

The spec of an Ethereum network

Modules§

  • Re-export for convenience The Arbitrary trait crate.

Macros§

  • Re-export for convenience Macro that defines different variants of a chain specific enum. See crate::Hardfork as an example.

Structs§

  • BaseFeeParams contains the config parameters that control block base fee computation
  • Either a known NamedChain or a EIP-155 chain ID.
  • Re-export for convenience Ordered list of a chain hardforks that implement Hardfork.
  • Current status of the blockchain’s head.
  • An Ethereum chain specification.
  • A helper to build custom chain specs
  • PoS deposit contract details.
  • Re-export for convenience A container for pretty-printing a list of hardforks.
  • Re-export for convenience Represents a forward-compatible ENR entry for including the forkid in a node record via EIP-868. Forward compatibility is achieved via EIP-8.
  • A type alias to a vector of tuples of Hardfork and BaseFeeParams, sorted by Hardfork activation order. This is used to specify dynamic EIP-1559 parameters for chains like Optimism.
  • Re-export for convenience Filter that describes the state of blockchain and can be used to check incoming ForkIds for compatibility.
  • Re-export for convenience CRC32 hash of all previous forks starting from genesis block.
  • Re-export for convenience A fork identifier as defined by EIP-2124. Serves as the chain compatibility identifier.
  • Re-export for convenience Represents a transition from one fork to another
  • Re-export for convenience Describes the current head block.

Enums§

Constants§

Statics§

Traits§

  • A trait for reading the current chainspec.
  • Trait representing type configuring a chain spec.
  • Re-export for convenience Helper methods for Ethereum forks.
  • Re-export for convenience Generic hardfork trait.
  • Re-export for convenience Generic trait over a set of ordered hardforks

Functions§