smartbftprotos

package
v2.3.0 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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogRecord_Type_name = map[int32]string{
	0: "ENTRY",
	1: "CONTROL",
	2: "CRC_ANCHOR",
}
View Source
var LogRecord_Type_value = map[string]int32{
	"ENTRY":      0,
	"CONTROL":    1,
	"CRC_ANCHOR": 2,
}

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"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Commit) Descriptor

func (*Commit) Descriptor() ([]byte, []int)

func (*Commit) GetAssist

func (m *Commit) GetAssist() bool

func (*Commit) GetDigest

func (m *Commit) GetDigest() string

func (*Commit) GetSeq

func (m *Commit) GetSeq() uint64

func (*Commit) GetSignature

func (m *Commit) GetSignature() *Signature

func (*Commit) GetView

func (m *Commit) GetView() uint64

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) Reset

func (m *Commit) Reset()

func (*Commit) String

func (m *Commit) String() string

func (*Commit) XXX_DiscardUnknown

func (m *Commit) XXX_DiscardUnknown()

func (*Commit) XXX_Marshal

func (m *Commit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Commit) XXX_Merge

func (m *Commit) XXX_Merge(src proto.Message)

func (*Commit) XXX_Size

func (m *Commit) XXX_Size() int

func (*Commit) XXX_Unmarshal

func (m *Commit) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HeartBeat) Descriptor

func (*HeartBeat) Descriptor() ([]byte, []int)

func (*HeartBeat) GetSeq

func (m *HeartBeat) GetSeq() uint64

func (*HeartBeat) GetView

func (m *HeartBeat) GetView() uint64

func (*HeartBeat) ProtoMessage

func (*HeartBeat) ProtoMessage()

func (*HeartBeat) Reset

func (m *HeartBeat) Reset()

func (*HeartBeat) String

func (m *HeartBeat) String() string

func (*HeartBeat) XXX_DiscardUnknown

func (m *HeartBeat) XXX_DiscardUnknown()

func (*HeartBeat) XXX_Marshal

func (m *HeartBeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeartBeat) XXX_Merge

func (m *HeartBeat) XXX_Merge(src proto.Message)

func (*HeartBeat) XXX_Size

func (m *HeartBeat) XXX_Size() int

func (*HeartBeat) XXX_Unmarshal

func (m *HeartBeat) XXX_Unmarshal(b []byte) error

type HeartBeatResponse

