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.

54 lines
1.6 KiB

  1. # Mempool Configuration
  2. Here we describe configuration options around mempool.
  3. For the purposes of this document, they are described
  4. as command-line flags, but they can also be passed in as
  5. environmental variables or in the config.toml file. The
  6. following are all equivalent:
  7. Flag: `--mempool.recheck=false`
  8. Environment: `TM_MEMPOOL_RECHECK=false`
  9. Config:
  10. ```
  11. [mempool]
  12. recheck = false
  13. ```
  14. ## Recheck
  15. `--mempool.recheck=false` (default: true)
  16. Recheck determines if the mempool rechecks all pending
  17. transactions after a block was committed. Once a block
  18. is committed, the mempool removes all valid transactions
  19. that were successfully included in the block.
  20. If `recheck` is true, then it will rerun CheckTx on
  21. all remaining transactions with the new block state.
  22. ## Broadcast
  23. `--mempool.broadcast=false` (default: true)
  24. Determines whether this node gossips any valid transactions
  25. that arrive in mempool. Default is to gossip anything that
  26. passes checktx. If this is disabled, transactions are not
  27. gossiped, but instead stored locally and added to the next
  28. block this node is the proposer.
  29. ## WalDir
  30. `--mempool.wal_dir=/tmp/gaia/mempool.wal` (default: $TM_HOME/data/mempool.wal)
  31. This defines the directory where mempool writes the write-ahead
  32. logs. These files can be used to reload unbroadcasted
  33. transactions if the node crashes.
  34. If the directory passed in is an absolute path, the wal file is
  35. created there. If the directory is a relative path, the path is
  36. appended to home directory of the tendermint process to
  37. generate an absolute path to the wal directory
  38. (default `$HOME/.tendermint` or set via `TM_HOME` or `--home`)