|
| 1 | +# This is a TOML config file. |
| 2 | +# For more information, see https://github.com/toml-lang/toml |
| 3 | + |
| 4 | +############################################################################### |
| 5 | +### Base Configuration ### |
| 6 | +############################################################################### |
| 7 | + |
| 8 | +# The minimum gas prices a validator is willing to accept for processing a |
| 9 | +# transaction. A transaction's fees must meet the minimum of any denomination |
| 10 | +# specified in this config (e.g. 0.25token1;0.0001token2). |
| 11 | +minimum-gas-prices = "0.002utia" |
| 12 | + |
| 13 | +# default: the last 362880 states are kept, pruning at 10 block intervals |
| 14 | +# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node) |
| 15 | +# everything: 2 latest states will be kept; pruning at 10 block intervals. |
| 16 | +# custom: allow pruning options to be manually specified through 'pruning-keep-recent', and 'pruning-interval' |
| 17 | +pruning = "default" |
| 18 | + |
| 19 | +# These are applied if and only if the pruning strategy is custom. |
| 20 | +pruning-keep-recent = "0" |
| 21 | +pruning-interval = "0" |
| 22 | + |
| 23 | +# HaltHeight contains a non-zero block height at which a node will gracefully |
| 24 | +# halt and shutdown that can be used to assist upgrades and testing. |
| 25 | +# |
| 26 | +# Note: Commitment of state will be attempted on the corresponding block. |
| 27 | +halt-height = 0 |
| 28 | + |
| 29 | +# HaltTime contains a non-zero minimum block time (in Unix seconds) at which |
| 30 | +# a node will gracefully halt and shutdown that can be used to assist upgrades |
| 31 | +# and testing. |
| 32 | +# |
| 33 | +# Note: Commitment of state will be attempted on the corresponding block. |
| 34 | +halt-time = 0 |
| 35 | + |
| 36 | +# MinRetainBlocks defines the minimum block height offset from the current |
| 37 | +# block being committed, such that all blocks past this offset are pruned |
| 38 | +# from Tendermint. It is used as part of the process of determining the |
| 39 | +# ResponseCommit.RetainHeight value during ABCI Commit. A value of 0 indicates |
| 40 | +# that no blocks should be pruned. |
| 41 | +# |
| 42 | +# This configuration value is only responsible for pruning Tendermint blocks. |
| 43 | +# It has no bearing on application state pruning which is determined by the |
| 44 | +# "pruning-*" configurations. |
| 45 | +# |
| 46 | +# Note: Tendermint block pruning is dependant on this parameter in conunction |
| 47 | +# with the unbonding (safety threshold) period, state pruning and state sync |
| 48 | +# snapshot parameters to determine the correct minimum value of |
| 49 | +# ResponseCommit.RetainHeight. |
| 50 | +min-retain-blocks = 0 |
| 51 | + |
| 52 | +# InterBlockCache enables inter-block caching. |
| 53 | +inter-block-cache = true |
| 54 | + |
| 55 | +# IndexEvents defines the set of events in the form {eventType}.{attributeKey}, |
| 56 | +# which informs Tendermint what to index. If empty, all events will be indexed. |
| 57 | +# |
| 58 | +# Example: |
| 59 | +# ["message.sender", "message.recipient"] |
| 60 | +index-events = [] |
| 61 | + |
| 62 | +# IavlCacheSize set the size of the iavl tree cache. |
| 63 | +# Default cache size is 50mb. |
| 64 | +iavl-cache-size = 781250 |
| 65 | + |
| 66 | +# IavlDisableFastNode enables or disables the fast node feature of IAVL. |
| 67 | +# Default is false. |
| 68 | +iavl-disable-fastnode = false |
| 69 | + |
| 70 | +# EXPERIMENTAL: IAVLLazyLoading enable/disable the lazy loading of iavl store. |
| 71 | +# Default is false. |
| 72 | +iavl-lazy-loading = false |
| 73 | + |
| 74 | +# AppDBBackend defines the database backend type to use for the application and snapshots DBs. |
| 75 | +# An empty string indicates that a fallback will be used. |
| 76 | +# First fallback is the deprecated compile-time types.DBBackend value. |
| 77 | +# Second fallback (if the types.DBBackend also isn't set), is the db-backend value set in Tendermint's config.toml. |
| 78 | +app-db-backend = "" |
| 79 | + |
| 80 | +############################################################################### |
| 81 | +### Telemetry Configuration ### |
| 82 | +############################################################################### |
| 83 | + |
| 84 | +[telemetry] |
| 85 | + |
| 86 | +# Prefixed with keys to separate services. |
| 87 | +service-name = "" |
| 88 | + |
| 89 | +# Enabled enables the application telemetry functionality. When enabled, |
| 90 | +# an in-memory sink is also enabled by default. Operators may also enabled |
| 91 | +# other sinks such as Prometheus. |
| 92 | +enabled = false |
| 93 | + |
| 94 | +# Enable prefixing gauge values with hostname. |
| 95 | +enable-hostname = false |
| 96 | + |
| 97 | +# Enable adding hostname to labels. |
| 98 | +enable-hostname-label = false |
| 99 | + |
| 100 | +# Enable adding service to labels. |
| 101 | +enable-service-label = false |
| 102 | + |
| 103 | +# PrometheusRetentionTime, when positive, enables a Prometheus metrics sink. |
| 104 | +prometheus-retention-time = 0 |
| 105 | + |
| 106 | +# GlobalLabels defines a global set of name/value label tuples applied to all |
| 107 | +# metrics emitted using the wrapper functions defined in telemetry package. |
| 108 | +# |
| 109 | +# Example: |
| 110 | +# [["chain_id", "cosmoshub-1"]] |
| 111 | +global-labels = [ |
| 112 | +] |
| 113 | + |
| 114 | +############################################################################### |
| 115 | +### API Configuration ### |
| 116 | +############################################################################### |
| 117 | + |
| 118 | +[api] |
| 119 | + |
| 120 | +# Enable defines if the API server should be enabled. |
| 121 | +enable = false |
| 122 | + |
| 123 | +# Swagger defines if swagger documentation should automatically be registered. |
| 124 | +swagger = false |
| 125 | + |
| 126 | +# Address defines the API server to listen on. |
| 127 | +address = "tcp://0.0.0.0:1317" |
| 128 | + |
| 129 | +# MaxOpenConnections defines the number of maximum open connections. |
| 130 | +max-open-connections = 1000 |
| 131 | + |
| 132 | +# RPCReadTimeout defines the Tendermint RPC read timeout (in seconds). |
| 133 | +rpc-read-timeout = 10 |
| 134 | + |
| 135 | +# RPCWriteTimeout defines the Tendermint RPC write timeout (in seconds). |
| 136 | +rpc-write-timeout = 0 |
| 137 | + |
| 138 | +# RPCMaxBodyBytes defines the Tendermint maximum response body (in bytes). |
| 139 | +rpc-max-body-bytes = 1000000 |
| 140 | + |
| 141 | +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). |
| 142 | +enabled-unsafe-cors = false |
| 143 | + |
| 144 | +############################################################################### |
| 145 | +### Rosetta Configuration ### |
| 146 | +############################################################################### |
| 147 | + |
| 148 | +[rosetta] |
| 149 | + |
| 150 | +# Enable defines if the Rosetta API server should be enabled. |
| 151 | +enable = false |
| 152 | + |
| 153 | +# Address defines the Rosetta API server to listen on. |
| 154 | +address = ":8080" |
| 155 | + |
| 156 | +# Network defines the name of the blockchain that will be returned by Rosetta. |
| 157 | +blockchain = "app" |
| 158 | + |
| 159 | +# Network defines the name of the network that will be returned by Rosetta. |
| 160 | +network = "network" |
| 161 | + |
| 162 | +# Retries defines the number of retries when connecting to the node before failing. |
| 163 | +retries = 3 |
| 164 | + |
| 165 | +# Offline defines if Rosetta server should run in offline mode. |
| 166 | +offline = false |
| 167 | + |
| 168 | +# EnableDefaultSuggestedFee defines if the server should suggest fee by default. |
| 169 | +# If 'construction/medata' is called without gas limit and gas price, |
| 170 | +# suggested fee based on gas-to-suggest and denom-to-suggest will be given. |
| 171 | +enable-fee-suggestion = false |
| 172 | + |
| 173 | +# GasToSuggest defines gas limit when calculating the fee |
| 174 | +gas-to-suggest = 210000 |
| 175 | + |
| 176 | +# DenomToSuggest defines the defult denom for fee suggestion. |
| 177 | +# Price must be in minimum-gas-prices. |
| 178 | +denom-to-suggest = "uatom" |
| 179 | + |
| 180 | +############################################################################### |
| 181 | +### gRPC Configuration ### |
| 182 | +############################################################################### |
| 183 | + |
| 184 | +[grpc] |
| 185 | + |
| 186 | +# Enable defines if the gRPC server should be enabled. |
| 187 | +enable = false |
| 188 | + |
| 189 | +# Address defines the gRPC server address to bind to. |
| 190 | +address = "0.0.0.0:9090" |
| 191 | + |
| 192 | +# MaxRecvMsgSize defines the max message size in bytes the server can receive. |
| 193 | +# The default value is 10MB. |
| 194 | +max-recv-msg-size = "20971520" |
| 195 | + |
| 196 | +# MaxSendMsgSize defines the max message size in bytes the server can send. |
| 197 | +# The default value is math.MaxInt32. |
| 198 | +max-send-msg-size = "2147483647" |
| 199 | + |
| 200 | +############################################################################### |
| 201 | +### gRPC Web Configuration ### |
| 202 | +############################################################################### |
| 203 | + |
| 204 | +[grpc-web] |
| 205 | + |
| 206 | +# GRPCWebEnable defines if the gRPC-web should be enabled. |
| 207 | +# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op. |
| 208 | +enable = false |
| 209 | + |
| 210 | +# Address defines the gRPC-web server address to bind to. |
| 211 | +address = "0.0.0.0:9091" |
| 212 | + |
| 213 | +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). |
| 214 | +enable-unsafe-cors = false |
| 215 | + |
| 216 | +############################################################################### |
| 217 | +### State Sync Configuration ### |
| 218 | +############################################################################### |
| 219 | + |
| 220 | +# State sync snapshots allow other nodes to rapidly join the network without replaying historical |
| 221 | +# blocks, instead downloading and applying a snapshot of the application state at a given height. |
| 222 | +[state-sync] |
| 223 | + |
| 224 | +# snapshot-interval specifies the block interval at which local state sync snapshots are |
| 225 | +# taken (0 to disable). |
| 226 | +snapshot-interval = 1500 |
| 227 | + |
| 228 | +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). |
| 229 | +snapshot-keep-recent = 2 |
| 230 | + |
| 231 | +############################################################################### |
| 232 | +### Store / State Streaming ### |
| 233 | +############################################################################### |
| 234 | + |
| 235 | +[store] |
| 236 | +streamers = [] |
| 237 | + |
| 238 | +[streamers] |
| 239 | +[streamers.file] |
| 240 | +keys = ["*", ] |
| 241 | +write_dir = "" |
| 242 | +prefix = "" |
| 243 | + |
| 244 | +# output-metadata specifies if output the metadata file which includes the abci request/responses |
| 245 | +# during processing the block. |
| 246 | +output-metadata = "true" |
| 247 | + |
| 248 | +# stop-node-on-error specifies if propagate the file streamer errors to consensus state machine. |
| 249 | +stop-node-on-error = "true" |
| 250 | + |
| 251 | +# fsync specifies if call fsync after writing the files. |
| 252 | +fsync = "false" |
0 commit comments