Expand description
Common abstracted types in Reth.
Re-exports§
pub use constants::gas_units::format_gas;
pub use constants::gas_units::format_gas_throughput;
pub use account::Account;
pub use account::Bytecode;
pub use receipt::FullReceipt;
pub use receipt::Receipt;
pub use transaction::execute::FillTxEnv;
pub use transaction::signed::FullSignedTx;
pub use transaction::signed::SignedTransaction;
pub use transaction::tx_type::FullTxType;
pub use transaction::tx_type::TxType;
pub use transaction::FullTransaction;
pub use transaction::Transaction;
pub use transaction::TransactionExt;
pub use block::body::BlockBody;
pub use block::body::FullBlockBody;
pub use block::header::BlockHeader;
pub use block::header::FullBlockHeader;
pub use block::Block;
pub use block::FullBlock;
pub use header::test_utils;
arbitrary
ortest-utils
pub use header::BlockWithParent;
pub use header::HeaderError;
pub use header::SealedHeader;
pub use size::InMemorySize;
pub use node::FullNodePrimitives;
pub use node::NodePrimitives;
pub use node::ReceiptTy;
Modules§
- Minimal account
- Block abstraction.
- Common constants. Ethereum protocol-related constants
- 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
Structs§
- 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.
- Ethereum Block header
- A data structure that uses Roaring Bitmaps to efficiently store a list of integers.
- A log consists of an address, and some log data.
- An Ethereum event log object.
- Account storage entry.
Enums§
- Primitives error type.
Traits§
- Maybe
Arbitrary test-utils
orarbitrary
Helper trait that requires arbitrary implementation if the feature is enabled. - 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.
Functions§
- Compute the logs bloom filter for the given logs.