You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.4 KiB

  1. Configuration
  2. =============
  3. TendermintCore can be configured via a TOML file in
  4. ``$TMHOME/config.toml``. Some of these parameters can be overridden by
  5. command-line flags.
  6. Config parameters
  7. ~~~~~~~~~~~~~~~~~
  8. The main config parameters are defined
  9. `here <https://github.com/tendermint/tendermint/blob/master/config/config.go>`__.
  10. - ``abci``: ABCI transport (socket \| grpc). *Default*: ``socket``
  11. - ``db_backend``: Database backend for the blockchain and
  12. TendermintCore state. ``leveldb`` or ``memdb``. *Default*:
  13. ``"leveldb"``
  14. - ``db_dir``: Database dir. *Default*: ``"$TMHOME/data"``
  15. - ``fast_sync``: Whether to sync faster from the block pool. *Default*:
  16. ``true``
  17. - ``genesis_file``: The location of the genesis file. *Default*:
  18. ``"$TMHOME/genesis.json"``
  19. - ``log_level``: *Default*: ``"state:info,*:error"``
  20. - ``moniker``: Name of this node. *Default*: the host name or ``"anonymous"``
  21. if runtime fails to get the host name
  22. - ``priv_validator_file``: Validator private key file. *Default*:
  23. ``"$TMHOME/priv_validator.json"``
  24. - ``prof_laddr``: Profile listen address. *Default*: ``""``
  25. - ``proxy_app``: The ABCI app endpoint. *Default*:
  26. ``"tcp://127.0.0.1:46658"``
  27. - ``consensus.max_block_size_txs``: Maximum number of block txs.
  28. *Default*: ``10000``
  29. - ``consensus.create_empty_blocks``: Create empty blocks w/o txs.
  30. *Default*: ``true``
  31. - ``consensus.create_empty_blocks_interval``: Block creation interval, even if empty.
  32. - ``consensus.timeout_*``: Various consensus timeout parameters
  33. - ``consensus.wal_file``: Consensus state WAL. *Default*:
  34. ``"$TMHOME/data/cs.wal/wal"``
  35. - ``consensus.wal_light``: Whether to use light-mode for Consensus
  36. state WAL. *Default*: ``false``
  37. - ``mempool.*``: Various mempool parameters
  38. - ``p2p.addr_book_file``: Peer address book. *Default*:
  39. ``"$TMHOME/addrbook.json"``. **NOT USED**
  40. - ``p2p.laddr``: Node listen address. (0.0.0.0:0 means any interface,
  41. any port). *Default*: ``"0.0.0.0:46656"``
  42. - ``p2p.pex``: Enable Peer-Exchange (dev feature). *Default*: ``false``
  43. - ``p2p.seeds``: Comma delimited host:port seed nodes. *Default*:
  44. ``""``
  45. - ``p2p.skip_upnp``: Skip UPNP detection. *Default*: ``false``
  46. - ``rpc.grpc_laddr``: GRPC listen address (BroadcastTx only). Port
  47. required. *Default*: ``""``
  48. - ``rpc.laddr``: RPC listen address. Port required. *Default*:
  49. ``"0.0.0.0:46657"``
  50. - ``rpc.unsafe``: Enabled unsafe rpc methods. *Default*: ``true``