|
|
@ -391,7 +391,7 @@ block.ValidatorsHash == MerkleRoot(state.Validators) |
|
|
|
|
|
|
|
MerkleRoot of the current validator set that is committing the block. |
|
|
|
This can be used to validate the `LastCommit` included in the next block. |
|
|
|
Note that before computing the MerkleRoot the validators are sorted |
|
|
|
Note that before computing the MerkleRoot the validators are sorted |
|
|
|
first by voting power (descending), then by address (ascending). |
|
|
|
|
|
|
|
### NextValidatorsHash |
|
|
@ -403,10 +403,9 @@ block.NextValidatorsHash == MerkleRoot(state.NextValidators) |
|
|
|
MerkleRoot of the next validator set that will be the validator set that commits the next block. |
|
|
|
This is included so that the current validator set gets a chance to sign the |
|
|
|
next validator sets Merkle root. |
|
|
|
Note that before computing the MerkleRoot the validators are sorted |
|
|
|
Note that before computing the MerkleRoot the validators are sorted |
|
|
|
first by voting power (descending), then by address (ascending). |
|
|
|
|
|
|
|
|
|
|
|
### ConsensusHash |
|
|
|
|
|
|
|
```go |
|
|
|