(
self,
ctx: &BuilderContext<Node>,
pool: Pool,
)
| 1291 | NetworkHandle<BasicNetworkPrimitives<PrimitivesTy<Node::Types>, PoolPooledTx<Pool>>>; |
| 1292 | |
| 1293 | async fn build_network( |
| 1294 | self, |
| 1295 | ctx: &BuilderContext<Node>, |
| 1296 | pool: Pool, |
| 1297 | ) -> eyre::Result<Self::Network> { |
| 1298 | let network_config = self.network_config(ctx)?; |
| 1299 | let network = NetworkManager::builder(network_config).await?; |
| 1300 | let handle = ctx.start_network(network, pool); |
| 1301 | info!(target: "reth::cli", enode=%handle.local_node_record(), "P2P networking initialized"); |
| 1302 | |
| 1303 | Ok(handle) |
| 1304 | } |
| 1305 | } |
| 1306 | |
| 1307 | /// A basic Base consensus builder. |
nothing calls this directly
no test coverage detected