Crate reth_basic_payload_builder
source ·Expand description
A basic payload generator for reth.
Structs§
- A basic payload job that continuously builds a payload with the best transactions from the pool.
- The [
PayloadJobGenerator
] that createsBasicPayloadJob
s. - Settings for the
BasicPayloadJobGenerator
. - A collection of arguments used for building payloads.
- A marker that can be used to cancel a job.
- Static config for how to build a payload.
- Restricts how many generator tasks can be executed at once.
- A future that resolves to the result of the block building job.
- Pre-filled [
CachedReads
] for a specific block. - The future that returns the best payload to be served to the consensus layer.
- Represents the outcome of committing withdrawals to the runtime database and post state. Pre-shanghai these are
None
values.
Enums§
- The possible outcomes of a payload building attempt.
- Tells the payload builder how to react to payload request if there’s no payload available yet.
Traits§
- A trait for building payloads that encapsulate Ethereum transactions.
Functions§
- Executes the withdrawals and commits them to the runtime Database and
BundleState
. - Checks if the new payload is better than the current best.