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.

55 lines
2.2 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.timeout_*``: Various consensus timeout parameters
  29. **TODO**
  30. - ``consensus.wal_file``: Consensus state WAL. *Default*:
  31. ``"$TMHOME/data/cswal"``
  32. - ``consensus.wal_light``: Whether to use light-mode for Consensus
  33. state WAL. *Default*: ``false``
  34. - ``mempool.*``: Various mempool parameters **TODO**
  35. - ``p2p.addr_book_file``: Peer address book. *Default*:
  36. ``"$TMHOME/addrbook.json"``. **NOT USED**
  37. - ``p2p.laddr``: Node listen address. (0.0.0.0:0 means any interface,
  38. any port). *Default*: ``"0.0.0.0:46656"``
  39. - ``p2p.pex``: Enable Peer-Exchange (dev feature). *Default*: ``false``
  40. - ``p2p.seeds``: Comma delimited host:port seed nodes. *Default*:
  41. ``""``
  42. - ``p2p.skip_upnp``: Skip UPNP detection. *Default*: ``false``
  43. - ``rpc.grpc_laddr``: GRPC listen address (BroadcastTx only). Port
  44. required. *Default*: ``""``
  45. - ``rpc.laddr``: RPC listen address. Port required. *Default*:
  46. ``"0.0.0.0:46657"``
  47. - ``rpc.unsafe``: Enabled unsafe rpc methods. *Default*: ``true``