MCPcopy Create free account
hub / github.com/base/base / should_disable_discv4

Method should_disable_discv4

crates/execution/node/src/node.rs:1243–1247  ·  view source on GitHub ↗

Returns true if discv4 discovery should be disabled.

(&self, discovery: &DiscoveryArgs)

Source from the content-addressed store, hash-verified

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>(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected