You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about the transaction pool implementation in op-rbuilder and would appreciate some clarification:
I'm trying to understand where the pool parameter comes from in the spawn_payload_builder_service function. From my code analysis, I can see:
// In flashblocks/service.rs line 75-80asyncfnspawn_payload_builder_service(self,ctx:&BuilderContext<Node>,pool:Pool,// <-- Where does this pool come from?
_:OpEvmConfig,) -> eyre::Result<PayloadBuilderHandle<<Node::TypesasNodeTypes>::Payload>>
It appears that the pool is configured in launcher.rs using OpPoolBuilder<FBPooledTransaction> and then passed by the Reth framework during node initialization. Is this understanding correct? So, the pool is PendingPool in Reth?