mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
[docs] update state spec
This commit is contained in:
parent
56f943e890
commit
a2e7494b4b
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user