Versions in this module Expand all Collapse all v1 v1.0.0 May 21, 2023 Changes in this version + var File_messages_proto_messages_proto protoreflect.FileDescriptor + var MessageType_name = map[int32]string + var MessageType_value = map[string]int32 + type CommitMessage struct + CommittedSeal []byte + ProposalHash []byte + func (*CommitMessage) Descriptor() ([]byte, []int) + func (*CommitMessage) ProtoMessage() + func (x *CommitMessage) GetCommittedSeal() []byte + func (x *CommitMessage) GetProposalHash() []byte + func (x *CommitMessage) ProtoReflect() protoreflect.Message + func (x *CommitMessage) Reset() + func (x *CommitMessage) String() string + type Message struct + From []byte + Payload isMessage_Payload + Signature []byte + Type MessageType + View *View + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetPayload() isMessage_Payload + func (m *Message) PayloadNoSig() ([]byte, error) + func (x *Message) GetCommitData() *CommitMessage + func (x *Message) GetFrom() []byte + func (x *Message) GetPrepareData() *PrepareMessage + func (x *Message) GetPreprepareData() *PrePrepareMessage + func (x *Message) GetRoundChangeData() *RoundChangeMessage + func (x *Message) GetSignature() []byte + func (x *Message) GetType() MessageType + func (x *Message) GetView() *View + func (x *Message) ProtoReflect() protoreflect.Message + func (x *Message) Reset() + func (x *Message) String() string + type MessageType int32 + const MessageType_COMMIT + const MessageType_PREPARE + const MessageType_PREPREPARE + const MessageType_ROUND_CHANGE + func (MessageType) Descriptor() protoreflect.EnumDescriptor + func (MessageType) EnumDescriptor() ([]byte, []int) + func (MessageType) Type() protoreflect.EnumType + func (x MessageType) Enum() *MessageType + func (x MessageType) Number() protoreflect.EnumNumber + func (x MessageType) String() string + type Message_CommitData struct + CommitData *CommitMessage + type Message_PrepareData struct + PrepareData *PrepareMessage + type Message_PreprepareData struct + PreprepareData *PrePrepareMessage + type Message_RoundChangeData struct + RoundChangeData *RoundChangeMessage + type PrePrepareMessage struct + Certificate *RoundChangeCertificate + Proposal *Proposal + ProposalHash []byte + func (*PrePrepareMessage) Descriptor() ([]byte, []int) + func (*PrePrepareMessage) ProtoMessage() + func (x *PrePrepareMessage) GetCertificate() *RoundChangeCertificate + func (x *PrePrepareMessage) GetProposal() *Proposal + func (x *PrePrepareMessage) GetProposalHash() []byte + func (x *PrePrepareMessage) ProtoReflect() protoreflect.Message + func (x *PrePrepareMessage) Reset() + func (x *PrePrepareMessage) String() string + type PrepareMessage struct + ProposalHash []byte + func (*PrepareMessage) Descriptor() ([]byte, []int) + func (*PrepareMessage) ProtoMessage() + func (x *PrepareMessage) GetProposalHash() []byte + func (x *PrepareMessage) ProtoReflect() protoreflect.Message + func (x *PrepareMessage) Reset() + func (x *PrepareMessage) String() string + type PreparedCertificate struct + PrepareMessages []*Message + ProposalMessage *Message + func (*PreparedCertificate) Descriptor() ([]byte, []int) + func (*PreparedCertificate) ProtoMessage() + func (x *PreparedCertificate) GetPrepareMessages() []*Message + func (x *PreparedCertificate) GetProposalMessage() *Message + func (x *PreparedCertificate) ProtoReflect() protoreflect.Message + func (x *PreparedCertificate) Reset() + func (x *PreparedCertificate) String() string + type Proposal struct + RawProposal []byte + Round uint64 + func (*Proposal) Descriptor() ([]byte, []int) + func (*Proposal) ProtoMessage() + func (x *Proposal) GetRawProposal() []byte + func (x *Proposal) GetRound() uint64 + func (x *Proposal) ProtoReflect() protoreflect.Message + func (x *Proposal) Reset() + func (x *Proposal) String() string + type RoundChangeCertificate struct + RoundChangeMessages []*Message + func (*RoundChangeCertificate) Descriptor() ([]byte, []int) + func (*RoundChangeCertificate) ProtoMessage() + func (x *RoundChangeCertificate) GetRoundChangeMessages() []*Message + func (x *RoundChangeCertificate) ProtoReflect() protoreflect.Message + func (x *RoundChangeCertificate) Reset() + func (x *RoundChangeCertificate) String() string + type RoundChangeMessage struct + LastPreparedProposal *Proposal + LatestPreparedCertificate *PreparedCertificate + func (*RoundChangeMessage) Descriptor() ([]byte, []int) + func (*RoundChangeMessage) ProtoMessage() + func (x *RoundChangeMessage) GetLastPreparedProposal() *Proposal + func (x *RoundChangeMessage) GetLatestPreparedCertificate() *PreparedCertificate + func (x *RoundChangeMessage) ProtoReflect() protoreflect.Message + func (x *RoundChangeMessage) Reset() + func (x *RoundChangeMessage) String() string + type View struct + Height uint64 + Round uint64 + func (*View) Descriptor() ([]byte, []int) + func (*View) ProtoMessage() + func (x *View) GetHeight() uint64 + func (x *View) GetRound() uint64 + func (x *View) ProtoReflect() protoreflect.Message + func (x *View) Reset() + func (x *View) String() string