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.

36 lines
2.0 KiB

  1. # Configuration
  2. TendermintCore can be configured via a TOML file in `$TMHOME/config.toml`.
  3. Some of these parameters can be overridden by command-line flags.
  4. ### Config parameters
  5. The main config parameters are defined [here](https://github.com/tendermint/tendermint/blob/master/config/config.go).
  6. * `abci`: ABCI transport (socket | grpc). _Default_: `socket`
  7. * `db_backend`: Database backend for the blockchain and TendermintCore state. `leveldb` or `memdb`. _Default_: `"leveldb"`
  8. * `db_dir`: Database dir. _Default_: `"$TMHOME/data"`
  9. * `fast_sync`: Whether to sync faster from the block pool. _Default_: `true`
  10. * `genesis_file`: The location of the genesis file. _Default_: `"$TMHOME/genesis.json"`
  11. * `log_level`: _Default_: `"state:info,*:error"`
  12. * `moniker`: Name of this node. _Default_: `"anonymous"`
  13. * `priv_validator_file`: Validator private key file. _Default_: `"$TMHOME/priv_validator.json"`
  14. * `prof_laddr`: Profile listen address. _Default_: `""`
  15. * `proxy_app`: The ABCI app endpoint. _Default_: `"tcp://127.0.0.1:46658"`
  16. * `consensus.max_block_size_txs`: Maximum number of block txs. _Default_: `10000`
  17. * `consensus.timeout_*`: Various consensus timeout parameters **TODO**
  18. * `consensus.wal_file`: Consensus state WAL. _Default_: `"$TMHOME/data/cswal"`
  19. * `consensus.wal_light`: Whether to use light-mode for Consensus state WAL. _Default_: `false`
  20. * `mempool.*`: Various mempool parameters **TODO**
  21. * `p2p.addr_book_file`: Peer address book. _Default_: `"$TMHOME/addrbook.json"`. **NOT USED**
  22. * `p2p.laddr`: Node listen address. (0.0.0.0:0 means any interface, any port). _Default_: `"0.0.0.0:46656"`
  23. * `p2p.pex`: Enable Peer-Exchange (dev feature). _Default_: `false`
  24. * `p2p.seeds`: Comma delimited host:port seed nodes. _Default_: `""`
  25. * `p2p.skip_upnp`: Skip UPNP detection. _Default_: `false`
  26. * `rpc.grpc_laddr`: GRPC listen address (BroadcastTx only). Port required. _Default_: `""`
  27. * `rpc.laddr`: RPC listen address. Port required. _Default_: `"0.0.0.0:46657"`
  28. * `rpc.unsafe`: Enabled unsafe rpc methods. _Default_: `true`