Skip to content

Commit

Permalink
Annotate NodeConfig message fields
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Oct 27, 2023
1 parent 34e4da3 commit 8d610d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/libs/schema/proto/executor/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ message ExecutorConfig {
// and application-specific settings (e.g. metrics scraping).
message NodeConfig {
// Executor configuration.
optional ExecutorConfig executor = 1;
optional ExecutorConfig executor = 1; // [required]

// IP:port to serve metrics data for scraping.
// Use `0.0.0.0:<port>` to listen on all network interfaces.
// If not set, metrics data won't be served.
optional string metrics_server_addr = 2; // IpAddr
optional string metrics_server_addr = 2; // [optional] IpAddr

// Consensus network config.
optional ConsensusConfig consensus = 3;
optional ConsensusConfig consensus = 3; // [optional]
}

0 comments on commit 8d610d6

Please sign in to comment.