Versions in this module Expand all Collapse all v0 v0.34.24 Sep 22, 2023 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowWal = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthWal = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupWal = fmt.Errorf("proto: unexpected end of group") + type BlockPart struct + Height int64 + Part types.Part + Round int32 + func (*BlockPart) Descriptor() ([]byte, []int) + func (*BlockPart) ProtoMessage() + func (m *BlockPart) GetHeight() int64 + func (m *BlockPart) GetPart() types.Part + func (m *BlockPart) GetRound() int32 + func (m *BlockPart) Marshal() (dAtA []byte, err error) + func (m *BlockPart) MarshalTo(dAtA []byte) (int, error) + func (m *BlockPart) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockPart) Reset() + func (m *BlockPart) Size() (n int) + func (m *BlockPart) String() string + func (m *BlockPart) Unmarshal(dAtA []byte) error + func (m *BlockPart) Wrap() proto.Message + func (m *BlockPart) XXX_DiscardUnknown() + func (m *BlockPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockPart) XXX_Merge(src proto.Message) + func (m *BlockPart) XXX_Size() int + func (m *BlockPart) XXX_Unmarshal(b []byte) error + type EndHeight struct + Height int64 + func (*EndHeight) Descriptor() ([]byte, []int) + func (*EndHeight) ProtoMessage() + func (m *EndHeight) GetHeight() int64 + func (m *EndHeight) Marshal() (dAtA []byte, err error) + func (m *EndHeight) MarshalTo(dAtA []byte) (int, error) + func (m *EndHeight) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EndHeight) Reset() + func (m *EndHeight) Size() (n int) + func (m *EndHeight) String() string + func (m *EndHeight) Unmarshal(dAtA []byte) error + func (m *EndHeight) XXX_DiscardUnknown() + func (m *EndHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EndHeight) XXX_Merge(src proto.Message) + func (m *EndHeight) XXX_Size() int + func (m *EndHeight) XXX_Unmarshal(b []byte) error + type HasVote struct + Height int64 + Index int32 + Round int32 + Type types.SignedMsgType + func (*HasVote) Descriptor() ([]byte, []int) + func (*HasVote) ProtoMessage() + func (m *HasVote) GetHeight() int64 + func (m *HasVote) GetIndex() int32 + func (m *HasVote) GetRound() int32 + func (m *HasVote) GetType() types.SignedMsgType + func (m *HasVote) Marshal() (dAtA []byte, err error) + func (m *HasVote) MarshalTo(dAtA []byte) (int, error) + func (m *HasVote) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *HasVote) Reset() + func (m *HasVote) Size() (n int) + func (m *HasVote) String() string + func (m *HasVote) Unmarshal(dAtA []byte) error + func (m *HasVote) Wrap() proto.Message + func (m *HasVote) XXX_DiscardUnknown() + func (m *HasVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HasVote) XXX_Merge(src proto.Message) + func (m *HasVote) XXX_Size() int + func (m *HasVote) XXX_Unmarshal(b []byte) error + type Message struct + Sum isMessage_Sum + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (*Message) XXX_OneofWrappers() []interface{} + func (m *Message) GetBlockPart() *BlockPart + func (m *Message) GetHasVote() *HasVote + func (m *Message) GetNewRoundStep() *NewRoundStep + func (m *Message) GetNewValidBlock() *NewValidBlock + func (m *Message) GetProposal() *Proposal + func (m *Message) GetProposalPol() *ProposalPOL + func (m *Message) GetSum() isMessage_Sum + func (m *Message) GetVote() *Vote + func (m *Message) GetVoteSetBits() *VoteSetBits + func (m *Message) GetVoteSetMaj23() *VoteSetMaj23 + func (m *Message) Marshal() (dAtA []byte, err error) + func (m *Message) MarshalTo(dAtA []byte) (int, error) + func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message) Reset() + func (m *Message) Size() (n int) + func (m *Message) String() string + func (m *Message) Unmarshal(dAtA []byte) error + func (m *Message) Unwrap() (proto.Message, error) + func (m *Message) XXX_DiscardUnknown() + func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Message) XXX_Merge(src proto.Message) + func (m *Message) XXX_Size() int + func (m *Message) XXX_Unmarshal(b []byte) error + type Message_BlockPart struct + BlockPart *BlockPart + func (m *Message_BlockPart) MarshalTo(dAtA []byte) (int, error) + func (m *Message_BlockPart) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_BlockPart) Size() (n int) + type Message_HasVote struct + HasVote *HasVote + func (m *Message_HasVote) MarshalTo(dAtA []byte) (int, error) + func (m *Message_HasVote) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_HasVote) Size() (n int) + type Message_NewRoundStep struct + NewRoundStep *NewRoundStep + func (m *Message_NewRoundStep) MarshalTo(dAtA []byte) (int, error) + func (m *Message_NewRoundStep) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_NewRoundStep) Size() (n int) + type Message_NewValidBlock struct + NewValidBlock *NewValidBlock + func (m *Message_NewValidBlock) MarshalTo(dAtA []byte) (int, error) + func (m *Message_NewValidBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_NewValidBlock) Size() (n int) + type Message_Proposal struct + Proposal *Proposal + func (m *Message_Proposal) MarshalTo(dAtA []byte) (int, error) + func (m *Message_Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_Proposal) Size() (n int) + type Message_ProposalPol struct + ProposalPol *ProposalPOL + func (m *Message_ProposalPol) MarshalTo(dAtA []byte) (int, error) + func (m *Message_ProposalPol) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_ProposalPol) Size() (n int) + type Message_Vote struct + Vote *Vote + func (m *Message_Vote) MarshalTo(dAtA []byte) (int, error) + func (m *Message_Vote) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_Vote) Size() (n int) + type Message_VoteSetBits struct + VoteSetBits *VoteSetBits + func (m *Message_VoteSetBits) MarshalTo(dAtA []byte) (int, error) + func (m *Message_VoteSetBits) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_VoteSetBits) Size() (n int) + type Message_VoteSetMaj23 struct + VoteSetMaj23 *VoteSetMaj23 + func (m *Message_VoteSetMaj23) MarshalTo(dAtA []byte) (int, error) + func (m *Message_VoteSetMaj23) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_VoteSetMaj23) Size() (n int) + type MsgInfo struct + Msg Message + PeerID string + func (*MsgInfo) Descriptor() ([]byte, []int) + func (*MsgInfo) ProtoMessage() + func (m *MsgInfo) GetMsg() Message + func (m *MsgInfo) GetPeerID() string + func (m *MsgInfo) Marshal() (dAtA []byte, err error) + func (m *MsgInfo) MarshalTo(dAtA []byte) (int, error) + func (m *MsgInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgInfo) Reset() + func (m *MsgInfo) Size() (n int) + func (m *MsgInfo) String() string + func (m *MsgInfo) Unmarshal(dAtA []byte) error + func (m *MsgInfo) XXX_DiscardUnknown() + func (m *MsgInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgInfo) XXX_Merge(src proto.Message) + func (m *MsgInfo) XXX_Size() int + func (m *MsgInfo) XXX_Unmarshal(b []byte) error + type NewRoundStep struct + Height int64 + LastCommitRound int32 + Round int32 + SecondsSinceStartTime int64 + Step uint32 + func (*NewRoundStep) Descriptor() ([]byte, []int) + func (*NewRoundStep) ProtoMessage() + func (m *NewRoundStep) GetHeight() int64 + func (m *NewRoundStep) GetLastCommitRound() int32 + func (m *NewRoundStep) GetRound() int32 + func (m *NewRoundStep) GetSecondsSinceStartTime() int64 + func (m *NewRoundStep) GetStep() uint32 + func (m *NewRoundStep) Marshal() (dAtA []byte, err error) + func (m *NewRoundStep) MarshalTo(dAtA []byte) (int, error) + func (m *NewRoundStep) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NewRoundStep) Reset() + func (m *NewRoundStep) Size() (n int) + func (m *NewRoundStep) String() string + func (m *NewRoundStep) Unmarshal(dAtA []byte) error + func (m *NewRoundStep) Wrap() proto.Message + func (m *NewRoundStep) XXX_DiscardUnknown() + func (m *NewRoundStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NewRoundStep) XXX_Merge(src proto.Message) + func (m *NewRoundStep) XXX_Size() int + func (m *NewRoundStep) XXX_Unmarshal(b []byte) error + type NewValidBlock struct + BlockPartSetHeader types.PartSetHeader + BlockParts *bits.BitArray + Height int64 + IsCommit bool + Round int32 + func (*NewValidBlock) Descriptor() ([]byte, []int) + func (*NewValidBlock) ProtoMessage() + func (m *NewValidBlock) GetBlockPartSetHeader() types.PartSetHeader + func (m *NewValidBlock) GetBlockParts() *bits.BitArray + func (m *NewValidBlock) GetHeight() int64 + func (m *NewValidBlock) GetIsCommit() bool + func (m *NewValidBlock) GetRound() int32 + func (m *NewValidBlock) Marshal() (dAtA []byte, err error) + func (m *NewValidBlock) MarshalTo(dAtA []byte) (int, error) + func (m *NewValidBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NewValidBlock) Reset() + func (m *NewValidBlock) Size() (n int) + func (m *NewValidBlock) String() string + func (m *NewValidBlock) Unmarshal(dAtA []byte) error + func (m *NewValidBlock) Wrap() proto.Message + func (m *NewValidBlock) XXX_DiscardUnknown() + func (m *NewValidBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NewValidBlock) XXX_Merge(src proto.Message) + func (m *NewValidBlock) XXX_Size() int + func (m *NewValidBlock) XXX_Unmarshal(b []byte) error + type Proposal struct + Proposal types.Proposal + func (*Proposal) Descriptor() ([]byte, []int) + func (*Proposal) ProtoMessage() + func (m *Proposal) GetProposal() types.Proposal + func (m *Proposal) Marshal() (dAtA []byte, err error) + func (m *Proposal) MarshalTo(dAtA []byte) (int, error) + func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Proposal) Reset() + func (m *Proposal) Size() (n int) + func (m *Proposal) String() string + func (m *Proposal) Unmarshal(dAtA []byte) error + func (m *Proposal) Wrap() proto.Message + func (m *Proposal) XXX_DiscardUnknown() + func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Proposal) XXX_Merge(src proto.Message) + func (m *Proposal) XXX_Size() int + func (m *Proposal) XXX_Unmarshal(b []byte) error + type ProposalPOL struct + Height int64 + ProposalPol bits.BitArray + ProposalPolRound int32 + func (*ProposalPOL) Descriptor() ([]byte, []int) + func (*ProposalPOL) ProtoMessage() + func (m *ProposalPOL) GetHeight() int64 + func (m *ProposalPOL) GetProposalPol() bits.BitArray + func (m *ProposalPOL) GetProposalPolRound() int32 + func (m *ProposalPOL) Marshal() (dAtA []byte, err error) + func (m *ProposalPOL) MarshalTo(dAtA []byte) (int, error) + func (m *ProposalPOL) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ProposalPOL) Reset() + func (m *ProposalPOL) Size() (n int) + func (m *ProposalPOL) String() string + func (m *ProposalPOL) Unmarshal(dAtA []byte) error + func (m *ProposalPOL) Wrap() proto.Message + func (m *ProposalPOL) XXX_DiscardUnknown() + func (m *ProposalPOL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProposalPOL) XXX_Merge(src proto.Message) + func (m *ProposalPOL) XXX_Size() int + func (m *ProposalPOL) XXX_Unmarshal(b []byte) error + type TimedWALMessage struct + Msg *WALMessage + Time time.Time + func (*TimedWALMessage) Descriptor() ([]byte, []int) + func (*TimedWALMessage) ProtoMessage() + func (m *TimedWALMessage) GetMsg() *WALMessage + func (m *TimedWALMessage) GetTime() time.Time + func (m *TimedWALMessage) Marshal() (dAtA []byte, err error) + func (m *TimedWALMessage) MarshalTo(dAtA []byte) (int, error) + func (m *TimedWALMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TimedWALMessage) Reset() + func (m *TimedWALMessage) Size() (n int) + func (m *TimedWALMessage) String() string + func (m *TimedWALMessage) Unmarshal(dAtA []byte) error + func (m *TimedWALMessage) XXX_DiscardUnknown() + func (m *TimedWALMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TimedWALMessage) XXX_Merge(src proto.Message) + func (m *TimedWALMessage) XXX_Size() int + func (m *TimedWALMessage) XXX_Unmarshal(b []byte) error + type TimeoutInfo struct + Duration time.Duration + Height int64 + Round int32 + Step uint32 + func (*TimeoutInfo) Descriptor() ([]byte, []int) + func (*TimeoutInfo) ProtoMessage() + func (m *TimeoutInfo) GetDuration() time.Duration + func (m *TimeoutInfo) GetHeight() int64 + func (m *TimeoutInfo) GetRound() int32 + func (m *TimeoutInfo) GetStep() uint32 + func (m *TimeoutInfo) Marshal() (dAtA []byte, err error) + func (m *TimeoutInfo) MarshalTo(dAtA []byte) (int, error) + func (m *TimeoutInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TimeoutInfo) Reset() + func (m *TimeoutInfo) Size() (n int) + func (m *TimeoutInfo) String() string + func (m *TimeoutInfo) Unmarshal(dAtA []byte) error + func (m *TimeoutInfo) XXX_DiscardUnknown() + func (m *TimeoutInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TimeoutInfo) XXX_Merge(src proto.Message) + func (m *TimeoutInfo) XXX_Size() int + func (m *TimeoutInfo) XXX_Unmarshal(b []byte) error + type Vote struct + Vote *types.Vote + func (*Vote) Descriptor() ([]byte, []int) + func (*Vote) ProtoMessage() + func (m *Vote) GetVote() *types.Vote + func (m *Vote) Marshal() (dAtA []byte, err error) + func (m *Vote) MarshalTo(dAtA []byte) (int, error) + func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Vote) Reset() + func (m *Vote) Size() (n int) + func (m *Vote) String() string + func (m *Vote) Unmarshal(dAtA []byte) error + func (m *Vote) Wrap() proto.Message + func (m *Vote) XXX_DiscardUnknown() + func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Vote) XXX_Merge(src proto.Message) + func (m *Vote) XXX_Size() int + func (m *Vote) XXX_Unmarshal(b []byte) error + type VoteSetBits struct + BlockID types.BlockID + Height int64 + Round int32 + Type types.SignedMsgType + Votes bits.BitArray + func (*VoteSetBits) Descriptor() ([]byte, []int) + func (*VoteSetBits) ProtoMessage() + func (m *VoteSetBits) GetBlockID() types.BlockID + func (m *VoteSetBits) GetHeight() int64 + func (m *VoteSetBits) GetRound() int32 + func (m *VoteSetBits) GetType() types.SignedMsgType + func (m *VoteSetBits) GetVotes() bits.BitArray + func (m *VoteSetBits) Marshal() (dAtA []byte, err error) + func (m *VoteSetBits) MarshalTo(dAtA []byte) (int, error) + func (m *VoteSetBits) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VoteSetBits) Reset() + func (m *VoteSetBits) Size() (n int) + func (m *VoteSetBits) String() string + func (m *VoteSetBits) Unmarshal(dAtA []byte) error + func (m *VoteSetBits) Wrap() proto.Message + func (m *VoteSetBits) XXX_DiscardUnknown() + func (m *VoteSetBits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VoteSetBits) XXX_Merge(src proto.Message) + func (m *VoteSetBits) XXX_Size() int + func (m *VoteSetBits) XXX_Unmarshal(b []byte) error + type VoteSetMaj23 struct + BlockID types.BlockID + Height int64 + Round int32 + Type types.SignedMsgType + func (*VoteSetMaj23) Descriptor() ([]byte, []int) + func (*VoteSetMaj23) ProtoMessage() + func (m *VoteSetMaj23) GetBlockID() types.BlockID + func (m *VoteSetMaj23) GetHeight() int64 + func (m *VoteSetMaj23) GetRound() int32 + func (m *VoteSetMaj23) GetType() types.SignedMsgType + func (m *VoteSetMaj23) Marshal() (dAtA []byte, err error) + func (m *VoteSetMaj23) MarshalTo(dAtA []byte) (int, error) + func (m *VoteSetMaj23) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VoteSetMaj23) Reset() + func (m *VoteSetMaj23) Size() (n int) + func (m *VoteSetMaj23) String() string + func (m *VoteSetMaj23) Unmarshal(dAtA []byte) error + func (m *VoteSetMaj23) Wrap() proto.Message + func (m *VoteSetMaj23) XXX_DiscardUnknown() + func (m *VoteSetMaj23) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VoteSetMaj23) XXX_Merge(src proto.Message) + func (m *VoteSetMaj23) XXX_Size() int + func (m *VoteSetMaj23) XXX_Unmarshal(b []byte) error + type WALMessage struct + Sum isWALMessage_Sum + func (*WALMessage) Descriptor() ([]byte, []int) + func (*WALMessage) ProtoMessage() + func (*WALMessage) XXX_OneofWrappers() []interface{} + func (m *WALMessage) GetEndHeight() *EndHeight + func (m *WALMessage) GetEventDataRoundState() *types.EventDataRoundState + func (m *WALMessage) GetMsgInfo() *MsgInfo + func (m *WALMessage) GetSum() isWALMessage_Sum + func (m *WALMessage) GetTimeoutInfo() *TimeoutInfo + func (m *WALMessage) Marshal() (dAtA []byte, err error) + func (m *WALMessage) MarshalTo(dAtA []byte) (int, error) + func (m *WALMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WALMessage) Reset() + func (m *WALMessage) Size() (n int) + func (m *WALMessage) String() string + func (m *WALMessage) Unmarshal(dAtA []byte) error + func (m *WALMessage) XXX_DiscardUnknown() + func (m *WALMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WALMessage) XXX_Merge(src proto.Message) + func (m *WALMessage) XXX_Size() int + func (m *WALMessage) XXX_Unmarshal(b []byte) error + type WALMessage_EndHeight struct + EndHeight *EndHeight + func (m *WALMessage_EndHeight) MarshalTo(dAtA []byte) (int, error) + func (m *WALMessage_EndHeight) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WALMessage_EndHeight) Size() (n int) + type WALMessage_EventDataRoundState struct + EventDataRoundState *types.EventDataRoundState + func (m *WALMessage_EventDataRoundState) MarshalTo(dAtA []byte) (int, error) + func (m *WALMessage_EventDataRoundState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WALMessage_EventDataRoundState) Size() (n int) + type WALMessage_MsgInfo struct + MsgInfo *MsgInfo + func (m *WALMessage_MsgInfo) MarshalTo(dAtA []byte) (int, error) + func (m *WALMessage_MsgInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WALMessage_MsgInfo) Size() (n int) + type WALMessage_TimeoutInfo struct + TimeoutInfo *TimeoutInfo + func (m *WALMessage_TimeoutInfo) MarshalTo(dAtA []byte) (int, error) + func (m *WALMessage_TimeoutInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WALMessage_TimeoutInfo) Size() (n int)