(
self,
ctx: &BuilderContext<Node>,
pool: Pool,
)
| 1415 | NetworkHandle<BasicNetworkPrimitives<PrimitivesTy<Node::Types>, PoolPooledTx<Pool>>>; |
| 1416 | |
| 1417 | async fn build_network( |
| 1418 | self, |
| 1419 | ctx: &BuilderContext<Node>, |
| 1420 | pool: Pool, |
| 1421 | ) -> eyre::Result<Self::Network> { |
| 1422 | let network_config = self.network_config(ctx)?; |
| 1423 | let network = NetworkManager::builder(network_config).await?; |
| 1424 | let handle = ctx.start_network(network, pool); |
| 1425 | info!(target: "reth::cli", enode=%handle.local_node_record(), "P2P networking initialized"); |
| 1426 | |
| 1427 | Ok(handle) |
| 1428 | } |
| 1429 | } |
| 1430 | |
| 1431 | /// A basic Base consensus builder. |
nothing calls this directly
no test coverage detected