type HeartBeatResponse struct {
	View                 uint64   `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HeartBeatResponse) Descriptor

func (*HeartBeatResponse) Descriptor() ([]byte, []int)

func (*HeartBeatResponse) GetView

func (m *HeartBeatResponse) GetView() uint64

func (*HeartBeatResponse) ProtoMessage

func (*HeartBeatResponse) ProtoMessage()

func (*HeartBeatResponse) Reset

func (m *HeartBeatResponse) Reset()

func (*HeartBeatResponse) String

func (m *HeartBeatResponse) String() string

func (*HeartBeatResponse) XXX_DiscardUnknown

func (m *HeartBeatResponse) XXX_DiscardUnknown()

func (*HeartBeatResponse) XXX_Marshal

func (m *HeartBeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeartBeatResponse) XXX_Merge

func (m *HeartBeatResponse) XXX_Merge(src proto.Message)

func (*HeartBeatResponse) XXX_Size

func (m *HeartBeatResponse) XXX_Size() int

func (*HeartBeatResponse) XXX_Unmarshal

func (m *HeartBeatResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*LogRecord) Descriptor

func (*LogRecord) Descriptor() ([]byte, []int)

func (*LogRecord) GetData

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

func (*LogRecord) GetTruncateTo

func (m *LogRecord) GetTruncateTo() bool

func (*LogRecord) GetType

func (m *LogRecord) GetType() LogRecord_Type

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) Reset

func (m *LogRecord) Reset()

func (*LogRecord) String

func (m *LogRecord) String() string

func (*LogRecord) XXX_DiscardUnknown

func (m *LogRecord) XXX_DiscardUnknown()

func (*LogRecord) XXX_Marshal

func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogRecord) XXX_Merge

func (m *LogRecord) XXX_Merge(src proto.Message)

func (*LogRecord) XXX_Size

func (m *LogRecord) XXX_Size() int

func (*LogRecord) XXX_Unmarshal

func (m *LogRecord) XXX_Unmarshal(b []byte) error

type LogRecord_Type

type LogRecord_Type int32
const (
	LogRecord_ENTRY      LogRecord_Type = 0
	LogRecord_CONTROL    LogRecord_Type = 1
	LogRecord_CRC_ANCHOR LogRecord_Type = 2
)

func (LogRecord_Type) EnumDescriptor

func (LogRecord_Type) EnumDescriptor() ([]byte, []int)

func (LogRecord_Type) String

func (x LogRecord_Type) String() string

type Message

type Message struct {
	// Types that are valid to be assigned 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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Message) Descriptor

func (*Message) Descriptor() ([]byte, []int)

func (*Message) GetCommit

func (m *Message) GetCommit() *Commit

func (*Message) GetContent

func (m *Message) GetContent() isMessage_Content

func (*Message) GetHeartBeat

func (m *Message) GetHeartBeat() *HeartBeat

func (*Message) GetHeartBeatResponse

func (m *Message) GetHeartBeatResponse() *HeartBeatResponse

func (*Message) GetNewView

func (m *Message) GetNewView() *NewView

func (*Message) GetPrePrepare

func (m *Message) GetPrePrepare() *PrePrepare

func (*Message) GetPrepare

func (m *Message) GetPrepare() *Prepare

func (*Message) GetStateTransferRequest

func (m *Message) GetStateTransferRequest() *StateTransferRequest

func (*Message) GetStateTransferResponse

func (m *Message) GetStateTransferResponse() *StateTransferResponse

func (*Message) GetViewChange

func (m *Message) GetViewChange() *ViewChange

func (*Message) GetViewData

func (m *Message) GetViewData() *SignedViewData

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_OneofWrappers

func (*Message) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*NewView) Descriptor

func (*NewView) Descriptor() ([]byte, []int)

func (*NewView) GetSignedViewData

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

func (*NewView) ProtoMessage

func (*NewView) ProtoMessage()

func (*NewView) Reset

func (m *NewView) Reset()

func (*NewView) String

func (m *NewView) String() string

func (*NewView) XXX_DiscardUnknown

func (m *NewView) XXX_DiscardUnknown()

func (*NewView) XXX_Marshal

func (m *NewView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewView) XXX_Merge

func (m *NewView) XXX_Merge(src proto.Message)

func (*NewView) XXX_Size

func (m *NewView) XXX_Size() int

func (*NewView) XXX_Unmarshal

func (m *NewView) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*PrePrepare) Descriptor

func (*PrePrepare) Descriptor() ([]byte, []int)

func (*PrePrepare) GetPrevCommitSignatures

func (m *PrePrepare) GetPrevCommitSignatures() []*Signature

func (*PrePrepare) GetProposal

func (m *PrePrepare) GetProposal() *Proposal

func (*PrePrepare) GetSeq

func (m *PrePrepare) GetSeq() uint64

func (*PrePrepare) GetView

func (m *PrePrepare) GetView() uint64

func (*PrePrepare) ProtoMessage

func (*PrePrepare) ProtoMessage()

func (*PrePrepare) Reset

func (m *PrePrepare) Reset()

func (*PrePrepare) String

func (m *PrePrepare) String() string

func (*PrePrepare) XXX_DiscardUnknown

func (m *PrePrepare) XXX_DiscardUnknown()

func (*PrePrepare) XXX_Marshal

func (m *PrePrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrePrepare) XXX_Merge

func (m *PrePrepare) XXX_Merge(src proto.Message)

func (*PrePrepare) XXX_Size

func (m *PrePrepare) XXX_Size() int

func (*PrePrepare) XXX_Unmarshal

func (m *PrePrepare) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Prepare) Descriptor

func (*Prepare) Descriptor() ([]byte, []int)

func (*Prepare) GetAssist

func (m *Prepare) GetAssist() bool

func (*Prepare) GetDigest

func (m *Prepare) GetDigest() string

func (*Prepare) GetSeq

func (m *Prepare) GetSeq() uint64

func (*Prepare) GetView

func (m *Prepare) GetView() uint64

func (*Prepare) ProtoMessage

func (*Prepare) ProtoMessage()

func (*Prepare) Reset

func (m *Prepare) Reset()

func (*Prepare) String

func (m *Prepare) String() string

func (*Prepare) XXX_DiscardUnknown

func (m *Prepare) XXX_DiscardUnknown()

func (*Prepare) XXX_Marshal

func (m *Prepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Prepare) XXX_Merge

func (m *Prepare) XXX_Merge(src proto.Message)

func (*Prepare) XXX_Size

func (m *Prepare) XXX_Size() int

func (*Prepare) XXX_Unmarshal

func (m *Prepare) XXX_Unmarshal(b []byte) error

type PreparesFrom

type PreparesFrom struct {
	Ids                  []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PreparesFrom) Descriptor

func (*PreparesFrom) Descriptor() ([]byte, []int)

func (*PreparesFrom) GetIds

func (m *PreparesFrom) GetIds() []uint64

func (*PreparesFrom) ProtoMessage

func (*PreparesFrom) ProtoMessage()

func (*PreparesFrom) Reset

func (m *PreparesFrom) Reset()

func (*PreparesFrom) String

func (m *PreparesFrom) String() string

func (*PreparesFrom) XXX_DiscardUnknown

func (m *PreparesFrom) XXX_DiscardUnknown()

func (*PreparesFrom) XXX_Marshal

func (m *PreparesFrom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PreparesFrom) XXX_Merge

func (m *PreparesFrom) XXX_Merge(src proto.Message)

func (*PreparesFrom) XXX_Size

func (m *PreparesFrom) XXX_Size() int

func (*PreparesFrom) XXX_Unmarshal

func (m *PreparesFrom) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Proposal) Descriptor

func (*Proposal) Descriptor() ([]byte, []int)

func (*Proposal) GetHeader

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

func (*Proposal) GetMetadata

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

func (*Proposal) GetPayload

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

func (*Proposal) GetVerificationSequence

func (m *Proposal) GetVerificationSequence() uint64

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) Reset

func (m *Proposal) Reset()

func (*Proposal) String

func (m *Proposal) String() string

func (*Proposal) XXX_DiscardUnknown

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal

func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proposal) XXX_Merge

func (m *Proposal) XXX_Merge(src proto.Message)

func (*Proposal) XXX_Size

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal

func (m *Proposal) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ProposedRecord) Descriptor

func (*ProposedRecord) Descriptor() ([]byte, []int)

func (*ProposedRecord) GetPrePrepare

func (m *ProposedRecord) GetPrePrepare() *PrePrepare

func (*ProposedRecord) GetPrepare

func (m *ProposedRecord) GetPrepare() *Prepare

func (*ProposedRecord) ProtoMessage

func (*ProposedRecord) ProtoMessage()

func (*ProposedRecord) Reset

func (m *ProposedRecord) Reset()

func (*ProposedRecord) String

func (m *ProposedRecord) String() string

func (*ProposedRecord) XXX_DiscardUnknown

func (m *ProposedRecord) XXX_DiscardUnknown()

func (*ProposedRecord) XXX_Marshal

func (m *ProposedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProposedRecord) XXX_Merge

func (m *ProposedRecord) XXX_Merge(src proto.Message)

func (*ProposedRecord) XXX_Size

func (m *ProposedRecord) XXX_Size() int

func (*ProposedRecord) XXX_Unmarshal

func (m *ProposedRecord) XXX_Unmarshal(b []byte) error

type SavedMessage

type SavedMessage struct {
	// Types that are valid to be assigned to Content:
	//	*SavedMessage_ProposedRecord
	//	*SavedMessage_Commit
	//	*SavedMessage_NewView
	//	*SavedMessage_ViewChange
	Content              isSavedMessage_Content `protobuf_oneof:"content"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SavedMessage) Descriptor

