Returns true if discv4 discovery should be disabled.
(&self, discovery: &DiscoveryArgs)
| 1241 | |
| 1242 | /// Returns true if discv4 discovery should be disabled. |
| 1243 | pub const fn should_disable_discv4(&self, discovery: &DiscoveryArgs) -> bool { |
| 1244 | self.disable_discovery_v4 |
| 1245 | || discovery.disable_discovery |
| 1246 | || discovery.disable_discv4_discovery |
| 1247 | } |
| 1248 | |
| 1249 | /// Applies Base discovery settings to the reth network config builder. |
| 1250 | pub fn apply_to_network_builder<N>( |
no outgoing calls
no test coverage detected