github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/scripts/confix/testdata/v30-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 = "localhost"
    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: leveldb | memdb | cleveldb
    19  db_backend = "leveldb"
    20  
    21  # Database directory
    22  db_dir = "data"
    23  
    24  # Output level for logging, including package level options
    25  log_level = "main:info,state:info,*:error"
    26  
    27  # Output format: 'plain' (colored text) or 'json'
    28  log_format = "plain"
    29  
    30  ##### additional base config options #####
    31  
    32  # Path to the JSON file containing the initial validator set and other meta data
    33  genesis_file = "config/genesis.json"
    34  
    35  # Path to the JSON file containing the private key to use as a validator in the consensus protocol
    36  priv_validator_key_file = "config/priv_validator_key.json"
    37  
    38  # Path to the JSON file containing the last sign state of a validator
    39  priv_validator_state_file = "data/priv_validator_state.json"
    40  
    41  # TCP or UNIX socket address for Tendermint to listen on for
    42  # connections from an external PrivValidator process
    43  priv_validator_laddr = ""
    44  
    45  # Path to the JSON file containing the private key to use for node authentication in the p2p protocol
    46  node_key_file = "config/node_key.json"
    47  
    48  # Mechanism to connect to the ABCI application: socket | grpc
    49  abci = "socket"
    50  
    51  # TCP or UNIX socket address for the profiling server to listen on
    52  prof_laddr = ""
    53  
    54  # If true, query the ABCI app on connecting to a new peer
    55  # so the app can decide if we should keep the connection or not
    56  filter_peers = false
    57  
    58  ##### advanced configuration options #####
    59  
    60  ##### rpc server configuration options #####
    61  [rpc]
    62  
    63  # TCP or UNIX socket address for the RPC server to listen on
    64  laddr = "tcp://0.0.0.0:26657"
    65  
    66  # A list of origins a cross-domain request can be executed from
    67  # Default value '[]' disables cors support
    68  # Use '["*"]' to allow any origin
    69  cors_allowed_origins = []
    70  
    71  # A list of methods the client is allowed to use with cross-domain requests
    72  cors_allowed_methods = ["HEAD", "GET", "POST", ]
    73  
    74  # A list of non simple headers the client is allowed to use with cross-domain requests
    75  cors_allowed_headers = ["Origin", "Accept", "Content-Type", "X-Requested-With", "X-Server-Time", ]
    76  
    77  # TCP or UNIX socket address for the gRPC server to listen on
    78  # NOTE: This server only supports /broadcast_tx_commit
    79  grpc_laddr = ""
    80  
    81  # Maximum number of simultaneous connections.
    82  # Does not include RPC (HTTP&WebSocket) connections. See max_open_connections
    83  # If you want to accept a larger number than the default, make sure
    84  # you increase your OS limits.
    85  # 0 - unlimited.
    86  # Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files}
    87  # 1024 - 40 - 10 - 50 = 924 = ~900
    88  grpc_max_open_connections = 900
    89  
    90  # Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool
    91  unsafe = false
    92  
    93  # Maximum number of simultaneous connections (including WebSocket).
    94  # Does not include gRPC connections. See grpc_max_open_connections
    95  # If you want to accept a larger number than the default, make sure
    96  # you increase your OS limits.
    97  # 0 - unlimited.
    98  # Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files}
    99  # 1024 - 40 - 10 - 50 = 924 = ~900
   100  max_open_connections = 900
   101  
   102  ##### peer to peer configuration options #####
   103  [p2p]
   104  
   105  # Address to listen for incoming connections
   106  laddr = "tcp://0.0.0.0:26656"
   107  
   108  # Address to advertise to peers for them to dial
   109  # If empty, will use the same port as the laddr,
   110  # and will introspect on the listener or use UPnP
   111  # to figure out the address.
   112  external_address = ""
   113  
   114  # Comma separated list of seed nodes to connect to
   115  seeds = ""
   116  
   117  # Comma separated list of nodes to keep persistent connections to
   118  persistent_peers = ""
   119  
   120  # UPNP port forwarding
   121  upnp = false
   122  
   123  # Path to address book
   124  addr_book_file = "config/addrbook.json"
   125  
   126  # Set true for strict address routability rules
   127  # Set false for private or local networks
   128  addr_book_strict = true
   129  
   130  # Maximum number of inbound peers
   131  max_num_inbound_peers = 40
   132  
   133  # Maximum number of outbound peers to connect to, excluding persistent peers
   134  max_num_outbound_peers = 10
   135  
   136  # Time to wait before flushing messages out on the connection
   137  flush_throttle_timeout = "100ms"
   138  
   139  # Maximum size of a message packet payload, in bytes
   140  max_packet_msg_payload_size = 1024
   141  
   142  # Rate at which packets can be sent, in bytes/second
   143  send_rate = 5120000
   144  
   145  # Rate at which packets can be received, in bytes/second
   146  recv_rate = 5120000
   147  
   148  # Set true to enable the peer-exchange reactor
   149  pex = true
   150  
   151  # Seed mode, in which node constantly crawls the network and looks for
   152  # peers. If another node asks it for addresses, it responds and disconnects.
   153  #
   154  # Does not work if the peer-exchange reactor is disabled.
   155  seed_mode = false
   156  
   157  # Comma separated list of peer IDs to keep private (will not be gossiped to other peers)
   158  private_peer_ids = ""
   159  
   160  # Toggle to disable guard against peers connecting from the same ip.
   161  allow_duplicate_ip = false
   162  
   163  # Peer connection configuration.
   164  handshake_timeout = "20s"
   165  dial_timeout = "3s"
   166  
   167  ##### mempool configuration options #####
   168  [mempool]
   169  
   170  recheck = true
   171  broadcast = true
   172  wal_dir = ""
   173  
   174  # size of the mempool
   175  size = 5000
   176  
   177  # size of the cache (used to filter transactions we saw earlier)
   178  cache_size = 10000
   179  
   180  ##### consensus configuration options #####
   181  [consensus]
   182  
   183  wal_file = "data/cs.wal/wal"
   184  
   185  timeout_propose = "3s"
   186  timeout_propose_delta = "500ms"
   187  timeout_prevote = "1s"
   188  timeout_prevote_delta = "500ms"
   189  timeout_precommit = "1s"
   190  timeout_precommit_delta = "500ms"
   191  timeout_commit = "1s"
   192  
   193  # Make progress as soon as we have all the precommits (as if TimeoutCommit = 0)
   194  skip_timeout_commit = false
   195  
   196  # EmptyBlocks mode and possible interval between empty blocks
   197  create_empty_blocks = true
   198  create_empty_blocks_interval = "0s"
   199  
   200  # Reactor sleep duration parameters
   201  peer_gossip_sleep_duration = "100ms"
   202  peer_query_maj23_sleep_duration = "2s"
   203  
   204  # Block time parameters. Corresponds to the minimum time increment between consecutive blocks.
   205  blocktime_iota = "1s"
   206  
   207  ##### transactions indexer configuration options #####
   208  [tx_index]
   209  
   210  # What indexer to use for transactions
   211  #
   212  # Options:
   213  #   1) "null"
   214  #   2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend).
   215  indexer = "kv"
   216  
   217  # Comma-separated list of tags to index (by default the only tag is "tx.hash")
   218  #
   219  # You can also index transactions by height by adding "tx.height" tag here.
   220  #
   221  # It's recommended to index only a subset of tags due to possible memory
   222  # bloat. This is, of course, depends on the indexer's DB and the volume of
   223  # transactions.
   224  index_tags = ""
   225  
   226  # When set to true, tells indexer to index all tags (predefined tags:
   227  # "tx.hash", "tx.height" and all tags from DeliverTx responses).
   228  #
   229  # Note this may be not desirable (see the comment above). IndexTags has a
   230  # precedence over IndexAllTags (i.e. when given both, IndexTags will be
   231  # indexed).
   232  index_all_tags = false
   233  
   234  ##### instrumentation configuration options #####
   235  [instrumentation]
   236  
   237  # When true, Prometheus metrics are served under /metrics on
   238  # PrometheusListenAddr.
   239  # Check out the documentation for the list of available metrics.
   240  prometheus = false
   241  
   242  # Address to listen for Prometheus collector(s) connections
   243  prometheus_listen_addr = ":26660"
   244  
   245  # Maximum number of simultaneous connections.
   246  # If you want to accept a larger number than the default, make sure
   247  # you increase your OS limits.
   248  # 0 - unlimited.
   249  max_open_connections = 3
   250  
   251  # Instrumentation namespace
   252  namespace = "tendermint"