|
| 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 = "0unibi" |
| 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 (in number of nodes). |
| 63 | +iavl-cache-size = 781250 |
| 64 | + |
| 65 | +# IAVLDisableFastNode enables or disables the fast node feature of IAVL. |
| 66 | +# Default is false. |
| 67 | +iavl-disable-fastnode = false |
| 68 | + |
| 69 | +# IAVLLazyLoading enable/disable the lazy loading of iavl store. |
| 70 | +# Default is false. |
| 71 | +iavl-lazy-loading = false |
| 72 | + |
| 73 | +# AppDBBackend defines the database backend type to use for the application and snapshots DBs. |
| 74 | +# An empty string indicates that a fallback will be used. |
| 75 | +# The fallback is the db_backend value set in Tendermint's config.toml. |
| 76 | +app-db-backend = "" |
| 77 | + |
| 78 | +############################################################################### |
| 79 | +### Telemetry Configuration ### |
| 80 | +############################################################################### |
| 81 | + |
| 82 | +[telemetry] |
| 83 | + |
| 84 | +# Prefixed with keys to separate services. |
| 85 | +service-name = "" |
| 86 | + |
| 87 | +# Enabled enables the application telemetry functionality. When enabled, |
| 88 | +# an in-memory sink is also enabled by default. Operators may also enabled |
| 89 | +# other sinks such as Prometheus. |
| 90 | +enabled = false |
| 91 | + |
| 92 | +# Enable prefixing gauge values with hostname. |
| 93 | +enable-hostname = false |
| 94 | + |
| 95 | +# Enable adding hostname to labels. |
| 96 | +enable-hostname-label = false |
| 97 | + |
| 98 | +# Enable adding service to labels. |
| 99 | +enable-service-label = false |
| 100 | + |
| 101 | +# PrometheusRetentionTime, when positive, enables a Prometheus metrics sink. |
| 102 | +prometheus-retention-time = 0 |
| 103 | + |
| 104 | +# GlobalLabels defines a global set of name/value label tuples applied to all |
| 105 | +# metrics emitted using the wrapper functions defined in telemetry package. |
| 106 | +# |
| 107 | +# Example: |
| 108 | +# [["chain_id", "cosmoshub-1"]] |
| 109 | +global-labels = [ |
| 110 | +] |
| 111 | + |
| 112 | +############################################################################### |
| 113 | +### API Configuration ### |
| 114 | +############################################################################### |
| 115 | + |
| 116 | +[api] |
| 117 | + |
| 118 | +# Enable defines if the API server should be enabled. |
| 119 | +enable = false |
| 120 | + |
| 121 | +# Swagger defines if swagger documentation should automatically be registered. |
| 122 | +swagger = false |
| 123 | + |
| 124 | +# Address defines the API server to listen on. |
| 125 | +address = "tcp://localhost:1317" |
| 126 | + |
| 127 | +# MaxOpenConnections defines the number of maximum open connections. |
| 128 | +max-open-connections = 1000 |
| 129 | + |
| 130 | +# RPCReadTimeout defines the Tendermint RPC read timeout (in seconds). |
| 131 | +rpc-read-timeout = 10 |
| 132 | + |
| 133 | +# RPCWriteTimeout defines the Tendermint RPC write timeout (in seconds). |
| 134 | +rpc-write-timeout = 0 |
| 135 | + |
| 136 | +# RPCMaxBodyBytes defines the Tendermint maximum request body (in bytes). |
| 137 | +rpc-max-body-bytes = 1000000 |
| 138 | + |
| 139 | +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). |
| 140 | +enabled-unsafe-cors = false |
| 141 | + |
| 142 | +############################################################################### |
| 143 | +### Rosetta Configuration ### |
| 144 | +############################################################################### |
| 145 | + |
| 146 | +[rosetta] |
| 147 | + |
| 148 | +# Enable defines if the Rosetta API server should be enabled. |
| 149 | +enable = false |
| 150 | + |
| 151 | +# Address defines the Rosetta API server to listen on. |
| 152 | +address = ":8080" |
| 153 | + |
| 154 | +# Network defines the name of the blockchain that will be returned by Rosetta. |
| 155 | +blockchain = "app" |
| 156 | + |
| 157 | +# Network defines the name of the network that will be returned by Rosetta. |
| 158 | +network = "network" |
| 159 | + |
| 160 | +# Retries defines the number of retries when connecting to the node before failing. |
| 161 | +retries = 3 |
| 162 | + |
| 163 | +# Offline defines if Rosetta server should run in offline mode. |
| 164 | +offline = false |
| 165 | + |
| 166 | +# EnableDefaultSuggestedFee defines if the server should suggest fee by default. |
| 167 | +# If 'construction/medata' is called without gas limit and gas price, |
| 168 | +# suggested fee based on gas-to-suggest and denom-to-suggest will be given. |
| 169 | +enable-fee-suggestion = false |
| 170 | + |
| 171 | +# GasToSuggest defines gas limit when calculating the fee |
| 172 | +gas-to-suggest = 200000 |
| 173 | + |
| 174 | +# DenomToSuggest defines the defult denom for fee suggestion. |
| 175 | +# Price must be in minimum-gas-prices. |
| 176 | +denom-to-suggest = "uatom" |
| 177 | + |
| 178 | +############################################################################### |
| 179 | +### gRPC Configuration ### |
| 180 | +############################################################################### |
| 181 | + |
| 182 | +[grpc] |
| 183 | + |
| 184 | +# Enable defines if the gRPC server should be enabled. |
| 185 | +enable = false |
| 186 | + |
| 187 | +# Address defines the gRPC server address to bind to. |
| 188 | +address = "localhost:9090" |
| 189 | + |
| 190 | +# MaxRecvMsgSize defines the max message size in bytes the server can receive. |
| 191 | +# The default value is 10MB. |
| 192 | +max-recv-msg-size = "10485760" |
| 193 | + |
| 194 | +# MaxSendMsgSize defines the max message size in bytes the server can send. |
| 195 | +# The default value is math.MaxInt32. |
| 196 | +max-send-msg-size = "2147483647" |
| 197 | + |
| 198 | +############################################################################### |
| 199 | +### gRPC Web Configuration ### |
| 200 | +############################################################################### |
| 201 | + |
| 202 | +[grpc-web] |
| 203 | + |
| 204 | +# GRPCWebEnable defines if the gRPC-web should be enabled. |
| 205 | +# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op. |
| 206 | +enable = false |
| 207 | + |
| 208 | +# Address defines the gRPC-web server address to bind to. |
| 209 | +address = "localhost:9091" |
| 210 | + |
| 211 | +# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk). |
| 212 | +enable-unsafe-cors = false |
| 213 | + |
| 214 | +############################################################################### |
| 215 | +### State Sync Configuration ### |
| 216 | +############################################################################### |
| 217 | + |
| 218 | +# State sync snapshots allow other nodes to rapidly join the network without replaying historical |
| 219 | +# blocks, instead downloading and applying a snapshot of the application state at a given height. |
| 220 | +[state-sync] |
| 221 | + |
| 222 | +# snapshot-interval specifies the block interval at which local state sync snapshots are |
| 223 | +# taken (0 to disable). |
| 224 | +snapshot-interval = 0 |
| 225 | + |
| 226 | +# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all). |
| 227 | +snapshot-keep-recent = 2 |
| 228 | + |
| 229 | +############################################################################### |
| 230 | +### Store / State Streaming ### |
| 231 | +############################################################################### |
| 232 | + |
| 233 | +[store] |
| 234 | +streamers = [] |
| 235 | + |
| 236 | +[streamers] |
| 237 | +[streamers.file] |
| 238 | +keys = ["*", ] |
| 239 | +write_dir = "" |
| 240 | +prefix = "" |
| 241 | + |
| 242 | +# output-metadata specifies if output the metadata file which includes the abci request/responses |
| 243 | +# during processing the block. |
| 244 | +output-metadata = "true" |
| 245 | + |
| 246 | +# stop-node-on-error specifies if propagate the file streamer errors to consensus state machine. |
| 247 | +stop-node-on-error = "true" |
| 248 | + |
| 249 | +# fsync specifies if call fsync after writing the files. |
| 250 | +fsync = "false" |
| 251 | + |
| 252 | +############################################################################### |
| 253 | +### Mempool ### |
| 254 | +############################################################################### |
| 255 | + |
| 256 | +[mempool] |
| 257 | +# Setting max-txs to 0 will allow for a unbounded amount of transactions in the mempool. |
| 258 | +# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool. |
| 259 | +# Setting max_txs to a positive number (> 0) will limit the number of transactions in the mempool, by the specified amount. |
| 260 | +# |
| 261 | +# Note, this configuration only applies to SDK built-in app-side mempool |
| 262 | +# implementations. |
| 263 | +max-txs = 5000 |
| 264 | + |
| 265 | +############################################################################### |
| 266 | +### EVM Configuration ### |
| 267 | +############################################################################### |
| 268 | + |
| 269 | +[evm] |
| 270 | + |
| 271 | +# Tracer defines the 'vm.Tracer' type that the EVM will use when the node is run in |
| 272 | +# debug mode. To enable tracing use the '--evm.tracer' flag when starting your node. |
| 273 | +# Valid types are: json|struct|access_list|markdown |
| 274 | +tracer = "" |
| 275 | + |
| 276 | +# MaxTxGasWanted defines the gas wanted for each eth tx returned in ante handler in check tx mode. |
| 277 | +max-tx-gas-wanted = 0 |
| 278 | + |
| 279 | +[evm.tracer_opts] |
| 280 | + |
| 281 | +# Enable the capture of EVM memory state at each |
| 282 | +# execution step. This can be useful for debugging complex contracts but may |
| 283 | +# significantly increase the volume of logged data. |
| 284 | +memory = false |
| 285 | + |
| 286 | +# Enable the capture of contract storage changes. By default, storage |
| 287 | +# modifications are logged. Disabling storage capture can significantly reduce |
| 288 | +# log size for contracts with many storage operations. |
| 289 | +stack = true |
| 290 | + |
| 291 | +# Enable the capture of contract storage changes. |
| 292 | +storage = true |
| 293 | + |
| 294 | +# enable return-data capture |
| 295 | +return-data = false |
| 296 | + |
| 297 | +# enable debug capture |
| 298 | +debug = true |
| 299 | + |
| 300 | +# Maximum length of the tracer output. Zero means unlimited. |
| 301 | +limit = 0 |
| 302 | + |
| 303 | +############################################################################### |
| 304 | +### JSON RPC Configuration ### |
| 305 | +############################################################################### |
| 306 | + |
| 307 | +[json-rpc] |
| 308 | + |
| 309 | +# Enable defines if the gRPC server should be enabled. |
| 310 | +enable = false |
| 311 | + |
| 312 | +# Address defines the EVM RPC HTTP server address to bind to. |
| 313 | +address = "127.0.0.1:8545" |
| 314 | + |
| 315 | +# Address defines the EVM WebSocket server address to bind to. |
| 316 | +ws-address = "127.0.0.1:8546" |
| 317 | + |
| 318 | +# API defines a list of JSON-RPC namespaces that should be enabled |
| 319 | +# Example: "eth,txpool,net,debug,web3" |
| 320 | +api = "eth,net,web3" |
| 321 | + |
| 322 | +# GasCap sets a cap on gas that can be used in eth_call/estimateGas (0=infinite). Default: 25,000,000. |
| 323 | +gas-cap = 25000000 |
| 324 | + |
| 325 | +# EVMTimeout is the global timeout for eth_call. Default: 5s. |
| 326 | +evm-timeout = "5s" |
| 327 | + |
| 328 | +# TxFeeCap is the global tx-fee cap for send transaction. Default: 1eth. |
| 329 | +txfee-cap = 1 |
| 330 | + |
| 331 | +# FilterCap sets the global cap for total number of filters that can be created |
| 332 | +filter-cap = 200 |
| 333 | + |
| 334 | +# FeeHistoryCap sets the global cap for total number of blocks that can be fetched |
| 335 | +feehistory-cap = 100 |
| 336 | + |
| 337 | +# LogsCap defines the max number of results can be returned from single 'eth_getLogs' query. |
| 338 | +logs-cap = 10000 |
| 339 | + |
| 340 | +# BlockRangeCap defines the max block range allowed for 'eth_getLogs' query. |
| 341 | +block-range-cap = 10000 |
| 342 | + |
| 343 | +# HTTPTimeout is the read/write timeout of http json-rpc server. |
| 344 | +http-timeout = "30s" |
| 345 | + |
| 346 | +# HTTPIdleTimeout is the idle timeout of http json-rpc server. |
| 347 | +http-idle-timeout = "2m0s" |
| 348 | + |
| 349 | +# AllowUnprotectedTxs restricts unprotected (non EIP155 signed) transactions to be submitted via |
| 350 | +# the node's RPC when the global parameter is disabled. |
| 351 | +allow-unprotected-txs = false |
| 352 | + |
| 353 | +# MaxOpenConnections sets the maximum number of simultaneous connections |
| 354 | +# for the server listener. |
| 355 | +max-open-connections = 0 |
| 356 | + |
| 357 | +# EnableIndexer enables the custom transaction indexer for the EVM (ethereum transactions). |
| 358 | +enable-indexer = false |
| 359 | + |
| 360 | +# MetricsAddress defines the EVM Metrics server address to bind to. Pass --metrics in CLI to enable |
| 361 | +# Prometheus metrics path: /debug/metrics/prometheus |
| 362 | +metrics-address = "127.0.0.1:6065" |
| 363 | + |
| 364 | +# Upgrade height for fix of revert gas refund logic when transaction reverted. |
| 365 | +fix-revert-gas-refund-height = 0 |
| 366 | + |
| 367 | +############################################################################### |
| 368 | +### TLS Configuration ### |
| 369 | +############################################################################### |
| 370 | + |
| 371 | +[tls] |
| 372 | + |
| 373 | +# Certificate path defines the cert.pem file path for the TLS configuration. |
| 374 | +certificate-path = "" |
| 375 | + |
| 376 | +# Key path defines the key.pem file path for the TLS configuration. |
| 377 | +key-path = "" |
0 commit comments