github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/misc/deployments/test3.gno.land/overlay/config.toml (about) 1 # This is a TOML config file. 2 # For more information, see https://github.com/toml-lang/toml 3 4 ##### main base config options ##### 5 6 # TCP or UNIX socket address of the ABCI application, 7 # or the name of an ABCI application compiled in with the Tendermint binary 8 proxy_app = "tcp://127.0.0.1:26658" 9 10 # A custom human readable name for this node 11 moniker = "45-79-178-97" 12 13 # If this node is many blocks behind the tip of the chain, FastSync 14 # allows them to catchup quickly by downloading blocks in parallel 15 # and verifying their commits 16 fast_sync = true 17 18 # Database backend: goleveldb | cleveldb | boltdb 19 # * goleveldb (github.com/gnolang/goleveldb - most popular implementation) 20 # - pure go 21 # - stable 22 # * cleveldb (uses levigo wrapper) 23 # - fast 24 # - requires gcc 25 # - use cleveldb build tag (go build -tags cleveldb) 26 # * boltdb (uses etcd's fork of bolt - go.etcd.io/bbolt) 27 # - EXPERIMENTAL 28 # - may be faster is some use-cases (random reads - indexer) 29 # - use boltdb build tag (go build -tags boltdb) 30 db_backend = "goleveldb" 31 32 # Database directory 33 db_dir = "data" 34 35 # Output level for logging, including package level options 36 log_level = "main:info,state:info,*:error" 37 38 # Output format: 'plain' (colored text) or 'json' 39 log_format = "plain" 40 41 ##### additional base config options ##### 42 43 # Path to the JSON file containing the initial validator set and other meta data 44 genesis_file = "config/genesis.json" 45 46 # Path to the JSON file containing the private key to use as a validator in the consensus protocol 47 priv_validator_key_file = "config/priv_validator_key.json" 48 49 # Path to the JSON file containing the last sign state of a validator 50 priv_validator_state_file = "data/priv_validator_state.json" 51 52 # TCP or UNIX socket address for Tendermint to listen on for 53 # connections from an external PrivValidator process 54 priv_validator_laddr = "" 55 56 # Path to the JSON file containing the private key to use for node authentication in the p2p protocol 57 node_key_file = "config/node_key.json" 58 59 # Mechanism to connect to the ABCI application: socket | grpc 60 abci = "socket" 61 62 # TCP or UNIX socket address for the profiling server to listen on 63 prof_laddr = "" 64 65 # If true, query the ABCI app on connecting to a new peer 66 # so the app can decide if we should keep the connection or not 67 filter_peers = false 68 69 ##### advanced configuration options ##### 70 71 ##### rpc server configuration options ##### 72 [rpc] 73 74 # TCP or UNIX socket address for the RPC server to listen on 75 laddr = "tcp://0.0.0.0:36657" 76 77 # A list of origins a cross-domain request can be executed from 78 # Default value '[]' disables cors support 79 # Use '["*"]' to allow any origin 80 cors_allowed_origins = ["*"] 81 82 # A list of methods the client is allowed to use with cross-domain requests 83 cors_allowed_methods = ["HEAD", "GET", "POST", ] 84 85 # A list of non simple headers the client is allowed to use with cross-domain requests 86 cors_allowed_headers = ["Origin", "Accept", "Content-Type", "X-Requested-With", "X-Server-Time", ] 87 88 # TCP or UNIX socket address for the gRPC server to listen on 89 # NOTE: This server only supports /broadcast_tx_commit 90 grpc_laddr = "" 91 92 # Maximum number of simultaneous connections. 93 # Does not include RPC (HTTP&WebSocket) connections. See max_open_connections 94 # If you want to accept a larger number than the default, make sure 95 # you increase your OS limits. 96 # 0 - unlimited. 97 # Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files} 98 # 1024 - 40 - 10 - 50 = 924 = ~900 99 grpc_max_open_connections = 900 100 101 # Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool 102 unsafe = false 103 104 # Maximum number of simultaneous connections (including WebSocket). 105 # Does not include gRPC connections. See grpc_max_open_connections 106 # If you want to accept a larger number than the default, make sure 107 # you increase your OS limits. 108 # 0 - unlimited. 109 # Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files} 110 # 1024 - 40 - 10 - 50 = 924 = ~900 111 max_open_connections = 900 112 113 # How long to wait for a tx to be committed during /broadcast_tx_commit. 114 # WARNING: Using a value larger than 10s will result in increasing the 115 # global HTTP write timeout, which applies to all connections and endpoints. 116 # See https://github.com/tendermint/classic/issues/3435 117 timeout_broadcast_tx_commit = "10s" 118 119 # Maximum size of request body, in bytes 120 max_body_bytes = 1000000 121 122 # Maximum size of request header, in bytes 123 max_header_bytes = 1048576 124 125 # The path to a file containing certificate that is used to create the HTTPS server. 126 # Might be either absolute path or path related to tendermint's config directory. 127 # If the certificate is signed by a certificate authority, 128 # the certFile should be the concatenation of the server's certificate, any intermediates, 129 # and the CA's certificate. 130 # NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server. Otherwise, HTTP server is run. 131 tls_cert_file = "" 132 133 # The path to a file containing matching private key that is used to create the HTTPS server. 134 # Might be either absolute path or path related to tendermint's config directory. 135 # NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server. Otherwise, HTTP server is run. 136 tls_key_file = "" 137 138 ##### peer to peer configuration options ##### 139 [p2p] 140 141 # Address to listen for incoming connections 142 laddr = "tcp://0.0.0.0:36656" 143 144 # Address to advertise to peers for them to dial 145 # If empty, will use the same port as the laddr, 146 # and will introspect on the listener or use UPnP 147 # to figure out the address. 148 external_address = "" 149 150 # Comma separated list of seed nodes to connect to 151 seeds = "" 152 153 # Comma separated list of nodes to keep persistent connections to 154 persistent_peers = "" 155 156 # UPNP port forwarding 157 upnp = false 158 159 # Maximum number of inbound peers 160 max_num_inbound_peers = 40 161 162 # Maximum number of outbound peers to connect to, excluding persistent peers 163 max_num_outbound_peers = 10 164 165 # Time to wait before flushing messages out on the connection 166 flush_throttle_timeout = "100ms" 167 168 # Maximum size of a message packet payload, in bytes 169 max_packet_msg_payload_size = 1024 170 171 # Rate at which packets can be sent, in bytes/second 172 send_rate = 5120000 173 174 # Rate at which packets can be received, in bytes/second 175 recv_rate = 5120000 176 177 # Set true to enable the peer-exchange reactor 178 pex = true 179 180 # Seed mode, in which node constantly crawls the network and looks for 181 # peers. If another node asks it for addresses, it responds and disconnects. 182 # 183 # Does not work if the peer-exchange reactor is disabled. 184 seed_mode = false 185 186 # Comma separated list of peer IDs to keep private (will not be gossiped to other peers) 187 private_peer_ids = "" 188 189 # Toggle to disable guard against peers connecting from the same ip. 190 allow_duplicate_ip = false 191 192 # Peer connection configuration. 193 handshake_timeout = "20s" 194 dial_timeout = "3s" 195 196 ##### mempool configuration options ##### 197 [mempool] 198 199 recheck = true 200 broadcast = true 201 wal_dir = "" 202 203 # Maximum number of transactions in the mempool 204 size = 5000 205 206 # Limit the total size of all txs in the mempool. 207 # This only accounts for raw transactions (e.g. given 1MB transactions and 208 # max_txs_bytes=5MB, mempool will only accept 5 transactions). 209 max_pending_txs_bytes = 1073741824 210 211 # Size of the cache (used to filter transactions we saw earlier) in transactions 212 cache_size = 10000 213 214 ##### consensus configuration options ##### 215 [consensus] 216 217 wal_file = "data/cs.wal/wal" 218 219 timeout_propose = "3s" 220 timeout_propose_delta = "500ms" 221 timeout_prevote = "1s" 222 timeout_prevote_delta = "500ms" 223 timeout_precommit = "1s" 224 timeout_precommit_delta = "500ms" 225 timeout_commit = "1s" 226 227 # Make progress as soon as we have all the precommits (as if TimeoutCommit = 0) 228 skip_timeout_commit = false 229 230 # EmptyBlocks mode and possible interval between empty blocks 231 create_empty_blocks = false 232 create_empty_blocks_interval = "1m0s" 233 234 # Reactor sleep duration parameters 235 peer_gossip_sleep_duration = "100ms" 236 peer_query_maj23_sleep_duration = "2s"