github.com/vipernet-xyz/tm@v0.34.24/proto/tendermint/types/canonical.proto (about)

     1  syntax = "proto3";
     2  package tendermint.types;
     3  
     4  option go_package = "github.com/vipernet-xyz/tm/proto/tendermint/types";
     5  
     6  import "gogoproto/gogo.proto";
     7  import "tendermint/types/types.proto";
     8  import "google/protobuf/timestamp.proto";
     9  
    10  message CanonicalBlockID {
    11    bytes                  hash            = 1;
    12    CanonicalPartSetHeader part_set_header = 2 [(gogoproto.nullable) = false];
    13  }
    14  
    15  message CanonicalPartSetHeader {
    16    uint32 total = 1;
    17    bytes  hash  = 2;
    18  }
    19  
    20  message CanonicalProposal {
    21    SignedMsgType             type      = 1;  // type alias for byte
    22    sfixed64                  height    = 2;  // canonicalization requires fixed size encoding here
    23    sfixed64                  round     = 3;  // canonicalization requires fixed size encoding here
    24    int64                     pol_round = 4 [(gogoproto.customname) = "POLRound"];
    25    CanonicalBlockID          block_id  = 5 [(gogoproto.customname) = "BlockID"];
    26    google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
    27    string                    chain_id  = 7 [(gogoproto.customname) = "ChainID"];
    28  }
    29  
    30  message CanonicalVote {
    31    SignedMsgType             type      = 1;  // type alias for byte
    32    sfixed64                  height    = 2;  // canonicalization requires fixed size encoding here
    33    sfixed64                  round     = 3;  // canonicalization requires fixed size encoding here
    34    CanonicalBlockID          block_id  = 4 [(gogoproto.customname) = "BlockID"];
    35    google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
    36    string                    chain_id  = 6 [(gogoproto.customname) = "ChainID"];
    37  }