mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix repeat words (#8916)
This commit is contained in:
@ -190,7 +190,7 @@ impl ConfigBuilder {
|
||||
self
|
||||
}
|
||||
|
||||
/// Sets the the number of times at which to run boost lookup queries to bootstrap the node.
|
||||
/// Sets the number of times at which to run boost lookup queries to bootstrap the node.
|
||||
pub const fn bootstrap_lookup_countdown(mut self, counts: u64) -> Self {
|
||||
self.bootstrap_lookup_countdown = Some(counts);
|
||||
self
|
||||
|
||||
@ -67,7 +67,7 @@ pub const DEFAULT_MIN_TARGET_KBUCKET_INDEX: usize = 0;
|
||||
pub struct Discv5 {
|
||||
/// sigp/discv5 node.
|
||||
discv5: Arc<discv5::Discv5>,
|
||||
/// [`IpMode`] of the the `RLPx` network.
|
||||
/// [`IpMode`] of the `RLPx` network.
|
||||
rlpx_ip_mode: IpMode,
|
||||
/// Key used in kv-pair to ID chain, e.g. 'opstack' or 'eth'.
|
||||
fork_key: Option<&'static [u8]>,
|
||||
|
||||
@ -1306,7 +1306,7 @@ impl RpcServerConfig {
|
||||
|
||||
/// Returns true if any server is configured.
|
||||
///
|
||||
/// If no server is configured, no server will be be launched on [`RpcServerConfig::start`].
|
||||
/// If no server is configured, no server will be launched on [`RpcServerConfig::start`].
|
||||
pub const fn has_server(&self) -> bool {
|
||||
self.http_server_config.is_some() ||
|
||||
self.ws_server_config.is_some() ||
|
||||
|
||||
Reference in New Issue
Block a user