github.com/vipernet-xyz/tendermint-core@v0.32.0/proto/consensus/msgs.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: proto/consensus/msgs.proto
     3  
     4  package consensus
     5  
     6  import (
     7  	fmt "fmt"
     8  	_ "github.com/gogo/protobuf/gogoproto"
     9  	proto "github.com/gogo/protobuf/proto"
    10  	bits "github.com/tendermint/tendermint/proto/libs/bits"
    11  	types "github.com/tendermint/tendermint/proto/types"
    12  	math "math"
    13  )
    14  
    15  // Reference imports to suppress errors if they are not otherwise used.
    16  var _ = proto.Marshal
    17  var _ = fmt.Errorf
    18  var _ = math.Inf
    19  
    20  // This is a compile-time assertion to ensure that this generated file
    21  // is compatible with the proto package it is being compiled against.
    22  // A compilation error at this line likely means your copy of the
    23  // proto package needs to be updated.
    24  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    25  
    26  // NewRoundStepMessage is sent for every step taken in the ConsensusState.
    27  // For every height/round/step transition
    28  type NewRoundStep struct {
    29  	Height                int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
    30  	Round                 int32    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
    31  	Step                  uint32   `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
    32  	SecondsSinceStartTime int64    `protobuf:"varint,4,opt,name=seconds_since_start_time,json=secondsSinceStartTime,proto3" json:"seconds_since_start_time,omitempty"`
    33  	LastCommitRound       int32    `protobuf:"varint,5,opt,name=last_commit_round,json=lastCommitRound,proto3" json:"last_commit_round,omitempty"`
    34  	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
    35  	XXX_unrecognized      []byte   `json:"-"`
    36  	XXX_sizecache         int32    `json:"-"`
    37  }
    38  
    39  func (m *NewRoundStep) Reset()         { *m = NewRoundStep{} }
    40  func (m *NewRoundStep) String() string { return proto.CompactTextString(m) }
    41  func (*NewRoundStep) ProtoMessage()    {}
    42  func (*NewRoundStep) Descriptor() ([]byte, []int) {
    43  	return fileDescriptor_9de64017f8b3fc88, []int{0}
    44  }
    45  func (m *NewRoundStep) XXX_Unmarshal(b []byte) error {
    46  	return xxx_messageInfo_NewRoundStep.Unmarshal(m, b)
    47  }
    48  func (m *NewRoundStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    49  	return xxx_messageInfo_NewRoundStep.Marshal(b, m, deterministic)
    50  }
    51  func (m *NewRoundStep) XXX_Merge(src proto.Message) {
    52  	xxx_messageInfo_NewRoundStep.Merge(m, src)
    53  }
    54  func (m *NewRoundStep) XXX_Size() int {
    55  	return xxx_messageInfo_NewRoundStep.Size(m)
    56  }
    57  func (m *NewRoundStep) XXX_DiscardUnknown() {
    58  	xxx_messageInfo_NewRoundStep.DiscardUnknown(m)
    59  }
    60  
    61  var xxx_messageInfo_NewRoundStep proto.InternalMessageInfo
    62  
    63  func (m *NewRoundStep) GetHeight() int64 {
    64  	if m != nil {
    65  		return m.Height
    66  	}
    67  	return 0
    68  }
    69  
    70  func (m *NewRoundStep) GetRound() int32 {
    71  	if m != nil {
    72  		return m.Round
    73  	}
    74  	return 0
    75  }
    76  
    77  func (m *NewRoundStep) GetStep() uint32 {
    78  	if m != nil {
    79  		return m.Step
    80  	}
    81  	return 0
    82  }
    83  
    84  func (m *NewRoundStep) GetSecondsSinceStartTime() int64 {
    85  	if m != nil {
    86  		return m.SecondsSinceStartTime
    87  	}
    88  	return 0
    89  }
    90  
    91  func (m *NewRoundStep) GetLastCommitRound() int32 {
    92  	if m != nil {
    93  		return m.LastCommitRound
    94  	}
    95  	return 0
    96  }
    97  
    98  // NewValidBlockMessage is sent when a validator observes a valid block B in some round r,
    99  //i.e., there is a Proposal for block B and 2/3+ prevotes for the block B in the round r.
   100  // In case the block is also committed, then IsCommit flag is set to true.
   101  type NewValidBlock struct {
   102  	Height               int64               `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   103  	Round                int32               `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
   104  	BlockPartsHeader     types.PartSetHeader `protobuf:"bytes,3,opt,name=block_parts_header,json=blockPartsHeader,proto3" json:"block_parts_header"`
   105  	BlockParts           *bits.BitArray      `protobuf:"bytes,4,opt,name=block_parts,json=blockParts,proto3" json:"block_parts,omitempty"`
   106  	IsCommit             bool                `protobuf:"varint,5,opt,name=is_commit,json=isCommit,proto3" json:"is_commit,omitempty"`
   107  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
   108  	XXX_unrecognized     []byte              `json:"-"`
   109  	XXX_sizecache        int32               `json:"-"`
   110  }
   111  
   112  func (m *NewValidBlock) Reset()         { *m = NewValidBlock{} }
   113  func (m *NewValidBlock) String() string { return proto.CompactTextString(m) }
   114  func (*NewValidBlock) ProtoMessage()    {}
   115  func (*NewValidBlock) Descriptor() ([]byte, []int) {
   116  	return fileDescriptor_9de64017f8b3fc88, []int{1}
   117  }
   118  func (m *NewValidBlock) XXX_Unmarshal(b []byte) error {
   119  	return xxx_messageInfo_NewValidBlock.Unmarshal(m, b)
   120  }
   121  func (m *NewValidBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   122  	return xxx_messageInfo_NewValidBlock.Marshal(b, m, deterministic)
   123  }
   124  func (m *NewValidBlock) XXX_Merge(src proto.Message) {
   125  	xxx_messageInfo_NewValidBlock.Merge(m, src)
   126  }
   127  func (m *NewValidBlock) XXX_Size() int {
   128  	return xxx_messageInfo_NewValidBlock.Size(m)
   129  }
   130  func (m *NewValidBlock) XXX_DiscardUnknown() {
   131  	xxx_messageInfo_NewValidBlock.DiscardUnknown(m)
   132  }
   133  
   134  var xxx_messageInfo_NewValidBlock proto.InternalMessageInfo
   135  
   136  func (m *NewValidBlock) GetHeight() int64 {
   137  	if m != nil {
   138  		return m.Height
   139  	}
   140  	return 0
   141  }
   142  
   143  func (m *NewValidBlock) GetRound() int32 {
   144  	if m != nil {
   145  		return m.Round
   146  	}
   147  	return 0
   148  }
   149  
   150  func (m *NewValidBlock) GetBlockPartsHeader() types.PartSetHeader {
   151  	if m != nil {
   152  		return m.BlockPartsHeader
   153  	}
   154  	return types.PartSetHeader{}
   155  }
   156  
   157  func (m *NewValidBlock) GetBlockParts() *bits.BitArray {
   158  	if m != nil {
   159  		return m.BlockParts
   160  	}
   161  	return nil
   162  }
   163  
   164  func (m *NewValidBlock) GetIsCommit() bool {
   165  	if m != nil {
   166  		return m.IsCommit
   167  	}
   168  	return false
   169  }
   170  
   171  // ProposalMessage is sent when a new block is proposed.
   172  type Proposal struct {
   173  	Proposal             types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal"`
   174  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   175  	XXX_unrecognized     []byte         `json:"-"`
   176  	XXX_sizecache        int32          `json:"-"`
   177  }
   178  
   179  func (m *Proposal) Reset()         { *m = Proposal{} }
   180  func (m *Proposal) String() string { return proto.CompactTextString(m) }
   181  func (*Proposal) ProtoMessage()    {}
   182  func (*Proposal) Descriptor() ([]byte, []int) {
   183  	return fileDescriptor_9de64017f8b3fc88, []int{2}
   184  }
   185  func (m *Proposal) XXX_Unmarshal(b []byte) error {
   186  	return xxx_messageInfo_Proposal.Unmarshal(m, b)
   187  }
   188  func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   189  	return xxx_messageInfo_Proposal.Marshal(b, m, deterministic)
   190  }
   191  func (m *Proposal) XXX_Merge(src proto.Message) {
   192  	xxx_messageInfo_Proposal.Merge(m, src)
   193  }
   194  func (m *Proposal) XXX_Size() int {
   195  	return xxx_messageInfo_Proposal.Size(m)
   196  }
   197  func (m *Proposal) XXX_DiscardUnknown() {
   198  	xxx_messageInfo_Proposal.DiscardUnknown(m)
   199  }
   200  
   201  var xxx_messageInfo_Proposal proto.InternalMessageInfo
   202  
   203  func (m *Proposal) GetProposal() types.Proposal {
   204  	if m != nil {
   205  		return m.Proposal
   206  	}
   207  	return types.Proposal{}
   208  }
   209  
   210  // ProposalPOLMessage is sent when a previous proposal is re-proposed.
   211  type ProposalPOL struct {
   212  	Height               int64         `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   213  	ProposalPolRound     int32         `protobuf:"varint,2,opt,name=proposal_pol_round,json=proposalPolRound,proto3" json:"proposal_pol_round,omitempty"`
   214  	ProposalPol          bits.BitArray `protobuf:"bytes,3,opt,name=proposal_pol,json=proposalPol,proto3" json:"proposal_pol"`
   215  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   216  	XXX_unrecognized     []byte        `json:"-"`
   217  	XXX_sizecache        int32         `json:"-"`
   218  }
   219  
   220  func (m *ProposalPOL) Reset()         { *m = ProposalPOL{} }
   221  func (m *ProposalPOL) String() string { return proto.CompactTextString(m) }
   222  func (*ProposalPOL) ProtoMessage()    {}
   223  func (*ProposalPOL) Descriptor() ([]byte, []int) {
   224  	return fileDescriptor_9de64017f8b3fc88, []int{3}
   225  }
   226  func (m *ProposalPOL) XXX_Unmarshal(b []byte) error {
   227  	return xxx_messageInfo_ProposalPOL.Unmarshal(m, b)
   228  }
   229  func (m *ProposalPOL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   230  	return xxx_messageInfo_ProposalPOL.Marshal(b, m, deterministic)
   231  }
   232  func (m *ProposalPOL) XXX_Merge(src proto.Message) {
   233  	xxx_messageInfo_ProposalPOL.Merge(m, src)
   234  }
   235  func (m *ProposalPOL) XXX_Size() int {
   236  	return xxx_messageInfo_ProposalPOL.Size(m)
   237  }
   238  func (m *ProposalPOL) XXX_DiscardUnknown() {
   239  	xxx_messageInfo_ProposalPOL.DiscardUnknown(m)
   240  }
   241  
   242  var xxx_messageInfo_ProposalPOL proto.InternalMessageInfo
   243  
   244  func (m *ProposalPOL) GetHeight() int64 {
   245  	if m != nil {
   246  		return m.Height
   247  	}
   248  	return 0
   249  }
   250  
   251  func (m *ProposalPOL) GetProposalPolRound() int32 {
   252  	if m != nil {
   253  		return m.ProposalPolRound
   254  	}
   255  	return 0
   256  }
   257  
   258  func (m *ProposalPOL) GetProposalPol() bits.BitArray {
   259  	if m != nil {
   260  		return m.ProposalPol
   261  	}
   262  	return bits.BitArray{}
   263  }
   264  
   265  // BlockPartMessage is sent when gossipping a piece of the proposed block.
   266  type BlockPart struct {
   267  	Height               int64      `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   268  	Round                int32      `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
   269  	Part                 types.Part `protobuf:"bytes,3,opt,name=part,proto3" json:"part"`
   270  	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
   271  	XXX_unrecognized     []byte     `json:"-"`
   272  	XXX_sizecache        int32      `json:"-"`
   273  }
   274  
   275  func (m *BlockPart) Reset()         { *m = BlockPart{} }
   276  func (m *BlockPart) String() string { return proto.CompactTextString(m) }
   277  func (*BlockPart) ProtoMessage()    {}
   278  func (*BlockPart) Descriptor() ([]byte, []int) {
   279  	return fileDescriptor_9de64017f8b3fc88, []int{4}
   280  }
   281  func (m *BlockPart) XXX_Unmarshal(b []byte) error {
   282  	return xxx_messageInfo_BlockPart.Unmarshal(m, b)
   283  }
   284  func (m *BlockPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   285  	return xxx_messageInfo_BlockPart.Marshal(b, m, deterministic)
   286  }
   287  func (m *BlockPart) XXX_Merge(src proto.Message) {
   288  	xxx_messageInfo_BlockPart.Merge(m, src)
   289  }
   290  func (m *BlockPart) XXX_Size() int {
   291  	return xxx_messageInfo_BlockPart.Size(m)
   292  }
   293  func (m *BlockPart) XXX_DiscardUnknown() {
   294  	xxx_messageInfo_BlockPart.DiscardUnknown(m)
   295  }
   296  
   297  var xxx_messageInfo_BlockPart proto.InternalMessageInfo
   298  
   299  func (m *BlockPart) GetHeight() int64 {
   300  	if m != nil {
   301  		return m.Height
   302  	}
   303  	return 0
   304  }
   305  
   306  func (m *BlockPart) GetRound() int32 {
   307  	if m != nil {
   308  		return m.Round
   309  	}
   310  	return 0
   311  }
   312  
   313  func (m *BlockPart) GetPart() types.Part {
   314  	if m != nil {
   315  		return m.Part
   316  	}
   317  	return types.Part{}
   318  }
   319  
   320  // VoteMessage is sent when voting for a proposal (or lack thereof).
   321  type Vote struct {
   322  	Vote                 *types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
   323  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   324  	XXX_unrecognized     []byte      `json:"-"`
   325  	XXX_sizecache        int32       `json:"-"`
   326  }
   327  
   328  func (m *Vote) Reset()         { *m = Vote{} }
   329  func (m *Vote) String() string { return proto.CompactTextString(m) }
   330  func (*Vote) ProtoMessage()    {}
   331  func (*Vote) Descriptor() ([]byte, []int) {
   332  	return fileDescriptor_9de64017f8b3fc88, []int{5}
   333  }
   334  func (m *Vote) XXX_Unmarshal(b []byte) error {
   335  	return xxx_messageInfo_Vote.Unmarshal(m, b)
   336  }
   337  func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   338  	return xxx_messageInfo_Vote.Marshal(b, m, deterministic)
   339  }
   340  func (m *Vote) XXX_Merge(src proto.Message) {
   341  	xxx_messageInfo_Vote.Merge(m, src)
   342  }
   343  func (m *Vote) XXX_Size() int {
   344  	return xxx_messageInfo_Vote.Size(m)
   345  }
   346  func (m *Vote) XXX_DiscardUnknown() {
   347  	xxx_messageInfo_Vote.DiscardUnknown(m)
   348  }
   349  
   350  var xxx_messageInfo_Vote proto.InternalMessageInfo
   351  
   352  func (m *Vote) GetVote() *types.Vote {
   353  	if m != nil {
   354  		return m.Vote
   355  	}
   356  	return nil
   357  }
   358  
   359  // HasVoteMessage is sent to indicate that a particular vote has been received.
   360  type HasVote struct {
   361  	Height               int64               `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   362  	Round                int32               `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
   363  	Type                 types.SignedMsgType `protobuf:"varint,3,opt,name=type,proto3,enum=tendermint.proto.types.SignedMsgType" json:"type,omitempty"`
   364  	Index                uint32              `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
   365  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
   366  	XXX_unrecognized     []byte              `json:"-"`
   367  	XXX_sizecache        int32               `json:"-"`
   368  }
   369  
   370  func (m *HasVote) Reset()         { *m = HasVote{} }
   371  func (m *HasVote) String() string { return proto.CompactTextString(m) }
   372  func (*HasVote) ProtoMessage()    {}
   373  func (*HasVote) Descriptor() ([]byte, []int) {
   374  	return fileDescriptor_9de64017f8b3fc88, []int{6}
   375  }
   376  func (m *HasVote) XXX_Unmarshal(b []byte) error {
   377  	return xxx_messageInfo_HasVote.Unmarshal(m, b)
   378  }
   379  func (m *HasVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   380  	return xxx_messageInfo_HasVote.Marshal(b, m, deterministic)
   381  }
   382  func (m *HasVote) XXX_Merge(src proto.Message) {
   383  	xxx_messageInfo_HasVote.Merge(m, src)
   384  }
   385  func (m *HasVote) XXX_Size() int {
   386  	return xxx_messageInfo_HasVote.Size(m)
   387  }
   388  func (m *HasVote) XXX_DiscardUnknown() {
   389  	xxx_messageInfo_HasVote.DiscardUnknown(m)
   390  }
   391  
   392  var xxx_messageInfo_HasVote proto.InternalMessageInfo
   393  
   394  func (m *HasVote) GetHeight() int64 {
   395  	if m != nil {
   396  		return m.Height
   397  	}
   398  	return 0
   399  }
   400  
   401  func (m *HasVote) GetRound() int32 {
   402  	if m != nil {
   403  		return m.Round
   404  	}
   405  	return 0
   406  }
   407  
   408  func (m *HasVote) GetType() types.SignedMsgType {
   409  	if m != nil {
   410  		return m.Type
   411  	}
   412  	return types.SIGNED_MSG_TYPE_UNKNOWN
   413  }
   414  
   415  func (m *HasVote) GetIndex() uint32 {
   416  	if m != nil {
   417  		return m.Index
   418  	}
   419  	return 0
   420  }
   421  
   422  // VoteSetMaj23Message is sent to indicate that a given BlockID has seen +2/3 votes.
   423  type VoteSetMaj23 struct {
   424  	Height               int64               `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   425  	Round                int32               `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
   426  	Type                 types.SignedMsgType `protobuf:"varint,3,opt,name=type,proto3,enum=tendermint.proto.types.SignedMsgType" json:"type,omitempty"`
   427  	BlockID              types.BlockID       `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id"`
   428  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
   429  	XXX_unrecognized     []byte              `json:"-"`
   430  	XXX_sizecache        int32               `json:"-"`
   431  }
   432  
   433  func (m *VoteSetMaj23) Reset()         { *m = VoteSetMaj23{} }
   434  func (m *VoteSetMaj23) String() string { return proto.CompactTextString(m) }
   435  func (*VoteSetMaj23) ProtoMessage()    {}
   436  func (*VoteSetMaj23) Descriptor() ([]byte, []int) {
   437  	return fileDescriptor_9de64017f8b3fc88, []int{7}
   438  }
   439  func (m *VoteSetMaj23) XXX_Unmarshal(b []byte) error {
   440  	return xxx_messageInfo_VoteSetMaj23.Unmarshal(m, b)
   441  }
   442  func (m *VoteSetMaj23) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   443  	return xxx_messageInfo_VoteSetMaj23.Marshal(b, m, deterministic)
   444  }
   445  func (m *VoteSetMaj23) XXX_Merge(src proto.Message) {
   446  	xxx_messageInfo_VoteSetMaj23.Merge(m, src)
   447  }
   448  func (m *VoteSetMaj23) XXX_Size() int {
   449  	return xxx_messageInfo_VoteSetMaj23.Size(m)
   450  }
   451  func (m *VoteSetMaj23) XXX_DiscardUnknown() {
   452  	xxx_messageInfo_VoteSetMaj23.DiscardUnknown(m)
   453  }
   454  
   455  var xxx_messageInfo_VoteSetMaj23 proto.InternalMessageInfo
   456  
   457  func (m *VoteSetMaj23) GetHeight() int64 {
   458  	if m != nil {
   459  		return m.Height
   460  	}
   461  	return 0
   462  }
   463  
   464  func (m *VoteSetMaj23) GetRound() int32 {
   465  	if m != nil {
   466  		return m.Round
   467  	}
   468  	return 0
   469  }
   470  
   471  func (m *VoteSetMaj23) GetType() types.SignedMsgType {
   472  	if m != nil {
   473  		return m.Type
   474  	}
   475  	return types.SIGNED_MSG_TYPE_UNKNOWN
   476  }
   477  
   478  func (m *VoteSetMaj23) GetBlockID() types.BlockID {
   479  	if m != nil {
   480  		return m.BlockID
   481  	}
   482  	return types.BlockID{}
   483  }
   484  
   485  // VoteSetBitsMessage is sent to communicate the bit-array of votes seen for the BlockID.
   486  type VoteSetBits struct {
   487  	Height               int64               `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   488  	Round                int32               `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
   489  	Type                 types.SignedMsgType `protobuf:"varint,3,opt,name=type,proto3,enum=tendermint.proto.types.SignedMsgType" json:"type,omitempty"`
   490  	BlockID              types.BlockID       `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id"`
   491  	Votes                bits.BitArray       `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes"`
   492  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
   493  	XXX_unrecognized     []byte              `json:"-"`
   494  	XXX_sizecache        int32               `json:"-"`
   495  }
   496  
   497  func (m *VoteSetBits) Reset()         { *m = VoteSetBits{} }
   498  func (m *VoteSetBits) String() string { return proto.CompactTextString(m) }
   499  func (*VoteSetBits) ProtoMessage()    {}
   500  func (*VoteSetBits) Descriptor() ([]byte, []int) {
   501  	return fileDescriptor_9de64017f8b3fc88, []int{8}
   502  }
   503  func (m *VoteSetBits) XXX_Unmarshal(b []byte) error {
   504  	return xxx_messageInfo_VoteSetBits.Unmarshal(m, b)
   505  }
   506  func (m *VoteSetBits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   507  	return xxx_messageInfo_VoteSetBits.Marshal(b, m, deterministic)
   508  }
   509  func (m *VoteSetBits) XXX_Merge(src proto.Message) {
   510  	xxx_messageInfo_VoteSetBits.Merge(m, src)
   511  }
   512  func (m *VoteSetBits) XXX_Size() int {
   513  	return xxx_messageInfo_VoteSetBits.Size(m)
   514  }
   515  func (m *VoteSetBits) XXX_DiscardUnknown() {
   516  	xxx_messageInfo_VoteSetBits.DiscardUnknown(m)
   517  }
   518  
   519  var xxx_messageInfo_VoteSetBits proto.InternalMessageInfo
   520  
   521  func (m *VoteSetBits) GetHeight() int64 {
   522  	if m != nil {
   523  		return m.Height
   524  	}
   525  	return 0
   526  }
   527  
   528  func (m *VoteSetBits) GetRound() int32 {
   529  	if m != nil {
   530  		return m.Round
   531  	}
   532  	return 0
   533  }
   534  
   535  func (m *VoteSetBits) GetType() types.SignedMsgType {
   536  	if m != nil {
   537  		return m.Type
   538  	}
   539  	return types.SIGNED_MSG_TYPE_UNKNOWN
   540  }
   541  
   542  func (m *VoteSetBits) GetBlockID() types.BlockID {
   543  	if m != nil {
   544  		return m.BlockID
   545  	}
   546  	return types.BlockID{}
   547  }
   548  
   549  func (m *VoteSetBits) GetVotes() bits.BitArray {
   550  	if m != nil {
   551  		return m.Votes
   552  	}
   553  	return bits.BitArray{}
   554  }
   555  
   556  type Message struct {
   557  	// Types that are valid to be assigned to Sum:
   558  	//	*Message_NewRoundStep
   559  	//	*Message_NewValidBlock
   560  	//	*Message_Proposal
   561  	//	*Message_ProposalPol
   562  	//	*Message_BlockPart
   563  	//	*Message_Vote
   564  	//	*Message_HasVote
   565  	//	*Message_VoteSetMaj23
   566  	//	*Message_VoteSetBits
   567  	Sum                  isMessage_Sum `protobuf_oneof:"sum"`
   568  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   569  	XXX_unrecognized     []byte        `json:"-"`
   570  	XXX_sizecache        int32         `json:"-"`
   571  }
   572  
   573  func (m *Message) Reset()         { *m = Message{} }
   574  func (m *Message) String() string { return proto.CompactTextString(m) }
   575  func (*Message) ProtoMessage()    {}
   576  func (*Message) Descriptor() ([]byte, []int) {
   577  	return fileDescriptor_9de64017f8b3fc88, []int{9}
   578  }
   579  func (m *Message) XXX_Unmarshal(b []byte) error {
   580  	return xxx_messageInfo_Message.Unmarshal(m, b)
   581  }
   582  func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   583  	return xxx_messageInfo_Message.Marshal(b, m, deterministic)
   584  }
   585  func (m *Message) XXX_Merge(src proto.Message) {
   586  	xxx_messageInfo_Message.Merge(m, src)
   587  }
   588  func (m *Message) XXX_Size() int {
   589  	return xxx_messageInfo_Message.Size(m)
   590  }
   591  func (m *Message) XXX_DiscardUnknown() {
   592  	xxx_messageInfo_Message.DiscardUnknown(m)
   593  }
   594  
   595  var xxx_messageInfo_Message proto.InternalMessageInfo
   596  
   597  type isMessage_Sum interface {
   598  	isMessage_Sum()
   599  }
   600  
   601  type Message_NewRoundStep struct {
   602  	NewRoundStep *NewRoundStep `protobuf:"bytes,1,opt,name=new_round_step,json=newRoundStep,proto3,oneof" json:"new_round_step,omitempty"`
   603  }
   604  type Message_NewValidBlock struct {
   605  	NewValidBlock *NewValidBlock `protobuf:"bytes,2,opt,name=new_valid_block,json=newValidBlock,proto3,oneof" json:"new_valid_block,omitempty"`
   606  }
   607  type Message_Proposal struct {
   608  	Proposal *Proposal `protobuf:"bytes,3,opt,name=proposal,proto3,oneof" json:"proposal,omitempty"`
   609  }
   610  type Message_ProposalPol struct {
   611  	ProposalPol *ProposalPOL `protobuf:"bytes,4,opt,name=proposal_pol,json=proposalPol,proto3,oneof" json:"proposal_pol,omitempty"`
   612  }
   613  type Message_BlockPart struct {
   614  	BlockPart *BlockPart `protobuf:"bytes,5,opt,name=block_part,json=blockPart,proto3,oneof" json:"block_part,omitempty"`
   615  }
   616  type Message_Vote struct {
   617  	Vote *Vote `protobuf:"bytes,6,opt,name=vote,proto3,oneof" json:"vote,omitempty"`
   618  }
   619  type Message_HasVote struct {
   620  	HasVote *HasVote `protobuf:"bytes,7,opt,name=has_vote,json=hasVote,proto3,oneof" json:"has_vote,omitempty"`
   621  }
   622  type Message_VoteSetMaj23 struct {
   623  	VoteSetMaj23 *VoteSetMaj23 `protobuf:"bytes,8,opt,name=vote_set_maj23,json=voteSetMaj23,proto3,oneof" json:"vote_set_maj23,omitempty"`
   624  }
   625  type Message_VoteSetBits struct {
   626  	VoteSetBits *VoteSetBits `protobuf:"bytes,9,opt,name=vote_set_bits,json=voteSetBits,proto3,oneof" json:"vote_set_bits,omitempty"`
   627  }
   628  
   629  func (*Message_NewRoundStep) isMessage_Sum()  {}
   630  func (*Message_NewValidBlock) isMessage_Sum() {}
   631  func (*Message_Proposal) isMessage_Sum()      {}
   632  func (*Message_ProposalPol) isMessage_Sum()   {}
   633  func (*Message_BlockPart) isMessage_Sum()     {}
   634  func (*Message_Vote) isMessage_Sum()          {}
   635  func (*Message_HasVote) isMessage_Sum()       {}
   636  func (*Message_VoteSetMaj23) isMessage_Sum()  {}
   637  func (*Message_VoteSetBits) isMessage_Sum()   {}
   638  
   639  func (m *Message) GetSum() isMessage_Sum {
   640  	if m != nil {
   641  		return m.Sum
   642  	}
   643  	return nil
   644  }
   645  
   646  func (m *Message) GetNewRoundStep() *NewRoundStep {
   647  	if x, ok := m.GetSum().(*Message_NewRoundStep); ok {
   648  		return x.NewRoundStep
   649  	}
   650  	return nil
   651  }
   652  
   653  func (m *Message) GetNewValidBlock() *NewValidBlock {
   654  	if x, ok := m.GetSum().(*Message_NewValidBlock); ok {
   655  		return x.NewValidBlock
   656  	}
   657  	return nil
   658  }
   659  
   660  func (m *Message) GetProposal() *Proposal {
   661  	if x, ok := m.GetSum().(*Message_Proposal); ok {
   662  		return x.Proposal
   663  	}
   664  	return nil
   665  }
   666  
   667  func (m *Message) GetProposalPol() *ProposalPOL {
   668  	if x, ok := m.GetSum().(*Message_ProposalPol); ok {
   669  		return x.ProposalPol
   670  	}
   671  	return nil
   672  }
   673  
   674  func (m *Message) GetBlockPart() *BlockPart {
   675  	if x, ok := m.GetSum().(*Message_BlockPart); ok {
   676  		return x.BlockPart
   677  	}
   678  	return nil
   679  }
   680  
   681  func (m *Message) GetVote() *Vote {
   682  	if x, ok := m.GetSum().(*Message_Vote); ok {
   683  		return x.Vote
   684  	}
   685  	return nil
   686  }
   687  
   688  func (m *Message) GetHasVote() *HasVote {
   689  	if x, ok := m.GetSum().(*Message_HasVote); ok {
   690  		return x.HasVote
   691  	}
   692  	return nil
   693  }
   694  
   695  func (m *Message) GetVoteSetMaj23() *VoteSetMaj23 {
   696  	if x, ok := m.GetSum().(*Message_VoteSetMaj23); ok {
   697  		return x.VoteSetMaj23
   698  	}
   699  	return nil
   700  }
   701  
   702  func (m *Message) GetVoteSetBits() *VoteSetBits {
   703  	if x, ok := m.GetSum().(*Message_VoteSetBits); ok {
   704  		return x.VoteSetBits
   705  	}
   706  	return nil
   707  }
   708  
   709  // XXX_OneofWrappers is for the internal use of the proto package.
   710  func (*Message) XXX_OneofWrappers() []interface{} {
   711  	return []interface{}{
   712  		(*Message_NewRoundStep)(nil),
   713  		(*Message_NewValidBlock)(nil),
   714  		(*Message_Proposal)(nil),
   715  		(*Message_ProposalPol)(nil),
   716  		(*Message_BlockPart)(nil),
   717  		(*Message_Vote)(nil),
   718  		(*Message_HasVote)(nil),
   719  		(*Message_VoteSetMaj23)(nil),
   720  		(*Message_VoteSetBits)(nil),
   721  	}
   722  }
   723  
   724  func init() {
   725  	proto.RegisterType((*NewRoundStep)(nil), "tendermint.proto.consensus.NewRoundStep")
   726  	proto.RegisterType((*NewValidBlock)(nil), "tendermint.proto.consensus.NewValidBlock")
   727  	proto.RegisterType((*Proposal)(nil), "tendermint.proto.consensus.Proposal")
   728  	proto.RegisterType((*ProposalPOL)(nil), "tendermint.proto.consensus.ProposalPOL")
   729  	proto.RegisterType((*BlockPart)(nil), "tendermint.proto.consensus.BlockPart")
   730  	proto.RegisterType((*Vote)(nil), "tendermint.proto.consensus.Vote")
   731  	proto.RegisterType((*HasVote)(nil), "tendermint.proto.consensus.HasVote")
   732  	proto.RegisterType((*VoteSetMaj23)(nil), "tendermint.proto.consensus.VoteSetMaj23")
   733  	proto.RegisterType((*VoteSetBits)(nil), "tendermint.proto.consensus.VoteSetBits")
   734  	proto.RegisterType((*Message)(nil), "tendermint.proto.consensus.Message")
   735  }
   736  
   737  func init() { proto.RegisterFile("proto/consensus/msgs.proto", fileDescriptor_9de64017f8b3fc88) }
   738  
   739  var fileDescriptor_9de64017f8b3fc88 = []byte{
   740  	// 833 bytes of a gzipped FileDescriptorProto
   741  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xcd, 0x6e, 0xeb, 0x44,
   742  	0x14, 0x8e, 0x6f, 0x93, 0x26, 0x39, 0x4e, 0xda, 0xcb, 0x88, 0x9f, 0x28, 0x17, 0xa9, 0x91, 0xe1,
   743  	0x42, 0x40, 0xc8, 0xb9, 0x4a, 0x25, 0x7e, 0x76, 0xc5, 0xfc, 0xc8, 0x15, 0x4d, 0x1b, 0x39, 0x55,
   744  	0x25, 0xd8, 0x58, 0x4e, 0x3c, 0x72, 0x06, 0x62, 0x8f, 0xf1, 0x4c, 0x52, 0xf2, 0x00, 0x48, 0x3c,
   745  	0x07, 0x6b, 0xb6, 0xbc, 0x01, 0x0b, 0x9e, 0xa2, 0x0b, 0x9e, 0x83, 0x05, 0x9a, 0x9f, 0xc4, 0x6e,
   746  	0x2b, 0xb7, 0xcd, 0x06, 0xe9, 0x6e, 0xaa, 0x99, 0x39, 0xe7, 0xfb, 0x7c, 0xe6, 0x3b, 0x73, 0xbe,
   747  	0x06, 0xba, 0x69, 0x46, 0x39, 0x1d, 0xcc, 0x68, 0xc2, 0x70, 0xc2, 0x96, 0x6c, 0x10, 0xb3, 0x88,
   748  	0xd9, 0xf2, 0x10, 0x75, 0x39, 0x4e, 0x42, 0x9c, 0xc5, 0x24, 0xe1, 0xea, 0xc4, 0xde, 0xa6, 0x75,
   749  	0x3f, 0xe0, 0x73, 0x92, 0x85, 0x7e, 0x1a, 0x64, 0x7c, 0x3d, 0x50, 0x1c, 0x11, 0x8d, 0x68, 0xbe,
   750  	0x52, 0x88, 0xee, 0x3b, 0xea, 0x84, 0xaf, 0x53, 0xcc, 0xd4, 0x5f, 0x1d, 0x78, 0xa1, 0x02, 0x0b,
   751  	0x32, 0x65, 0x83, 0x29, 0xe1, 0xb7, 0x82, 0xd6, 0x9f, 0x06, 0xb4, 0xce, 0xf1, 0xb5, 0x47, 0x97,
   752  	0x49, 0x38, 0xe1, 0x38, 0x45, 0x6f, 0xc3, 0xfe, 0x1c, 0x93, 0x68, 0xce, 0x3b, 0x46, 0xcf, 0xe8,
   753  	0xef, 0x79, 0x7a, 0x87, 0xde, 0x84, 0x5a, 0x26, 0x92, 0x3a, 0xcf, 0x7a, 0x46, 0xbf, 0xe6, 0xa9,
   754  	0x0d, 0x42, 0x50, 0x65, 0x1c, 0xa7, 0x9d, 0xbd, 0x9e, 0xd1, 0x6f, 0x7b, 0x72, 0x8d, 0x3e, 0x83,
   755  	0x0e, 0xc3, 0x33, 0x9a, 0x84, 0xcc, 0x67, 0x24, 0x99, 0x61, 0x9f, 0xf1, 0x20, 0xe3, 0x3e, 0x27,
   756  	0x31, 0xee, 0x54, 0x25, 0xe7, 0x5b, 0x3a, 0x3e, 0x11, 0xe1, 0x89, 0x88, 0x5e, 0x92, 0x18, 0xa3,
   757  	0x8f, 0xe1, 0x8d, 0x45, 0xc0, 0xb8, 0x3f, 0xa3, 0x71, 0x4c, 0xb8, 0xaf, 0x3e, 0x57, 0x93, 0x9f,
   758  	0x3b, 0x14, 0x81, 0xaf, 0xe4, 0xb9, 0x2c, 0xd5, 0xfa, 0xd7, 0x80, 0xf6, 0x39, 0xbe, 0xbe, 0x0a,
   759  	0x16, 0x24, 0x74, 0x16, 0x74, 0xf6, 0xd3, 0x8e, 0x85, 0x7f, 0x0f, 0x68, 0x2a, 0x60, 0x52, 0x57,
   760  	0xe6, 0xcf, 0x71, 0x10, 0xe2, 0x4c, 0x5e, 0xc3, 0x1c, 0xbe, 0xb4, 0xef, 0xb5, 0x43, 0x49, 0x36,
   761  	0x0e, 0x32, 0x3e, 0xc1, 0xdc, 0x95, 0xc9, 0x4e, 0xf5, 0xef, 0x9b, 0xa3, 0x8a, 0xf7, 0x5c, 0xd2,
   762  	0x88, 0x08, 0x53, 0xe7, 0xe8, 0x1b, 0x30, 0x0b, 0xd4, 0xf2, 0xca, 0xe6, 0xf0, 0xfd, 0xfb, 0x9c,
   763  	0xa2, 0x21, 0xb6, 0x68, 0x88, 0xed, 0x10, 0xfe, 0x65, 0x96, 0x05, 0x6b, 0x0f, 0x72, 0x32, 0xf4,
   764  	0x02, 0x9a, 0x84, 0x69, 0x2d, 0xa4, 0x0a, 0x0d, 0xaf, 0x41, 0x98, 0xd2, 0xc0, 0x3a, 0x87, 0xc6,
   765  	0x38, 0xa3, 0x29, 0x65, 0xc1, 0x02, 0x39, 0xd0, 0x48, 0xf5, 0x5a, 0x5e, 0xdd, 0x1c, 0xf6, 0x4a,
   766  	0x2f, 0xa0, 0xf3, 0x74, 0xed, 0x5b, 0x9c, 0xf5, 0xbb, 0x01, 0xe6, 0x26, 0x38, 0xbe, 0x38, 0x2b,
   767  	0x15, 0xf3, 0x13, 0x40, 0x1b, 0x8c, 0x9f, 0xd2, 0x85, 0x5f, 0x54, 0xf6, 0xf9, 0x26, 0x32, 0xa6,
   768  	0x0b, 0xd9, 0x24, 0x34, 0x82, 0x56, 0x31, 0x5b, 0xcb, 0xfb, 0x24, 0x29, 0x74, 0x85, 0x66, 0x81,
   769  	0xd3, 0xfa, 0x19, 0x9a, 0xce, 0x46, 0x9f, 0x1d, 0xdb, 0xfd, 0x29, 0x54, 0x45, 0x37, 0x74, 0x05,
   770  	0xef, 0x3e, 0xd4, 0x60, 0xfd, 0x65, 0x99, 0x6f, 0x7d, 0x0e, 0xd5, 0x2b, 0xca, 0x31, 0x7a, 0x05,
   771  	0xd5, 0x15, 0xe5, 0x58, 0xeb, 0x5b, 0x8a, 0x17, 0xb9, 0x9e, 0xcc, 0xb4, 0x7e, 0x33, 0xa0, 0xee,
   772  	0x06, 0x4c, 0xa2, 0x77, 0xab, 0xf5, 0x0b, 0xa8, 0x0a, 0x36, 0x59, 0xeb, 0x41, 0xf9, 0x63, 0x9c,
   773  	0x90, 0x28, 0xc1, 0xe1, 0x88, 0x45, 0x97, 0xeb, 0x14, 0x7b, 0x12, 0x22, 0x08, 0x49, 0x12, 0xe2,
   774  	0x5f, 0xe4, 0xa3, 0x6b, 0x7b, 0x6a, 0x63, 0xfd, 0x65, 0x40, 0x4b, 0xd4, 0x31, 0xc1, 0x7c, 0x14,
   775  	0xfc, 0x38, 0x3c, 0xfe, 0xff, 0xea, 0xf9, 0x0e, 0x1a, 0x6a, 0x14, 0x48, 0xa8, 0xe7, 0xe0, 0xa8,
   776  	0x0c, 0x2e, 0x3b, 0x7b, 0xfa, 0xb5, 0x73, 0x28, 0xd4, 0xff, 0xe7, 0xe6, 0xa8, 0xae, 0x0f, 0xbc,
   777  	0xba, 0x64, 0x38, 0x0d, 0xad, 0x5f, 0x9f, 0x81, 0xa9, 0xaf, 0xe1, 0x10, 0xce, 0x5e, 0xcf, 0x5b,
   778  	0xa0, 0x13, 0xa8, 0x89, 0xf7, 0xc1, 0xe4, 0x48, 0xef, 0x36, 0x0c, 0x0a, 0x68, 0xfd, 0x51, 0x83,
   779  	0xfa, 0x08, 0x33, 0x16, 0x44, 0x18, 0x8d, 0xe1, 0x20, 0xc1, 0xd7, 0x6a, 0x0c, 0x7d, 0xe9, 0xc4,
   780  	0xea, 0x85, 0xf6, 0xed, 0xf2, 0xff, 0x28, 0x76, 0xd1, 0xef, 0xdd, 0x8a, 0xd7, 0x4a, 0x8a, 0xfe,
   781  	0x3f, 0x81, 0x43, 0xc1, 0xb8, 0x12, 0xc6, 0xea, 0xcb, 0xa2, 0xa5, 0x8e, 0xe6, 0xf0, 0xa3, 0x47,
   782  	0x28, 0x73, 0x2b, 0x76, 0x2b, 0x5e, 0x3b, 0xb9, 0xe5, 0xcd, 0x45, 0x8b, 0x2a, 0x35, 0x81, 0x9c,
   783  	0x6d, 0xe3, 0x44, 0x6e, 0xc1, 0xa2, 0xd0, 0xd9, 0x1d, 0x33, 0x51, 0x9d, 0xf8, 0xf0, 0x29, 0x3c,
   784  	0xe3, 0x8b, 0x33, 0xf7, 0xb6, 0x97, 0xa0, 0x6f, 0x01, 0x72, 0x93, 0xd6, 0xbd, 0x78, 0xf9, 0x10,
   785  	0xd7, 0xd6, 0x79, 0xdc, 0x8a, 0xd7, 0xdc, 0xda, 0xb4, 0x30, 0x16, 0x69, 0x0c, 0xfb, 0x65, 0xc6,
   786  	0x9b, 0x33, 0x88, 0xb7, 0xeb, 0x56, 0x94, 0x3d, 0xa0, 0x13, 0x68, 0xcc, 0x03, 0xe6, 0x4b, 0x6c,
   787  	0x5d, 0x62, 0xdf, 0x7b, 0x08, 0xab, 0x9d, 0xc4, 0xad, 0x78, 0xf5, 0xb9, 0x36, 0x95, 0x31, 0x1c,
   788  	0x08, 0xb4, 0xcf, 0x30, 0xf7, 0x63, 0x31, 0xd6, 0x9d, 0xc6, 0xe3, 0xad, 0x2f, 0xda, 0x80, 0x68,
   789  	0xfd, 0xaa, 0x68, 0x0b, 0x23, 0x68, 0x6f, 0x19, 0xc5, 0xfb, 0xeb, 0x34, 0x1f, 0x97, 0xb8, 0x30,
   790  	0x90, 0x42, 0xe2, 0x55, 0xbe, 0x75, 0x6a, 0xb0, 0xc7, 0x96, 0xb1, 0x33, 0xfc, 0xe1, 0x55, 0x44,
   791  	0xf8, 0x7c, 0x39, 0xb5, 0x67, 0x34, 0x1e, 0xe4, 0x54, 0xc5, 0xe5, 0x9d, 0x9f, 0x46, 0xd3, 0x7d,
   792  	0x79, 0x70, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xae, 0x4b, 0x4c, 0x2a, 0x34, 0x09, 0x00,
   793  	0x00,
   794  }