Skip to content

Commit 118ca41

Browse files
committed
Update remaining config params
1 parent 46357f2 commit 118ca41

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

docs/setup-and-configure/configure-cheqd-node.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ offline = false
183183
# EnableDefaultSuggestedFee defines if the server should suggest fee by default.
184184
# If 'construction/medata' is called without gas limit and gas price,
185185
# suggested fee based on gas-to-suggest and denom-to-suggest will be given.
186-
enable-fee-suggestion = false
186+
enable-fee-suggestion = true
187187

188188
# GasToSuggest defines gas limit when calculating the fee
189-
gas-to-suggest = 200000
189+
gas-to-suggest = 360000
190190

191191
# DenomToSuggest defines the defult denom for fee suggestion.
192192
minimum-gas-prices = "50ncheq"
193-
denom-to-suggest = "uatom"
193+
denom-to-suggest = "ncheq"
194194

195195
###############################################################################
196196
### gRPC Configuration ###
@@ -221,7 +221,7 @@ max-send-msg-size = "2147483647"
221221

222222
# GRPCWebEnable defines if the gRPC-web should be enabled.
223223
# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.
224-
enable = true
224+
enable = false
225225

226226
# Address defines the gRPC-web server address to bind to.
227227
address = "localhost:9091"
@@ -284,10 +284,11 @@ max-txs = 5000
284284
Here are some of the most important parameters set in the config file above:
285285

286286
* Set the minimal acceptable gas prices (5000ncheq).
287-
* Keep the default pruning. See more pruning options [here](../validator-guide/pruning.md)
288-
* Enable REST and gRPC servers
289-
* Enable Prometheus server and reports some basic node metrics
290-
* Keep the state sync off - could be easily turned on.
287+
* Keep the default pruning. See more pruning options [here](../validator-guide/pruning.md).
288+
* Enable REST and gRPC servers.
289+
* Enable Prometheus server and reports some basic app-layer metrics.
290+
* Enable fee sugestion feature and applies correct config paramters. This is useful feature to enforce if you plan to serve API traffic from your nodes.
291+
* Keep the state sync off, unless you want to serve statesync snapshots from your node.
291292
* Set the mempool limit to 5000 txs. This should be sufficient to most use-cases.
292293

293294
See more details about cosmos-SDK configuration [here](https://docs.cosmos.network/v0.50/learn/advanced/config).
@@ -464,7 +465,7 @@ experimental_close_on_slow_client = false
464465
timeout_broadcast_tx_commit = "10s"
465466

466467
# Maximum size of request body, in bytes
467-
max_body_bytes = 1000000
468+
max_body_bytes = 10485760
468469

469470
# Maximum size of request header, in bytes
470471
max_header_bytes = 1048576
@@ -529,13 +530,13 @@ persistent_peers_max_dial_period = "0s"
529530
flush_throttle_timeout = "100ms"
530531

531532
# Maximum size of a message packet payload, in bytes
532-
max_packet_msg_payload_size = 10240
533+
max_packet_msg_payload_size = 10485760
533534

534535
# Rate at which packets can be sent, in bytes/second
535-
send_rate = 20000000
536+
send_rate = 1000000000
536537

537538
# Rate at which packets can be received, in bytes/second
538-
recv_rate = 20000000
539+
recv_rate = 1000000000
539540

540541
# Set true to enable the peer-exchange reactor
541542
pex = true
@@ -687,7 +688,7 @@ timeout_precommit_delta = "500ms"
687688
# How long we wait after committing a block, before starting on the new
688689
# height (this gives us a chance to receive some more precommits, even
689690
# though we already have +2/3).
690-
timeout_commit = "1s"
691+
timeout_commit = "5s"
691692

692693
# How many blocks to look back to check existence of the node's consensus votes before joining consensus
693694
# When non-zero, the node will panic upon restart
@@ -776,6 +777,5 @@ Let's take a look at some of the most important CometBFT configuration parameter
776777
* `private_peer_ids` - Useful for same use-case as above. Format is comma-separated node IDs.
777778
* `[statesync].*` - Statesync configuration, useful when starting node from scratch (to save up on storage) or recovering. We have statesync servers available at `https://eu-rpc.cheqd.net:443` and `https://ap-rpc.cheqd.net:443` for mainnet and `https://eu-rpc.cheqd.network:443` and `https://ap-rpc.cheqd.network:443` for testnet.
778779
* `consensus.double_sign_check_height` - Some node operators experienced some issues during upgrades if this was set to any other value than 0.
779-
* `discard_abci_responses` - If enabled, this will disable keeping ABCI responses in state storage, which should help reducing the storage requirements.
780780

781781
See more details about CometBFT configuration [here](https://docs.cometbft.com/v0.38/core/configuration).

0 commit comments

Comments
 (0)