func (*SavedMessage) Descriptor() ([]byte, []int)

func (*SavedMessage) GetCommit

func (m *SavedMessage) GetCommit() *Message

func (*SavedMessage) GetContent

func (m *SavedMessage) GetContent() isSavedMessage_Content

func (*SavedMessage) GetNewView

func (m *SavedMessage) GetNewView() *ViewMetadata

func (*SavedMessage) GetProposedRecord

func (m *SavedMessage) GetProposedRecord() *ProposedRecord

func (*SavedMessage) GetViewChange

func (m *SavedMessage) GetViewChange() *ViewChange

func (*SavedMessage) ProtoMessage

func (*SavedMessage) ProtoMessage()

func (*SavedMessage) Reset

func (m *SavedMessage) Reset()

func (*SavedMessage) String

func (m *SavedMessage) String() string

func (*SavedMessage) XXX_DiscardUnknown

func (m *SavedMessage) XXX_DiscardUnknown()

func (*SavedMessage) XXX_Marshal

func (m *SavedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedMessage) XXX_Merge

func (m *SavedMessage) XXX_Merge(src proto.Message)

func (*SavedMessage) XXX_OneofWrappers

func (*SavedMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SavedMessage) XXX_Size

func (m *SavedMessage) XXX_Size() int

func (*SavedMessage) XXX_Unmarshal

