Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions docs/resources/node-and-rpc-setup-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $ sed -i.bak -E 's#^(timeout_commit[[:space:]]+=[[:space:]]+).*$#\1"5s"#' ~/.cro
```


### Enable API and gRPC server
### Enable API server

Edit `~/.cronos/config/app.toml` and update the following section
```toml
Expand All @@ -27,16 +27,20 @@ swagger = true

# Address defines the API server to listen on.
address = "tcp://0.0.0.0:1317"
```

### Disable gRPC server on public nodes

...
:::warning Recommendation:
We recommend to disable gRPC server on public nodes to reduce the attack vector
:::

Edit `~/.cronos/config/app.toml` and update the following section
```toml
[grpc]

# Enable defines if the gRPC server should be enabled.
enable = true

# Address defines the gRPC server address to bind to.
address = "0.0.0.0:9090"
enable = false
```

### Start the node
Expand Down