github.com/lino-network/lino@v0.6.11/genesis/upgrade5/config.toml (about)

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