smartbftprotos

package
v2.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 8 modules, 18 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_smartbftprotos_logrecord_proto protoreflect.FileDescriptor
View Source
var File_smartbftprotos_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) Descriptor() ([]byte, []int)

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetAssist

func (x *Commit) GetAssist() bool

func (*Commit) GetDigest

func (x *Commit) GetDigest() string

func (*Commit) GetSeq

func (x *Commit) GetSeq() uint64

func (*Commit) GetSignature

func (x *Commit) GetSignature() *Signature

func (*Commit) GetView

func (x *Commit) GetView() uint64

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

func (x *Commit) ProtoReflect() protoreflect.Message

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HeartBeat.ProtoReflect.Descriptor instead.

func (*HeartBeat) GetSeq

func (x *HeartBeat) GetSeq() uint64

func (*HeartBeat) GetView

func (x *HeartBeat) GetView() uint64

func (*HeartBeat) ProtoMessage

func (*HeartBeat) ProtoMessage()

func (*HeartBeat) ProtoReflect

func (x *HeartBeat) ProtoReflect() protoreflect.Message

func (*HeartBeat) Reset

func (x *HeartBeat) Reset()

func (*HeartBeat) String

func (x *HeartBeat) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use LogRecord.ProtoReflect.Descriptor instead.

func (*LogRecord) GetData

func (x *LogRecord) GetData() []byte

func (*LogRecord) GetTruncateTo

func (x *LogRecord) GetTruncateTo() bool

func (*LogRecord) GetType

func (x *LogRecord) GetType() LogRecord_Type

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) ProtoReflect

func (x *LogRecord) ProtoReflect() protoreflect.Message

func (*LogRecord) Reset

func (x *LogRecord) Reset()

func (*LogRecord) String

func (x *LogRecord) String() string

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) 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 (LogRecord_Type) String

func (x LogRecord_Type) String() string

func (LogRecord_Type) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetCommit

func (x *Message) GetCommit() *Commit

func (*Message) GetContent

func (m *Message) GetContent() isMessage_Content

func (*Message) GetHeartBeat

func (x *Message) GetHeartBeat() *HeartBeat

func (*Message) GetHeartBeatResponse

func (x *Message) GetHeartBeatResponse() *HeartBeatResponse

func (*Message) GetNewView

func (x *Message) GetNewView() *NewView

func (*Message) GetPrePrepare

func (x *Message) GetPrePrepare() *PrePrepare

func (*Message) GetPrepare

func (x *Message) GetPrepare() *Prepare

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use NewView.ProtoReflect.Descriptor instead.

func (*NewView) GetSignedViewData

func (x *NewView) GetSignedViewData() []*SignedViewData

func (*NewView) ProtoMessage

func (*NewView) ProtoMessage()

func (*NewView) ProtoReflect

func (x *NewView) ProtoReflect() protoreflect.Message

func (*NewView) Reset

func (x *NewView) Reset()

func (*NewView) String

func (x *NewView) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Prepare.ProtoReflect.Descriptor instead.

func (*Prepare) GetAssist

func (x *Prepare) GetAssist() bool

func (*Prepare) GetDigest

func (x *Prepare) GetDigest() string

func (*Prepare) GetSeq

func (x *Prepare) GetSeq() uint64

func (*Prepare) GetView

func (x *Prepare) GetView() uint64

func (*Prepare) ProtoMessage

func (*Prepare) ProtoMessage()

func (*Prepare) ProtoReflect

func (x *Prepare) ProtoReflect() protoreflect.Message

func (*Prepare) Reset

func (x *Prepare) Reset()

func (*Prepare) String

func (x *Prepare) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Proposal.ProtoReflect.Descriptor instead.

func (*Proposal) GetHeader

func (x *Proposal) GetHeader() []byte

func (*Proposal) GetMetadata

func (x *Proposal) GetMetadata() []byte

func (*Proposal) GetPayload

func (x *Proposal) GetPayload() []byte

func (*Proposal) GetVerificationSequence

func (x *Proposal) GetVerificationSequence() uint64

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) ProtoReflect

func (x *Proposal) ProtoReflect() protoreflect.Message

func (*Proposal) Reset

func (x *Proposal) Reset()

func (*Proposal) String

func (x *Proposal) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetMsg

func (x *Signature) GetMsg() []byte

func (*Signature) GetSigner

func (x *Signature) GetSigner() uint64

func (*Signature) GetValue

func (x *Signature) GetValue() []byte

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

func (x *Signature) ProtoReflect() protoreflect.Message

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ViewData.ProtoReflect.Descriptor instead.

func (*ViewData) GetInFlightPrepared

func (x *ViewData) GetInFlightPrepared() bool

func (*ViewData) GetInFlightProposal

func (x *ViewData) GetInFlightProposal() *Proposal

func (*ViewData) GetLastDecision

func (x *ViewData) GetLastDecision() *Proposal

func (*ViewData) GetLastDecisionSignatures

func (x *ViewData) GetLastDecisionSignatures() []*Signature

func (*ViewData) GetNextView

func (x *ViewData) GetNextView() uint64

func (*ViewData) ProtoMessage

func (*ViewData) ProtoMessage()

func (*ViewData) ProtoReflect

func (x *ViewData) ProtoReflect() protoreflect.Message

func (*ViewData) Reset

func (x *ViewData) Reset()

func (*ViewData) String

func (x *ViewData) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL