mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 20:21:56 +00:00
Id -> ID using gogo
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
syntax = "proto3";
|
||||
package types;
|
||||
|
||||
// For more information on gogo.proto, see:
|
||||
// https://github.com/gogo/protobuf/blob/master/extensions.md
|
||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||
|
||||
// This file is copied from http://github.com/tendermint/abci
|
||||
@@ -184,7 +186,7 @@ message TxSize{
|
||||
|
||||
// BlockGossip determine consensus critical
|
||||
// elements of how blocks are gossiped
|
||||
message BlockGossip{
|
||||
message BlockGossip {
|
||||
// Note: must not be 0
|
||||
int32 block_part_size_bytes = 1;
|
||||
}
|
||||
@@ -193,11 +195,11 @@ message BlockGossip{
|
||||
// Blockchain Types
|
||||
|
||||
message Header {
|
||||
string chain_id = 1;
|
||||
string chain_id = 1 [(gogoproto.customname) = "ChainID"];
|
||||
int64 height = 2;
|
||||
int64 time = 3;
|
||||
int32 num_txs = 4;
|
||||
BlockID last_block_id = 5;
|
||||
BlockID last_block_id = 5 [(gogoproto.customname) = "LastBlockID"];
|
||||
bytes last_commit_hash = 6;
|
||||
bytes data_hash = 7;
|
||||
bytes validators_hash = 8;
|
||||
|
Reference in New Issue
Block a user