From 246b813315fc87e47afd5e6d4eb26c5350fbbbd7 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 11 Aug 2021 11:40:35 -0400 Subject: [PATCH] add vote fields back --- docs/architecture/adr-071-proposer-based-timestamps.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/architecture/adr-071-proposer-based-timestamps.md b/docs/architecture/adr-071-proposer-based-timestamps.md index 106a3cc63..0911bfec6 100644 --- a/docs/architecture/adr-071-proposer-based-timestamps.md +++ b/docs/architecture/adr-071-proposer-based-timestamps.md @@ -190,15 +190,13 @@ type Vote struct { Type tmproto.SignedMsgType `json:"type"` Height int64 `json:"height"` Round int32 `json:"round"` // proposal/vote round - ForBlock bool `json:"for_block"` // false if vote is nil. + BlockID BlockID `json:"block_id"` // zero if vote is nil. ValidatorIndex int32 `json:"validator_index"` + ValidatorAddress Address `json:"validator_address"` Signature []byte `json:"signature"` } ``` -`BlockID` is also dropped as it is also stored by all validators. -`ValidatorIndex` is all that is needed to determine `ValidatorAddress` so it is dropped as well. - ### New consensus parameters The proposer-based timestamp specification includes multiple new parameters that must be the same among all validators.