Browse Source

add BlockTimeIota to the config.toml (#2878)

Refs #2877
pull/2885/head
cong 6 years ago
committed by Anton Kaliaev
parent
commit
fd8d1d6b69
3 changed files with 8 additions and 0 deletions
  1. +2
    -0
      CHANGELOG_PENDING.md
  2. +3
    -0
      config/toml.go
  3. +3
    -0
      docs/tendermint-core/configuration.md

+ 2
- 0
CHANGELOG_PENDING.md View File

@ -25,4 +25,6 @@ program](https://hackerone.com/tendermint).
### IMPROVEMENTS:
- [config] \#2877 add blocktime_iota to the config.toml (@ackratos)
### BUG FIXES:

+ 3
- 0
config/toml.go View File

@ -260,6 +260,9 @@ create_empty_blocks_interval = "{{ .Consensus.CreateEmptyBlocksInterval }}"
peer_gossip_sleep_duration = "{{ .Consensus.PeerGossipSleepDuration }}"
peer_query_maj23_sleep_duration = "{{ .Consensus.PeerQueryMaj23SleepDuration }}"
# Block time parameters. Corresponds to the minimum time increment between consecutive blocks.
blocktime_iota = "{{ .Consensus.BlockTimeIota }}"
##### transactions indexer configuration options #####
[tx_index]


+ 3
- 0
docs/tendermint-core/configuration.md View File

@ -203,6 +203,9 @@ create_empty_blocks_interval = "0s"
peer_gossip_sleep_duration = "100ms"
peer_query_maj23_sleep_duration = "2000ms"
# Block time parameters. Corresponds to the minimum time increment between consecutive blocks.
blocktime_iota = "1000ms"
##### transactions indexer configuration options #####
[tx_index]


Loading…
Cancel
Save