Creates the inner discv5 config with the Base protocol identity.
(&self, args: &RethNetworkArgs)
| 1291 | |
| 1292 | /// Creates the inner discv5 config with the Base protocol identity. |
| 1293 | pub fn discv5_config(&self, args: &RethNetworkArgs) -> reth_discv5::discv5::Config { |
| 1294 | let mut builder = reth_discv5::discv5::ConfigBuilder::new(Self::discv5_listen_config(args)); |
| 1295 | |
| 1296 | builder.protocol_identity(reth_discv5::discv5::ProtocolIdentity { |
| 1297 | protocol_id: BASE_V0_PROTOCOL_VERSION, |
| 1298 | ..Default::default() |
| 1299 | }); |
| 1300 | |
| 1301 | builder.build() |
| 1302 | } |
| 1303 | |
| 1304 | /// Creates the discv5 listen config from reth network arguments. |
| 1305 | /// |