Update evidence params with MaxNum (#95)

evidence params now includes maxNum which is the maximum number of evidence that can be committed on a single block
This commit is contained in:
Callum Waters
2020-05-12 13:41:44 +02:00
committed by GitHub
parent d65205ecad
commit 5acd1540c0
4 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -107,12 +107,13 @@ func (params ConsensusParams) Hash() []byte {
type BlockParams struct {
MaxBytes int64
MaxGas int64
TimeIotaMs int64
TimeIotaMs int64
}
type EvidenceParams struct {
MaxAgeNumBlocks int64
MaxAgeDuration time.Duration
MaxNum uint32
}
type ValidatorParams struct {