mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: NodeTypesWithDB (#10683)
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use reth::{
|
||||
api::NodeTypes,
|
||||
builder::{components::PoolBuilder, BuilderContext, FullNodeTypes},
|
||||
chainspec::ChainSpec,
|
||||
cli::Cli,
|
||||
providers::CanonStateSubscriptions,
|
||||
transaction_pool::{
|
||||
@ -45,7 +47,7 @@ pub struct CustomPoolBuilder {
|
||||
/// This will be used to build the transaction pool and its maintenance tasks during launch.
|
||||
impl<Node> PoolBuilder<Node> for CustomPoolBuilder
|
||||
where
|
||||
Node: FullNodeTypes,
|
||||
Node: FullNodeTypes<Types: NodeTypes<ChainSpec = ChainSpec>>,
|
||||
{
|
||||
type Pool = EthTransactionPool<Node::Provider, InMemoryBlobStore>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user