Fix "bootstrapping" typos
This commit is contained in:
parent
259c97bc9c
commit
2f4c002acf
@ -361,7 +361,7 @@ writing your own configuration file if needed.
|
|||||||
|
|
||||||
"min-connections": 50,
|
"min-connections": 50,
|
||||||
|
|
||||||
/* Targeted number of connections to reach when bootstraping /
|
/* Targeted number of connections to reach when bootstrapping /
|
||||||
maintaining. */
|
maintaining. */
|
||||||
|
|
||||||
"expected-connections": 100,
|
"expected-connections": 100,
|
||||||
|
@ -186,7 +186,7 @@ let limit : P2p.limits Data_encoding.t =
|
|||||||
default_p2p_limits.min_connections)
|
default_p2p_limits.min_connections)
|
||||||
(dft "expected-connections"
|
(dft "expected-connections"
|
||||||
~description: "Targeted number of connections to reach when \
|
~description: "Targeted number of connections to reach when \
|
||||||
bootstraping / maintaining."
|
bootstrapping / maintaining."
|
||||||
uint16
|
uint16
|
||||||
default_p2p_limits.expected_connections)
|
default_p2p_limits.expected_connections)
|
||||||
(dft "max-connections"
|
(dft "max-connections"
|
||||||
|
@ -91,7 +91,7 @@ type limits = {
|
|||||||
(** Strict minimum number of connections (triggers an urgent maintenance) *)
|
(** Strict minimum number of connections (triggers an urgent maintenance) *)
|
||||||
|
|
||||||
expected_connections : int ;
|
expected_connections : int ;
|
||||||
(** Targeted number of connections to reach when bootstraping / maintaining *)
|
(** Targeted number of connections to reach when bootstrapping / maintaining *)
|
||||||
|
|
||||||
max_connections : int ;
|
max_connections : int ;
|
||||||
(** Maximum number of connections (exceeding peers are disconnected) *)
|
(** Maximum number of connections (exceeding peers are disconnected) *)
|
||||||
|
@ -51,7 +51,7 @@ let init_p2p p2p_params =
|
|||||||
| Some (config, limits) ->
|
| Some (config, limits) ->
|
||||||
let c_meta = init_connection_metadata (Some config) in
|
let c_meta = init_connection_metadata (Some config) in
|
||||||
let conn_metadata_cfg = connection_metadata_cfg c_meta 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
|
P2p.create
|
||||||
~config ~limits
|
~config ~limits
|
||||||
peer_metadata_cfg
|
peer_metadata_cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user