Returns true if discv4 discovery should be disabled.
(&self, discovery: &DiscoveryArgs)
| 1113 | |
| 1114 | /// Returns true if discv4 discovery should be disabled. |
| 1115 | pub const fn should_disable_discv4(&self, discovery: &DiscoveryArgs) -> bool { |
| 1116 | self.disable_discovery_v4 |
| 1117 | || discovery.disable_discovery |
| 1118 | || discovery.disable_discv4_discovery |
| 1119 | } |
| 1120 | |
| 1121 | /// Applies Base discovery settings to the reth network config builder. |
| 1122 | pub fn apply_to_network_builder<N>( |
no outgoing calls
no test coverage detected