Documentation ¶
Index ¶
- Variables
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetAssist() bool
- func (x *Commit) GetDigest() string
- func (x *Commit) GetSeq() uint64
- func (x *Commit) GetSignature() *Signature
- func (x *Commit) GetView() uint64
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type HeartBeat
- type HeartBeatResponse
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord) GetData() []byte
- func (x *LogRecord) GetTruncateTo() bool
- func (x *LogRecord) GetType() LogRecord_Type
- func (*LogRecord) ProtoMessage()
- func (x *LogRecord) ProtoReflect() protoreflect.Message
- func (x *LogRecord) Reset()
- func (x *LogRecord) String() string
- type LogRecord_Type
- func (LogRecord_Type) Descriptor() protoreflect.EnumDescriptor
- func (x LogRecord_Type) Enum() *LogRecord_Type
- func (LogRecord_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogRecord_Type) Number() protoreflect.EnumNumber
- func (x LogRecord_Type) String() string
- func (LogRecord_Type) Type() protoreflect.EnumType
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetCommit() *Commit
- func (m *Message) GetContent() isMessage_Content
- func (x *Message) GetHeartBeat() *HeartBeat
- func (x *Message) GetHeartBeatResponse() *HeartBeatResponse
- func (x *Message) GetNewView() *NewView
- func (x *Message) GetPrePrepare() *PrePrepare
- func (x *Message) GetPrepare() *Prepare
- func (x *Message) GetStateTransferRequest() *StateTransferRequest
- func (x *Message) GetStateTransferResponse() *StateTransferResponse
- func (x *Message) GetViewChange() *ViewChange
- func (x *Message) GetViewData() *SignedViewData
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Commit
- type Message_HeartBeat
- type Message_HeartBeatResponse
- type Message_NewView
- type Message_PrePrepare
- type Message_Prepare
- type Message_StateTransferRequest
- type Message_StateTransferResponse
- type Message_ViewChange
- type Message_ViewData
- type NewView
- type PrePrepare
- func (*PrePrepare) Descriptor() ([]byte, []int)deprecated
- func (x *PrePrepare) GetPrevCommitSignatures() []*Signature
- func (x *PrePrepare) GetProposal() *Proposal
- func (x *PrePrepare) GetSeq() uint64
- func (x *PrePrepare) GetView() uint64
- func (*PrePrepare) ProtoMessage()
- func (x *PrePrepare) ProtoReflect() protoreflect.Message
- func (x *PrePrepare) Reset()
- func (x *PrePrepare) String() string
- type Prepare
- func (*Prepare) Descriptor() ([]byte, []int)deprecated
- func (x *Prepare) GetAssist() bool
- func (x *Prepare) GetDigest() string
- func (x *Prepare) GetSeq() uint64
- func (x *Prepare) GetView() uint64
- func (*Prepare) ProtoMessage()
- func (x *Prepare) ProtoReflect() protoreflect.Message
- func (x *Prepare) Reset()
- func (x *Prepare) String() string
- type PreparesFrom
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetHeader() []byte
- func (x *Proposal) GetMetadata() []byte
- func (x *Proposal) GetPayload() []byte
- func (x *Proposal) GetVerificationSequence() uint64
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type ProposedRecord
- func (*ProposedRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ProposedRecord) GetPrePrepare() *PrePrepare
- func (x *ProposedRecord) GetPrepare() *Prepare
- func (*ProposedRecord) ProtoMessage()
- func (x *ProposedRecord) ProtoReflect() protoreflect.Message
- func (x *ProposedRecord) Reset()
- func (x *ProposedRecord) String() string
- type SavedMessage
- func (*SavedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SavedMessage) GetCommit() *Message
- func (m *SavedMessage) GetContent() isSavedMessage_Content
- func (x *SavedMessage) GetNewView() *ViewMetadata
- func (x *SavedMessage) GetProposedRecord() *ProposedRecord
- func (x *SavedMessage) GetViewChange() *ViewChange
- func (*SavedMessage) ProtoMessage()
- func (x *SavedMessage) ProtoReflect() protoreflect.Message
- func (x *SavedMessage) Reset()
- func (x *SavedMessage) String() string
- type SavedMessage_Commit
- type SavedMessage_NewView
- type SavedMessage_ProposedRecord
- type SavedMessage_ViewChange
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetMsg() []byte
- func (x *Signature) GetSigner() uint64
- func (x *Signature) GetValue() []byte
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type SignedViewData
- func (*SignedViewData) Descriptor() ([]byte, []int)deprecated
- func (x *SignedViewData) GetRawViewData() []byte
- func (x *SignedViewData) GetSignature() []byte
- func (x *SignedViewData) GetSigner() uint64
- func (*SignedViewData) ProtoMessage()
- func (x *SignedViewData) ProtoReflect() protoreflect.Message
- func (x *SignedViewData) Reset()
- func (x *SignedViewData) String() string
- type StateTransferRequest
- type StateTransferResponse
- func (*StateTransferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateTransferResponse) GetSequence() uint64
- func (x *StateTransferResponse) GetViewNum() uint64
- func (*StateTransferResponse) ProtoMessage()
- func (x *StateTransferResponse) ProtoReflect() protoreflect.Message
- func (x *StateTransferResponse) Reset()
- func (x *StateTransferResponse) String() string
- type ViewChange
- type ViewData
- func (*ViewData) Descriptor() ([]byte, []int)deprecated
- func (x *ViewData) GetInFlightPrepared() bool
- func (x *ViewData) GetInFlightProposal() *Proposal
- func (x *ViewData) GetLastDecision() *Proposal
- func (x *ViewData) GetLastDecisionSignatures() []*Signature
- func (x *ViewData) GetNextView() uint64
- func (*ViewData) ProtoMessage()
- func (x *ViewData) ProtoReflect() protoreflect.Message
- func (x *ViewData) Reset()
- func (x *ViewData) String() string
- type ViewMetadata
- func (*ViewMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ViewMetadata) GetBlackList() []uint64
- func (x *ViewMetadata) GetDecisionsInView() uint64
- func (x *ViewMetadata) GetLatestSequence() uint64
- func (x *ViewMetadata) GetPrevCommitSignatureDigest() []byte
- func (x *ViewMetadata) GetViewId() uint64
- func (*ViewMetadata) ProtoMessage()
- func (x *ViewMetadata) ProtoReflect() protoreflect.Message
- func (x *ViewMetadata) Reset()
- func (x *ViewMetadata) String() string
Constants ¶
This section is empty.
Variables ¶
var ( LogRecord_Type_name = map[int32]string{ 0: "ENTRY", 1: "CONTROL", 2: "CRC_ANCHOR", } LogRecord_Type_value = map[string]int32{ "ENTRY": 0, "CONTROL": 1, "CRC_ANCHOR": 2, } )
Enum value maps for LogRecord_Type.
var File_logrecord_proto protoreflect.FileDescriptor
var File_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` Signature *Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` Assist bool `protobuf:"varint,5,opt,name=assist,proto3" json:"assist,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetSignature ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type HeartBeat ¶
type HeartBeat struct { View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` // contains filtered or unexported fields }
func (*HeartBeat) Descriptor
deprecated
func (*HeartBeat) ProtoMessage ¶
func (*HeartBeat) ProtoMessage()
func (*HeartBeat) ProtoReflect ¶
func (x *HeartBeat) ProtoReflect() protoreflect.Message
type HeartBeatResponse ¶
type HeartBeatResponse struct { View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` // contains filtered or unexported fields }
func (*HeartBeatResponse) Descriptor
deprecated
func (*HeartBeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartBeatResponse.ProtoReflect.Descriptor instead.
func (*HeartBeatResponse) GetView ¶
func (x *HeartBeatResponse) GetView() uint64
func (*HeartBeatResponse) ProtoMessage ¶
func (*HeartBeatResponse) ProtoMessage()
func (*HeartBeatResponse) ProtoReflect ¶
func (x *HeartBeatResponse) ProtoReflect() protoreflect.Message
func (*HeartBeatResponse) Reset ¶
func (x *HeartBeatResponse) Reset()
func (*HeartBeatResponse) String ¶
func (x *HeartBeatResponse) String() string
type LogRecord ¶
type LogRecord struct { Type LogRecord_Type `protobuf:"varint,1,opt,name=type,proto3,enum=smartbftprotos.LogRecord_Type" json:"type,omitempty"` TruncateTo bool `protobuf:"varint,2,opt,name=truncate_to,json=truncateTo,proto3" json:"truncate_to,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LogRecord) Descriptor
deprecated
func (*LogRecord) GetTruncateTo ¶
func (*LogRecord) GetType ¶
func (x *LogRecord) GetType() LogRecord_Type
func (*LogRecord) ProtoMessage ¶
func (*LogRecord) ProtoMessage()
func (*LogRecord) ProtoReflect ¶
func (x *LogRecord) ProtoReflect() protoreflect.Message
type LogRecord_Type ¶
type LogRecord_Type int32
const ( LogRecord_ENTRY LogRecord_Type = 0 // Contains data LogRecord_CONTROL LogRecord_Type = 1 // Does not contain data, only control fields LogRecord_CRC_ANCHOR LogRecord_Type = 2 // A CRC anchor point )
func (LogRecord_Type) Descriptor ¶
func (LogRecord_Type) Descriptor() protoreflect.EnumDescriptor
func (LogRecord_Type) Enum ¶
func (x LogRecord_Type) Enum() *LogRecord_Type
func (LogRecord_Type) EnumDescriptor
deprecated
func (LogRecord_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogRecord_Type.Descriptor instead.
func (LogRecord_Type) Number ¶
func (x LogRecord_Type) Number() protoreflect.EnumNumber
func (LogRecord_Type) String ¶
func (x LogRecord_Type) String() string
func (LogRecord_Type) Type ¶
func (LogRecord_Type) Type() protoreflect.EnumType
type Message ¶
type Message struct { // Types that are assignable to Content: // *Message_PrePrepare // *Message_Prepare // *Message_Commit // *Message_ViewChange // *Message_ViewData // *Message_NewView // *Message_HeartBeat // *Message_HeartBeatResponse // *Message_StateTransferRequest // *Message_StateTransferResponse Content isMessage_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetContent ¶
func (m *Message) GetContent() isMessage_Content
func (*Message) GetHeartBeat ¶
func (*Message) GetHeartBeatResponse ¶
func (x *Message) GetHeartBeatResponse() *HeartBeatResponse
func (*Message) GetNewView ¶
func (*Message) GetPrePrepare ¶
func (x *Message) GetPrePrepare() *PrePrepare
func (*Message) GetPrepare ¶
func (*Message) GetStateTransferRequest ¶
func (x *Message) GetStateTransferRequest() *StateTransferRequest
func (*Message) GetStateTransferResponse ¶
func (x *Message) GetStateTransferResponse() *StateTransferResponse
func (*Message) GetViewChange ¶
func (x *Message) GetViewChange() *ViewChange
func (*Message) GetViewData ¶
func (x *Message) GetViewData() *SignedViewData
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Commit ¶
type Message_Commit struct {
Commit *Commit `protobuf:"bytes,3,opt,name=commit,proto3,oneof"`
}
type Message_HeartBeat ¶
type Message_HeartBeat struct {
HeartBeat *HeartBeat `protobuf:"bytes,7,opt,name=heart_beat,json=heartBeat,proto3,oneof"`
}
type Message_HeartBeatResponse ¶
type Message_HeartBeatResponse struct {
HeartBeatResponse *HeartBeatResponse `protobuf:"bytes,8,opt,name=heart_beat_response,json=heartBeatResponse,proto3,oneof"`
}
type Message_NewView ¶
type Message_NewView struct {
NewView *NewView `protobuf:"bytes,6,opt,name=new_view,json=newView,proto3,oneof"`
}
type Message_PrePrepare ¶
type Message_PrePrepare struct {
PrePrepare *PrePrepare `protobuf:"bytes,1,opt,name=pre_prepare,json=prePrepare,proto3,oneof"`
}
type Message_Prepare ¶
type Message_Prepare struct {
Prepare *Prepare `protobuf:"bytes,2,opt,name=prepare,proto3,oneof"`
}
type Message_StateTransferRequest ¶
type Message_StateTransferRequest struct {
StateTransferRequest *StateTransferRequest `protobuf:"bytes,9,opt,name=state_transfer_request,json=stateTransferRequest,proto3,oneof"`
}
type Message_StateTransferResponse ¶
type Message_StateTransferResponse struct {
StateTransferResponse *StateTransferResponse `protobuf:"bytes,10,opt,name=state_transfer_response,json=stateTransferResponse,proto3,oneof"`
}
type Message_ViewChange ¶
type Message_ViewChange struct {
ViewChange *ViewChange `protobuf:"bytes,4,opt,name=view_change,json=viewChange,proto3,oneof"`
}
type Message_ViewData ¶
type Message_ViewData struct {
ViewData *SignedViewData `protobuf:"bytes,5,opt,name=view_data,json=viewData,proto3,oneof"`
}
type NewView ¶
type NewView struct { SignedViewData []*SignedViewData `protobuf:"bytes,2,rep,name=signed_view_data,json=signedViewData,proto3" json:"signed_view_data,omitempty"` // contains filtered or unexported fields }
func (*NewView) Descriptor
deprecated
func (*NewView) GetSignedViewData ¶
func (x *NewView) GetSignedViewData() []*SignedViewData
func (*NewView) ProtoMessage ¶
func (*NewView) ProtoMessage()
func (*NewView) ProtoReflect ¶
func (x *NewView) ProtoReflect() protoreflect.Message
type PrePrepare ¶
type PrePrepare struct { View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` Proposal *Proposal `protobuf:"bytes,3,opt,name=proposal,proto3" json:"proposal,omitempty"` PrevCommitSignatures []*Signature `protobuf:"bytes,4,rep,name=prev_commit_signatures,json=prevCommitSignatures,proto3" json:"prev_commit_signatures,omitempty"` // contains filtered or unexported fields }
func (*PrePrepare) Descriptor
deprecated
func (*PrePrepare) Descriptor() ([]byte, []int)
Deprecated: Use PrePrepare.ProtoReflect.Descriptor instead.
func (*PrePrepare) GetPrevCommitSignatures ¶
func (x *PrePrepare) GetPrevCommitSignatures() []*Signature
func (*PrePrepare) GetProposal ¶
func (x *PrePrepare) GetProposal() *Proposal
func (*PrePrepare) GetSeq ¶
func (x *PrePrepare) GetSeq() uint64
func (*PrePrepare) GetView ¶
func (x *PrePrepare) GetView() uint64
func (*PrePrepare) ProtoMessage ¶
func (*PrePrepare) ProtoMessage()
func (*PrePrepare) ProtoReflect ¶
func (x *PrePrepare) ProtoReflect() protoreflect.Message
func (*PrePrepare) Reset ¶
func (x *PrePrepare) Reset()
func (*PrePrepare) String ¶
func (x *PrePrepare) String() string
type Prepare ¶
type Prepare struct { View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` Assist bool `protobuf:"varint,4,opt,name=assist,proto3" json:"assist,omitempty"` // contains filtered or unexported fields }
func (*Prepare) Descriptor
deprecated
func (*Prepare) ProtoMessage ¶
func (*Prepare) ProtoMessage()
func (*Prepare) ProtoReflect ¶
func (x *Prepare) ProtoReflect() protoreflect.Message
type PreparesFrom ¶
type PreparesFrom struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*PreparesFrom) Descriptor
deprecated
func (*PreparesFrom) Descriptor() ([]byte, []int)
Deprecated: Use PreparesFrom.ProtoReflect.Descriptor instead.
func (*PreparesFrom) GetIds ¶
func (x *PreparesFrom) GetIds() []uint64
func (*PreparesFrom) ProtoMessage ¶
func (*PreparesFrom) ProtoMessage()
func (*PreparesFrom) ProtoReflect ¶
func (x *PreparesFrom) ProtoReflect() protoreflect.Message
func (*PreparesFrom) Reset ¶
func (x *PreparesFrom) Reset()
func (*PreparesFrom) String ¶
func (x *PreparesFrom) String() string
type Proposal ¶
type Proposal struct { Header []byte `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` VerificationSequence uint64 `protobuf:"varint,4,opt,name=verification_sequence,json=verificationSequence,proto3" json:"verification_sequence,omitempty"` // contains filtered or unexported fields }
func (*Proposal) Descriptor
deprecated
func (*Proposal) GetMetadata ¶
func (*Proposal) GetPayload ¶
func (*Proposal) GetVerificationSequence ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶
func (x *Proposal) ProtoReflect() protoreflect.Message
type ProposedRecord ¶
type ProposedRecord struct { PrePrepare *PrePrepare `protobuf:"bytes,1,opt,name=pre_prepare,json=prePrepare,proto3" json:"pre_prepare,omitempty"` Prepare *Prepare `protobuf:"bytes,2,opt,name=prepare,proto3" json:"prepare,omitempty"` // contains filtered or unexported fields }
func (*ProposedRecord) Descriptor
deprecated
func (*ProposedRecord) Descriptor() ([]byte, []int)
Deprecated: Use ProposedRecord.ProtoReflect.Descriptor instead.
func (*ProposedRecord) GetPrePrepare ¶
func (x *ProposedRecord) GetPrePrepare() *PrePrepare
func (*ProposedRecord) GetPrepare ¶
func (x *ProposedRecord) GetPrepare() *Prepare
func (*ProposedRecord) ProtoMessage ¶
func (*ProposedRecord) ProtoMessage()
func (*ProposedRecord) ProtoReflect ¶
func (x *ProposedRecord) ProtoReflect() protoreflect.Message
func (*ProposedRecord) Reset ¶
func (x *ProposedRecord) Reset()
func (*ProposedRecord) String ¶
func (x *ProposedRecord) String() string
type SavedMessage ¶
type SavedMessage struct { // Types that are assignable to Content: // *SavedMessage_ProposedRecord // *SavedMessage_Commit // *SavedMessage_NewView // *SavedMessage_ViewChange Content isSavedMessage_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*SavedMessage) Descriptor
deprecated
func (*SavedMessage) Descriptor() ([]byte, []int)
Deprecated: Use SavedMessage.ProtoReflect.Descriptor instead.
func (*SavedMessage) GetCommit ¶
func (x *SavedMessage) GetCommit() *Message
func (*SavedMessage) GetContent ¶
func (m *SavedMessage) GetContent() isSavedMessage_Content
func (*SavedMessage) GetNewView ¶
func (x *SavedMessage) GetNewView() *ViewMetadata
func (*SavedMessage) GetProposedRecord ¶
func (x *SavedMessage) GetProposedRecord() *ProposedRecord
func (*SavedMessage) GetViewChange ¶
func (x *SavedMessage) GetViewChange() *ViewChange
func (*SavedMessage) ProtoMessage ¶
func (*SavedMessage) ProtoMessage()
func (*SavedMessage) ProtoReflect ¶
func (x *SavedMessage) ProtoReflect() protoreflect.Message
func (*SavedMessage) Reset ¶
func (x *SavedMessage) Reset()
func (*SavedMessage) String ¶
func (x *SavedMessage) String() string
type SavedMessage_Commit ¶
type SavedMessage_Commit struct {
Commit *Message `protobuf:"bytes,2,opt,name=commit,proto3,oneof"`
}
type SavedMessage_NewView ¶
type SavedMessage_NewView struct {
NewView *ViewMetadata `protobuf:"bytes,3,opt,name=new_view,json=newView,proto3,oneof"`
}
type SavedMessage_ProposedRecord ¶
type SavedMessage_ProposedRecord struct {
ProposedRecord *ProposedRecord `protobuf:"bytes,1,opt,name=proposed_record,json=proposedRecord,proto3,oneof"`
}
type SavedMessage_ViewChange ¶
type SavedMessage_ViewChange struct {
ViewChange *ViewChange `protobuf:"bytes,4,opt,name=view_change,json=viewChange,proto3,oneof"`
}
type Signature ¶
type Signature struct { Signer uint64 `protobuf:"varint,1,opt,name=signer,proto3" json:"signer,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Msg []byte `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignedViewData ¶
type SignedViewData struct { RawViewData []byte `protobuf:"bytes,1,opt,name=raw_view_data,json=rawViewData,proto3" json:"raw_view_data,omitempty"` Signer uint64 `protobuf:"varint,2,opt,name=signer,proto3" json:"signer,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignedViewData) Descriptor
deprecated
func (*SignedViewData) Descriptor() ([]byte, []int)
Deprecated: Use SignedViewData.ProtoReflect.Descriptor instead.
func (*SignedViewData) GetRawViewData ¶
func (x *SignedViewData) GetRawViewData() []byte
func (*SignedViewData) GetSignature ¶
func (x *SignedViewData) GetSignature() []byte
func (*SignedViewData) GetSigner ¶
func (x *SignedViewData) GetSigner() uint64
func (*SignedViewData) ProtoMessage ¶
func (*SignedViewData) ProtoMessage()
func (*SignedViewData) ProtoReflect ¶
func (x *SignedViewData) ProtoReflect() protoreflect.Message
func (*SignedViewData) Reset ¶
func (x *SignedViewData) Reset()
func (*SignedViewData) String ¶
func (x *SignedViewData) String() string
type StateTransferRequest ¶
type StateTransferRequest struct {
// contains filtered or unexported fields
}
func (*StateTransferRequest) Descriptor
deprecated
func (*StateTransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateTransferRequest.ProtoReflect.Descriptor instead.
func (*StateTransferRequest) ProtoMessage ¶
func (*StateTransferRequest) ProtoMessage()
func (*StateTransferRequest) ProtoReflect ¶
func (x *StateTransferRequest) ProtoReflect() protoreflect.Message
func (*StateTransferRequest) Reset ¶
func (x *StateTransferRequest) Reset()
func (*StateTransferRequest) String ¶
func (x *StateTransferRequest) String() string
type StateTransferResponse ¶
type StateTransferResponse struct { ViewNum uint64 `protobuf:"varint,1,opt,name=view_num,json=viewNum,proto3" json:"view_num,omitempty"` Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*StateTransferResponse) Descriptor
deprecated
func (*StateTransferResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateTransferResponse.ProtoReflect.Descriptor instead.
func (*StateTransferResponse) GetSequence ¶
func (x *StateTransferResponse) GetSequence() uint64
func (*StateTransferResponse) GetViewNum ¶
func (x *StateTransferResponse) GetViewNum() uint64
func (*StateTransferResponse) ProtoMessage ¶
func (*StateTransferResponse) ProtoMessage()
func (*StateTransferResponse) ProtoReflect ¶
func (x *StateTransferResponse) ProtoReflect() protoreflect.Message
func (*StateTransferResponse) Reset ¶
func (x *StateTransferResponse) Reset()
func (*StateTransferResponse) String ¶
func (x *StateTransferResponse) String() string
type ViewChange ¶
type ViewChange struct { NextView uint64 `protobuf:"varint,1,opt,name=next_view,json=nextView,proto3" json:"next_view,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ViewChange) Descriptor
deprecated
func (*ViewChange) Descriptor() ([]byte, []int)
Deprecated: Use ViewChange.ProtoReflect.Descriptor instead.
func (*ViewChange) GetNextView ¶
func (x *ViewChange) GetNextView() uint64
func (*ViewChange) GetReason ¶
func (x *ViewChange) GetReason() string
func (*ViewChange) ProtoMessage ¶
func (*ViewChange) ProtoMessage()
func (*ViewChange) ProtoReflect ¶
func (x *ViewChange) ProtoReflect() protoreflect.Message
func (*ViewChange) Reset ¶
func (x *ViewChange) Reset()
func (*ViewChange) String ¶
func (x *ViewChange) String() string
type ViewData ¶
type ViewData struct { NextView uint64 `protobuf:"varint,1,opt,name=next_view,json=nextView,proto3" json:"next_view,omitempty"` LastDecision *Proposal `protobuf:"bytes,2,opt,name=last_decision,json=lastDecision,proto3" json:"last_decision,omitempty"` LastDecisionSignatures []*Signature `` /* 129-byte string literal not displayed */ InFlightProposal *Proposal `protobuf:"bytes,4,opt,name=in_flight_proposal,json=inFlightProposal,proto3" json:"in_flight_proposal,omitempty"` InFlightPrepared bool `protobuf:"varint,5,opt,name=in_flight_prepared,json=inFlightPrepared,proto3" json:"in_flight_prepared,omitempty"` // contains filtered or unexported fields }
func (*ViewData) Descriptor
deprecated
func (*ViewData) GetInFlightPrepared ¶
func (*ViewData) GetInFlightProposal ¶
func (*ViewData) GetLastDecision ¶
func (*ViewData) GetLastDecisionSignatures ¶
func (*ViewData) GetNextView ¶
func (*ViewData) ProtoMessage ¶
func (*ViewData) ProtoMessage()
func (*ViewData) ProtoReflect ¶
func (x *ViewData) ProtoReflect() protoreflect.Message
type ViewMetadata ¶
type ViewMetadata struct { ViewId uint64 `protobuf:"varint,1,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"` LatestSequence uint64 `protobuf:"varint,2,opt,name=latest_sequence,json=latestSequence,proto3" json:"latest_sequence,omitempty"` DecisionsInView uint64 `protobuf:"varint,3,opt,name=decisions_in_view,json=decisionsInView,proto3" json:"decisions_in_view,omitempty"` BlackList []uint64 `protobuf:"varint,4,rep,packed,name=black_list,json=blackList,proto3" json:"black_list,omitempty"` PrevCommitSignatureDigest []byte `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ViewMetadata) Descriptor
deprecated
func (*ViewMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ViewMetadata.ProtoReflect.Descriptor instead.
func (*ViewMetadata) GetBlackList ¶
func (x *ViewMetadata) GetBlackList() []uint64
func (*ViewMetadata) GetDecisionsInView ¶
func (x *ViewMetadata) GetDecisionsInView() uint64
func (*ViewMetadata) GetLatestSequence ¶
func (x *ViewMetadata) GetLatestSequence() uint64
func (*ViewMetadata) GetPrevCommitSignatureDigest ¶
func (x *ViewMetadata) GetPrevCommitSignatureDigest() []byte
func (*ViewMetadata) GetViewId ¶
func (x *ViewMetadata) GetViewId() uint64
func (*ViewMetadata) ProtoMessage ¶
func (*ViewMetadata) ProtoMessage()
func (*ViewMetadata) ProtoReflect ¶
func (x *ViewMetadata) ProtoReflect() protoreflect.Message
func (*ViewMetadata) Reset ¶
func (x *ViewMetadata) Reset()
func (*ViewMetadata) String ¶
func (x *ViewMetadata) String() string