alloy-consensus

Crates.ioalloy-consensus
lib.rsalloy-consensus
version1.5.2
created_at2023-12-18 08:32:46.061697+00
updated_at2026-01-22 15:43:51.010766+00
descriptionEthereum consensus interface
homepagehttps://github.com/alloy-rs/alloy
repositoryhttps://github.com/alloy-rs/alloy
max_upload_size
id1073187
size617,209
core (github:alloy-rs:core)

documentation

README

alloy-consensus

Ethereum consensus interface.

This crate contains constants, types, and functions for implementing Ethereum EL consensus and communication. This includes headers, blocks, transactions, EIP-2718 envelopes, EIP-2930, EIP-4844, and more.

In general a type belongs in this crate if it is committed to in the EL block header. This includes:

  • transactions
  • blocks
  • headers
  • receipts
  • EIP-2718 envelopes.

Provenance

Much of this code was ported from reth-primitives as part of ongoing alloy migrations.

Commit count: 2552

cargo fmt