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

Method should_disable_discv4

crates/execution/node/src/node.rs:1115–1119  ·  view source on GitHub ↗

Returns true if discv4 discovery should be disabled.

(&self, discovery: &DiscoveryArgs)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected