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.

57 lines
2.3 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*: ``"anonymous"``
  21. - ``priv_validator_file``: Validator private key file. *Default*:
  22. ``"$TMHOME/priv_validator.json"``
  23. - ``prof_laddr``: Profile listen address. *Default*: ``""``
  24. - ``proxy_app``: The ABCI app endpoint. *Default*:
  25. ``"tcp://127.0.0.1:46658"``
  26. - ``consensus.max_block_size_txs``: Maximum number of block txs.
  27. *Default*: ``10000``
  28. - ``consensus.create_empty_blocks``: Create empty blocks w/o txs.
  29. *Default*: ``true``
  30. - ``consensus.create_empty_blocks_interval``: Block creation interval, even if empty.
  31. - ``consensus.timeout_*``: Various consensus timeout parameters
  32. - ``consensus.wal_file``: Consensus state WAL. *Default*:
  33. ``"$TMHOME/data/cs.wal/wal"``
  34. - ``consensus.wal_light``: Whether to use light-mode for Consensus
  35. state WAL. *Default*: ``false``
  36. - ``mempool.*``: Various mempool parameters
  37. - ``p2p.addr_book_file``: Peer address book. *Default*:
  38. ``"$TMHOME/addrbook.json"``. **NOT USED**
  39. - ``p2p.laddr``: Node listen address. (0.0.0.0:0 means any interface,
  40. any port). *Default*: ``"0.0.0.0:46656"``
  41. - ``p2p.pex``: Enable Peer-Exchange (dev feature). *Default*: ``false``
  42. - ``p2p.seeds``: Comma delimited host:port seed nodes. *Default*:
  43. ``""``
  44. - ``p2p.skip_upnp``: Skip UPNP detection. *Default*: ``false``
  45. - ``rpc.grpc_laddr``: GRPC listen address (BroadcastTx only). Port
  46. required. *Default*: ``""``
  47. - ``rpc.laddr``: RPC listen address. Port required. *Default*:
  48. ``"0.0.0.0:46657"``
  49. - ``rpc.unsafe``: Enabled unsafe rpc methods. *Default*: ``true``