mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-16 21:14:31 +00:00
comments on validator ordering (#3452)
* comments on validator ordering * NextValidatorsHash
This commit is contained in:
@@ -31,7 +31,8 @@ const (
|
||||
// ValidatorSet represent a set of *Validator at a given height.
|
||||
// The validators can be fetched by address or index.
|
||||
// The index is in order of .Address, so the indices are fixed
|
||||
// for all rounds of a given blockchain height.
|
||||
// for all rounds of a given blockchain height - ie. the validators
|
||||
// are sorted by their address.
|
||||
// On the other hand, the .ProposerPriority of each validator and
|
||||
// the designated .GetProposer() of a set changes every round,
|
||||
// upon calling .IncrementProposerPriority().
|
||||
|
||||
Reference in New Issue
Block a user