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