func (m *SavedMessage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Signature) Descriptor

func (*Signature) Descriptor() ([]byte, []int)

func (*Signature) GetMsg

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

func (*Signature) GetSigner

func (m *Signature) GetSigner() uint64

func (*Signature) GetValue

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

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) String

func (m *Signature) String() string

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signature) XXX_Merge

func (m *Signature) XXX_Merge(src proto.Message)

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

func (m *Signature) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignedViewData) Descriptor

func (*SignedViewData) Descriptor() ([]byte, []int)

func (*SignedViewData) GetRawViewData

func (m *SignedViewData) GetRawViewData() []byte

func (*SignedViewData) GetSignature

func (m *SignedViewData) GetSignature() []byte

func (*SignedViewData) GetSigner

func (m *SignedViewData) GetSigner() uint64

func (*SignedViewData) ProtoMessage

func (*SignedViewData) ProtoMessage()

func (*SignedViewData) Reset

func (m *SignedViewData) Reset()

func (*SignedViewData) String

func (m *SignedViewData) String() string

func (*SignedViewData) XXX_DiscardUnknown

func (m *SignedViewData) XXX_DiscardUnknown()

func (*SignedViewData) XXX_Marshal

func (m *SignedViewData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedViewData) XXX_Merge

func (m *SignedViewData) XXX_Merge(src proto.Message)

func (*SignedViewData) XXX_Size

func (m *SignedViewData) XXX_Size() int

func (*SignedViewData) XXX_Unmarshal

func (m *SignedViewData) XXX_Unmarshal(b []byte) error

type StateTransferRequest

type StateTransferRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateTransferRequest) Descriptor

func (*StateTransferRequest) Descriptor() ([]byte, []int)

func (*StateTransferRequest) ProtoMessage

func (*StateTransferRequest) ProtoMessage()

func (*StateTransferRequest) Reset

func (m *StateTransferRequest) Reset()

func (*StateTransferRequest) String

func (m *StateTransferRequest) String() string

func (*StateTransferRequest) XXX_DiscardUnknown

func (m *StateTransferRequest) XXX_DiscardUnknown()

func (*StateTransferRequest) XXX_Marshal

func (m *StateTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateTransferRequest) XXX_Merge

func (m *StateTransferRequest) XXX_Merge(src proto.Message)

func (*StateTransferRequest) XXX_Size

func (m *StateTransferRequest) XXX_Size() int

func (*StateTransferRequest) XXX_Unmarshal

func (m *StateTransferRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateTransferResponse) Descriptor

func (*StateTransferResponse) Descriptor() ([]byte, []int)

func (*StateTransferResponse) GetSequence

func (m *StateTransferResponse) GetSequence() uint64

func (*StateTransferResponse) GetViewNum

func (m *StateTransferResponse) GetViewNum() uint64

func (*StateTransferResponse) ProtoMessage

func (*StateTransferResponse) ProtoMessage()

func (*StateTransferResponse) Reset

func (m *StateTransferResponse) Reset()

func (*StateTransferResponse) String

func (m *StateTransferResponse) String() string

func (*StateTransferResponse) XXX_DiscardUnknown

