diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index fd340d4da..b499ab40c 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -25,4 +25,6 @@ program](https://hackerone.com/tendermint). ### IMPROVEMENTS: +- [config] \#2877 add blocktime_iota to the config.toml (@ackratos) + ### BUG FIXES: diff --git a/config/toml.go b/config/toml.go index 6f0578e44..21e017b45 100644 --- a/config/toml.go +++ b/config/toml.go @@ -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] diff --git a/docs/tendermint-core/configuration.md b/docs/tendermint-core/configuration.md index 13894a308..7d1a562ec 100644 --- a/docs/tendermint-core/configuration.md +++ b/docs/tendermint-core/configuration.md @@ -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]