tendermint/docs/archived.wiki/Configuration.md
2018-09-21 14:45:32 -04:00

2.2 KiB

NOTE: this wiki is mostly deprecated and left for archival purposes. Please see the documentation website which is built from the docs directory. Additional information about the specification can also be found in that directory.

Tendermint can be configured via a TOML file in $TMHOME/config/config.toml. Some of these parameters can be overridden by command-line flags.

Config parameters

The main config parameters are defined here.

  • genesis_file: The location of the genesis file. Default: "$TMROOT/genesis.json"
  • proxy_app: The TMSP app endpoint. Default: "tcp://127.0.0.1:46658"
  • moniker: Name of this node. Default: "anonymous"
  • node_laddr: TendermintCore listen address. Default: "0.0.0.0:46656"
  • fast_sync: Whether to sync faster from the block pool. Default: true
  • seeds: Initial peers to connect to. e.g. "addr1:46656,addr2:46656" Default: ""
  • skip_upnp: Skip UPNP detection. Default: false
  • addrbook_file: Peer address book. Default: "$TMROOT/addrbook.json". NOT USED
  • priv_validator_file: Validator private key file. Default: "$TMROOT/priv_validator.json"
  • db_backend: Database backend for the blockchain and TendermintCore state. leveldb or memdb. Default: "leveldb"
  • db_dir: Database dir. Default: "$TMROOT/data"
  • log_level: Default: "info"
  • rpc_laddr: RPC listen address. Default: "0.0.0.0:46657"
  • prof_laddr: Profile listen address. Default: ""
  • revision_file: TODO
  • cswal: Consensus state WAL. Default: "$TMROOT/data/cswal"
  • cswal_light: Whether to use light-mode for Consensus state WAL. Default: false
  • block_size: Maximum number of block txs. Default: 10000
  • disable_data_hash: Disable Merkle-izing block txs. Default: false
  • timeout_*: Various consensus timeout parameters TODO
  • mempool_*: Various mempool parameters TODO

TODO Document command-line flag parameters from here