func (m *StateTransferResponse) XXX_DiscardUnknown()

func (*StateTransferResponse) XXX_Marshal

func (m *StateTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateTransferResponse) XXX_Merge

func (m *StateTransferResponse) XXX_Merge(src proto.Message)

func (*StateTransferResponse) XXX_Size

func (m *StateTransferResponse) XXX_Size() int

func (*StateTransferResponse) XXX_Unmarshal

func (m *StateTransferResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ViewChange) Descriptor

func (*ViewChange) Descriptor() ([]byte, []int)

func (*ViewChange) GetNextView

func (m *ViewChange) GetNextView() uint64

func (*ViewChange) GetReason

func (m *ViewChange) GetReason() string

func (*ViewChange) ProtoMessage

func (*ViewChange) ProtoMessage()

func (*ViewChange) Reset

func (m *ViewChange) Reset()

func (*ViewChange) String

func (m *ViewChange) String() string

func (*ViewChange) XXX_DiscardUnknown

func (m *ViewChange) XXX_DiscardUnknown()

func (*ViewChange) XXX_Marshal

func (m *ViewChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewChange) XXX_Merge

func (m *ViewChange) XXX_Merge(src proto.Message)

func (*ViewChange) XXX_Size

func (m *ViewChange) XXX_Size() int

func (*ViewChange) XXX_Unmarshal

func (m *ViewChange) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral   struct{}     `json:"-"`
	XXX_unrecognized       []byte       `json:"-"`
	XXX_sizecache          int32        `json:"-"`
}

func (*ViewData) Descriptor

func (*ViewData) Descriptor() ([]byte, []int)

func (*ViewData) GetInFlightPrepared

func (m *ViewData) GetInFlightPrepared() bool

func (*ViewData) GetInFlightProposal

func (m *ViewData) GetInFlightProposal() *Proposal

func (*ViewData) GetLastDecision

func (m *ViewData) GetLastDecision() *Proposal

func (*ViewData) GetLastDecisionSignatures

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

func (*ViewData) GetNextView

func (m *ViewData) GetNextView() uint64

func (*ViewData) ProtoMessage

func (*ViewData) ProtoMessage()

func (*ViewData) Reset

func (m *ViewData) Reset()

func (*ViewData) String

func (m *ViewData) String() string

func (*ViewData) XXX_DiscardUnknown

func (m *ViewData) XXX_DiscardUnknown()

func (*ViewData) XXX_Marshal

func (m *ViewData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewData) XXX_Merge

func (m *ViewData) XXX_Merge(src proto.Message)

func (*ViewData) XXX_Size

func (m *ViewData) XXX_Size() int

func (*ViewData) XXX_Unmarshal

func (m *ViewData) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*ViewMetadata) Descriptor

func (*ViewMetadata) Descriptor() ([]byte, []int)

func (*ViewMetadata) GetBlackList

func (m *ViewMetadata) GetBlackList() []uint64

func (*ViewMetadata) GetDecisionsInView

func (m *ViewMetadata) GetDecisionsInView() uint64

func (*ViewMetadata) GetLatestSequence

func (m *ViewMetadata) GetLatestSequence() uint64

func (*ViewMetadata) GetPrevCommitSignatureDigest

func (m *ViewMetadata) GetPrevCommitSignatureDigest() []byte

func (*ViewMetadata) GetViewId

func (m *ViewMetadata) GetViewId() uint64

func (*ViewMetadata) ProtoMessage

func (*ViewMetadata) ProtoMessage()

func (*ViewMetadata) Reset

func (m *ViewMetadata) Reset()

func (*ViewMetadata) String

func (m *ViewMetadata) String() string

func (*ViewMetadata) XXX_DiscardUnknown

func (m *ViewMetadata) XXX_DiscardUnknown()

func (*ViewMetadata) XXX_Marshal

func (m *ViewMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewMetadata) XXX_Merge

func (m *ViewMetadata) XXX_Merge(src proto.Message)

func (*ViewMetadata) XXX_Size

func (m *ViewMetadata) XXX_Size() int

func (*ViewMetadata) XXX_Unmarshal

func (m *ViewMetadata) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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