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.
- this structure enables the chaining of multiple
PayloadBuilder
implementations, creating a hierarchical fallback system. It’s designed to be nestable, allowing for complex builder arrangements likeStack<Stack<A, B>, C>
with different - 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.
Enums§
- The possible outcomes of a payload building attempt.
- The possible outcomes of a payload building attempt without reused [
CachedReads
] - Tells the payload builder how to react to payload request if there’s no payload available yet.
- Represents the current state of a payload being built.
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.