mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
feat(op): add builder methods for tx conditional and pool overrides (#14741)
This commit is contained in:
@@ -452,10 +452,20 @@ impl<T> Default for OpPoolBuilder<T> {
|
||||
}
|
||||
|
||||
impl<T> OpPoolBuilder<T> {
|
||||
fn with_enable_tx_conditional(mut self, enable_tx_conditional: bool) -> Self {
|
||||
/// Sets the `enable_tx_conditional` flag on the pool builder.
|
||||
pub fn with_enable_tx_conditional(mut self, enable_tx_conditional: bool) -> Self {
|
||||
self.enable_tx_conditional = enable_tx_conditional;
|
||||
self
|
||||
}
|
||||
|
||||
/// Sets the [`PoolBuilderConfigOverrides`] on the pool builder.
|
||||
pub fn with_pool_config_overrides(
|
||||
mut self,
|
||||
pool_config_overrides: PoolBuilderConfigOverrides,
|
||||
) -> Self {
|
||||
self.pool_config_overrides = pool_config_overrides;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl<Node, T> PoolBuilder<Node> for OpPoolBuilder<T>
|
||||
|
||||
Reference in New Issue
Block a user