Expand description
A basic payload generator for reth.
Structs§
- Basic
Payload Job - A basic payload job that continuously builds a payload with the best transactions from the pool.
- Basic
Payload JobGenerator - The [
PayloadJobGenerator
] that createsBasicPayloadJob
s. - Basic
Payload JobGenerator Config - Settings for the
BasicPayloadJobGenerator
. - Better
Payload Emitter - Emits events when a better payload is built. Delegates the actual payload building
to an inner
PayloadBuilder
. - Build
Arguments - A collection of arguments used for building payloads.
- Payload
Builder Stack - 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 - Payload
Config - Static config for how to build a payload.
- Payload
Task Guard - Restricts how many generator tasks can be executed at once.
- Pending
Payload - A future that resolves to the result of the block building job.
- Precached
State - Pre-filled [
CachedReads
] for a specific block. - Resolve
Best Payload - The future that returns the best payload to be served to the consensus layer.
Enums§
- Build
Outcome - The possible outcomes of a payload building attempt.
- Build
Outcome Kind - The possible outcomes of a payload building attempt without reused [
CachedReads
] - Missing
Payload Behaviour - Tells the payload builder how to react to payload request if there’s no payload available yet.
- Payload
State - Represents the current state of a payload being built.
Traits§
- Payload
Builder - A trait for building payloads that encapsulate Ethereum transactions.
Functions§
- is_
better_ payload - Checks if the new payload is better than the current best.
Type Aliases§
- Header
ForPayload - Helper to access [
NodePrimitives::BlockHeader
] fromPayloadBuilder::BuiltPayload
.