MCPcopy Create free account
hub / github.com/SeismicSystems/summit / block_time

Method block_time

types/src/reth.rs:364–367  ·  view source on GitHub ↗

Sets the block time for the Reth instance. Parses strings using This is only used if `dev` mode is enabled.

(mut self, block_time: &str)

Source from the content-addressed store, hash-verified

362 /// Parses strings using <https://docs.rs/humantime/latest/humantime/fn.parse_duration.html>
363 /// This is only used if `dev` mode is enabled.
364 pub fn block_time(mut self, block_time: &str) -> Self {
365 self.block_time = Some(block_time.to_string());
366 self
367 }
368
369 /// Disables discovery for the Reth instance.
370 pub const fn disable_discovery(mut self) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected