mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-10 18:59:09 +00:00
2.2 KiB
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:trueseeds: Initial peers to connect to. e.g."addr1:46656,addr2:46656"Default:""skip_upnp: Skip UPNP detection. Default:falseaddrbook_file: Peer address book. Default:"$TMROOT/addrbook.json". NOT USEDpriv_validator_file: Validator private key file. Default:"$TMROOT/priv_validator.json"db_backend: Database backend for the blockchain and TendermintCore state.leveldbormemdb. 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: TODOcswal: Consensus state WAL. Default:"$TMROOT/data/cswal"cswal_light: Whether to use light-mode for Consensus state WAL. Default:falseblock_size: Maximum number of block txs. Default:10000disable_data_hash: Disable Merkle-izing block txs. Default:falsetimeout_*: Various consensus timeout parameters TODOmempool_*: Various mempool parameters TODO
TODO Document command-line flag parameters from here