[docs] update state spec

This commit is contained in:
Anton Kaliaev 2018-10-16 16:22:04 +04:00
parent 56f943e890
commit a2e7494b4b
No known key found for this signature in database
GPG Key ID: 7B6881D965918214

View File

@ -101,7 +101,7 @@ type BlockGossip struct {
} }
type EvidenceParams struct { type EvidenceParams struct {
MaxAge int64 MaxAge time.Duration
} }
``` ```
@ -129,5 +129,5 @@ size of each part is `ConsensusParams.BlockGossip.BlockPartSizeBytes`.
For evidence in a block to be valid, it must satisfy: For evidence in a block to be valid, it must satisfy:
``` ```
block.Header.Height - evidence.Height < ConsensusParams.EvidenceParams.MaxAge block.Header.Time - evidence.Time < ConsensusParams.EvidenceParams.MaxAge
``` ```