Expand description
Command for generating large blocks by merging transactions from consecutive real blocks.
This command fetches consecutive blocks from an RPC until a target gas usage is reached,
takes block 0 as the “base” payload, concatenates transactions from subsequent blocks,
and saves the result to disk as a BigBlockPayload JSON file containing the merged
[ExecutionData] and environment switches at each block boundary.
Structs§
- BigBlock
Payload - A merged big block payload with environment switches at block boundaries.
- Collection
Result - Result of collecting transactions from blocks.
- Command
reth bench generate-big-blockcommand- RawTransaction
- A single transaction with its gas used and raw encoded bytes.
- RpcTransaction
Source - RPC-based transaction source that fetches from a remote node.
- Transaction
Collector - Collects transactions from a source up to a target gas usage.
Traits§
- Transaction
Source - Abstraction over sources of transactions for big block generation.
Functions§
- compute_
payload_ block_ hash - Computes the block hash for an [
ExecutionData] by converting it to a raw block and hashing the header. - fetch_
block_ 🔒access_ list - merge_
account_ 🔒changes - merge_
block_ 🔒access_ list - merge_
slot_ 🔒changes - shift_
account_ 🔒changes