docs: fix block.Header.Time description (#3529)

It's not proposer local time anymore, but a weighted median

Fixes #3514
This commit is contained in:
Anton Kaliaev
2019-04-03 14:56:51 +02:00
committed by GitHub
parent f965a4db15
commit 40da355234
3 changed files with 6 additions and 3 deletions

View File

@ -244,7 +244,7 @@ The height is an incrementing integer. The first block has `block.Header.Height
### Time
```
block.Header.Timestamp >= prevBlock.Header.Timestamp + 1 ms
block.Header.Timestamp >= prevBlock.Header.Timestamp + state.consensusParams.Block.TimeIotaMs
block.Header.Timestamp == MedianTime(block.LastCommit, state.LastValidators)
```