Trait reth::builder::components::PoolBuilder
source · pub trait PoolBuilder<Node>: Sendwhere
Node: FullNodeTypes,{
type Pool: TransactionPool + Unpin + 'static;
// Required method
fn build_pool(
self,
ctx: &BuilderContext<Node>,
) -> impl Future<Output = Result<Self::Pool, Report>> + Send;
}
Expand description
A type that knows how to build the transaction pool.
Required Associated Types§
sourcetype Pool: TransactionPool + Unpin + 'static
type Pool: TransactionPool + Unpin + 'static
The transaction pool to build.
Required Methods§
sourcefn build_pool(
self,
ctx: &BuilderContext<Node>,
) -> impl Future<Output = Result<Self::Pool, Report>> + Send
fn build_pool( self, ctx: &BuilderContext<Node>, ) -> impl Future<Output = Result<Self::Pool, Report>> + Send
Creates the transaction pool.
Object Safety§
This trait is not object safe.