paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.8k stars 1.03k forks source link

Extend PayloadBuilder Attributes with pool settings #10437

Open mattsse opened 3 weeks ago

mattsse commented 3 weeks ago

This type is the input type for the payload builder service

https://github.com/paradigmxyz/reth/blob/a0a2f357b1241e258d8f03ff90162cc0f46cfc6f/crates/ethereum/engine-primitives/src/payload.rs#L154-L154

currently, this uses all kinds of transactions from the pool https://github.com/paradigmxyz/reth/blob/a0a2f357b1241e258d8f03ff90162cc0f46cfc6f/crates/ethereum/payload/src/lib.rs#L289-L292

it would be nice to provide the builder with additional settings that restricts what transactions can be included, for example if we want to reuse this for rpc then we want to exclude private transactions.

greged93 commented 3 weeks ago

hey @mattsse, I'm down to try this

github-actions[bot] commented 15 hours ago

This issue is stale because it has been open for 21 days with no activity.