mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 22:23:11 +00:00
consensus: deprecate time iota ms (#5792)
time_iota_ms is intended to ensure that an honest validator always generates timestamps with time increasing monotonically. For this purpose, it always suffices to have this parameter set to `1ms`. Allowing users to choose different numbers increases bug surface area. Thus the code now ignores the user provided time_iota_ms parameter (marking it as unused), and uses 1ms internally.
This commit is contained in:
@@ -53,9 +53,7 @@ definition](https://github.com/tendermint/tendermint/blob/master/types/genesis.g
|
||||
- `block`
|
||||
- `max_bytes`: Max block size, in bytes.
|
||||
- `max_gas`: Max gas per block.
|
||||
- `time_iota_ms`: Minimum time increment between consecutive blocks (in
|
||||
milliseconds). If the block header timestamp is ahead of the system clock,
|
||||
decrease this value.
|
||||
- `time_iota_ms`: Unused. This has been deprecated and will be removed in a future version.
|
||||
- `evidence`
|
||||
- `max_age_num_blocks`: Max age of evidence, in blocks. The basic formula
|
||||
for calculating this is: MaxAgeDuration / {average block time}.
|
||||
|
||||
Reference in New Issue
Block a user