From 2f4c002acff2197bb54493eb7c4c507610ed6a18 Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Sun, 24 Jun 2018 23:54:34 -0400 Subject: [PATCH] Fix "bootstrapping" typos --- docs/introduction/howto.rst | 2 +- src/bin_node/node_config_file.ml | 2 +- src/lib_p2p/p2p.mli | 2 +- src/lib_shell/node.ml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/introduction/howto.rst b/docs/introduction/howto.rst index 7e915cb28..f848952b8 100644 --- a/docs/introduction/howto.rst +++ b/docs/introduction/howto.rst @@ -361,7 +361,7 @@ writing your own configuration file if needed. "min-connections": 50, - /* Targeted number of connections to reach when bootstraping / + /* Targeted number of connections to reach when bootstrapping / maintaining. */ "expected-connections": 100, diff --git a/src/bin_node/node_config_file.ml b/src/bin_node/node_config_file.ml index edf74d53d..d357969ea 100644 --- a/src/bin_node/node_config_file.ml +++ b/src/bin_node/node_config_file.ml @@ -186,7 +186,7 @@ let limit : P2p.limits Data_encoding.t = default_p2p_limits.min_connections) (dft "expected-connections" ~description: "Targeted number of connections to reach when \ - bootstraping / maintaining." + bootstrapping / maintaining." uint16 default_p2p_limits.expected_connections) (dft "max-connections" diff --git a/src/lib_p2p/p2p.mli b/src/lib_p2p/p2p.mli index 3a8a6f8aa..f441c7d4f 100644 --- a/src/lib_p2p/p2p.mli +++ b/src/lib_p2p/p2p.mli @@ -91,7 +91,7 @@ type limits = { (** Strict minimum number of connections (triggers an urgent maintenance) *) expected_connections : int ; - (** Targeted number of connections to reach when bootstraping / maintaining *) + (** Targeted number of connections to reach when bootstrapping / maintaining *) max_connections : int ; (** Maximum number of connections (exceeding peers are disconnected) *) diff --git a/src/lib_shell/node.ml b/src/lib_shell/node.ml index a6e546d54..26193cfe8 100644 --- a/src/lib_shell/node.ml +++ b/src/lib_shell/node.ml @@ -51,7 +51,7 @@ let init_p2p p2p_params = | Some (config, limits) -> let c_meta = init_connection_metadata (Some config) in let conn_metadata_cfg = connection_metadata_cfg c_meta in - lwt_log_notice "bootstraping chain..." >>= fun () -> + lwt_log_notice "bootstrapping chain..." >>= fun () -> P2p.create ~config ~limits peer_metadata_cfg