Merge branch 'book-cli' of https://github.com/chong-he/lighthouse into book-cli

This commit is contained in:
chonghe
2023-10-05 21:37:51 +08:00
2 changed files with 10 additions and 10 deletions

View File

@@ -278,28 +278,28 @@ OPTIONS:
Specifies how many states from the freezer database should cache in memory [default: 1] Specifies how many states from the freezer database should cache in memory [default: 1]
--http-address <ADDRESS> --http-address <ADDRESS>
Set the listen address for the RESTful HTTP API server. [default: 127.0.0.1] Set the listen address for the RESTful HTTP API server.
--http-allow-origin <ORIGIN> --http-allow-origin <ORIGIN>
Set the value of the Access-Control-Allow-Origin response HTTP header. Use * to allow any origin (not Set the value of the Access-Control-Allow-Origin response HTTP header. Use * to allow any origin (not
recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of
this server (e.g., http://localhost:5052). this server (e.g., http://localhost:5052).
--http-duplicate-block-status <STATUS_CODE> --http-duplicate-block-status <STATUS_CODE>
Status code to send when a block that is already known is POSTed to the HTTP API. [default: 202] Status code to send when a block that is already known is POSTed to the HTTP API.
--http-enable-beacon-processor <BOOLEAN> --http-enable-beacon-processor <BOOLEAN>
The beacon processor is a scheduler which provides quality-of-service and DoS protection. When set to The beacon processor is a scheduler which provides quality-of-service and DoS protection. When set to
"true", HTTP API requests will be queued and scheduled alongside other tasks. When set to "false", HTTP API "true", HTTP API requests will be queued and scheduled alongside other tasks. When set to "false", HTTP API
responses will be executed immediately. [default: true] responses will be executed immediately.
--http-port <PORT> --http-port <PORT>
Set the listen TCP port for the RESTful HTTP API server. [default: 5052] Set the listen TCP port for the RESTful HTTP API server.
--http-spec-fork <FORK> --http-spec-fork <FORK>
Serve the spec for a specific hard fork on /eth/v1/config/spec. It should not be necessary to set this flag. Serve the spec for a specific hard fork on /eth/v1/config/spec. It should not be necessary to set this flag.
--http-sse-capacity-multiplier <N> --http-sse-capacity-multiplier <N>
Multiplier to apply to the length of HTTP server-sent-event (SSE) channels. Increasing this value can Multiplier to apply to the length of HTTP server-sent-event (SSE) channels. Increasing this value can
prevent messages from being dropped. [default: 1] prevent messages from being dropped.
--http-tls-cert <http-tls-cert> --http-tls-cert <http-tls-cert>
The path of the certificate to be used when serving the HTTP API server over TLS. The path of the certificate to be used when serving the HTTP API server over TLS.
@@ -346,14 +346,14 @@ OPTIONS:
forks from wasting our time and disk space, but could also cause unnecessary consensus failures, so is forks from wasting our time and disk space, but could also cause unnecessary consensus failures, so is
disabled by default. disabled by default.
--metrics-address <ADDRESS> --metrics-address <ADDRESS>
Set the listen address for the Prometheus metrics HTTP server. [default: 127.0.0.1] Set the listen address for the Prometheus metrics HTTP server.
--metrics-allow-origin <ORIGIN> --metrics-allow-origin <ORIGIN>
Set the value of the Access-Control-Allow-Origin response HTTP header. Use * to allow any origin (not Set the value of the Access-Control-Allow-Origin response HTTP header. Use * to allow any origin (not
recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of
this server (e.g., http://localhost:5054). this server (e.g., http://localhost:5054).
--metrics-port <PORT> --metrics-port <PORT>
Set the listen TCP port for the Prometheus metrics HTTP server. [default: 5054] Set the listen TCP port for the Prometheus metrics HTTP server.
--monitoring-endpoint <ADDRESS> --monitoring-endpoint <ADDRESS>
Enables the monitoring service for sending system metrics to a remote endpoint. This can be used to monitor Enables the monitoring service for sending system metrics to a remote endpoint. This can be used to monitor

View File

@@ -124,7 +124,7 @@ OPTIONS:
recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of
this server (e.g., http://localhost:5062). this server (e.g., http://localhost:5062).
--http-port <PORT> --http-port <PORT>
Set the listen TCP port for the RESTful HTTP API server. [default: 5062] Set the listen TCP port for the RESTful HTTP API server.
--latency-measurement-service <BOOLEAN> --latency-measurement-service <BOOLEAN>
Set to 'true' to enable a service that periodically attempts to measure latency to BNs. Set to 'false' to Set to 'true' to enable a service that periodically attempts to measure latency to BNs. Set to 'false' to
@@ -149,14 +149,14 @@ OPTIONS:
The maximum size (in MB) each log file can grow to before rotating. If set to 0, background file logging is The maximum size (in MB) each log file can grow to before rotating. If set to 0, background file logging is
disabled. [default: 200] disabled. [default: 200]
--metrics-address <ADDRESS> --metrics-address <ADDRESS>
Set the listen address for the Prometheus metrics HTTP server. [default: 127.0.0.1] Set the listen address for the Prometheus metrics HTTP server.
--metrics-allow-origin <ORIGIN> --metrics-allow-origin <ORIGIN>
Set the value of the Access-Control-Allow-Origin response HTTP header. Use * to allow any origin (not Set the value of the Access-Control-Allow-Origin response HTTP header. Use * to allow any origin (not
recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of recommended in production). If no value is supplied, the CORS allowed origin is set to the listen address of
this server (e.g., http://localhost:5064). this server (e.g., http://localhost:5064).
--metrics-port <PORT> --metrics-port <PORT>
Set the listen TCP port for the Prometheus metrics HTTP server. [default: 5064] Set the listen TCP port for the Prometheus metrics HTTP server.
--monitoring-endpoint <ADDRESS> --monitoring-endpoint <ADDRESS>
Enables the monitoring service for sending system metrics to a remote endpoint. This can be used to monitor Enables the monitoring service for sending system metrics to a remote endpoint. This can be used to monitor