Browse Source

abci: add next_validators_hash to header

pull/2159/head
Ethan Buchman 6 years ago
parent
commit
f26b83f15f
3 changed files with 1326 additions and 2735 deletions
  1. +570
    -2024
      abci/types/types.pb.go
  2. +6
    -5
      abci/types/types.proto
  3. +750
    -706
      abci/types/typespb_test.go

+ 570
- 2024
abci/types/types.pb.go
File diff suppressed because it is too large
View File


+ 6
- 5
abci/types/types.proto View File

@ -249,13 +249,14 @@ message Header {
// hashes from the app output from the prev block
bytes validators_hash = 9; // validators for the current block
bytes consensus_hash = 10; // consensus params for current block
bytes app_hash = 11; // state after txs from the previous block
bytes last_results_hash = 12;// root hash of all results from the txs from the previous block
bytes next_validators_hash = 10; // validators for the next block
bytes consensus_hash = 11; // consensus params for current block
bytes app_hash = 12; // state after txs from the previous block
bytes last_results_hash = 13;// root hash of all results from the txs from the previous block
// consensus info
bytes evidence_hash = 13; // evidence included in the block
bytes proposer_address = 14; // original proposer of the block
bytes evidence_hash = 14; // evidence included in the block
bytes proposer_address = 15; // original proposer of the block
}
message BlockID {


+ 750
- 706
abci/types/typespb_test.go
File diff suppressed because it is too large
View File


Loading…
Cancel
Save