Documentation ¶
Index ¶
- Variables
- type ConsensusMsg
- func (*ConsensusMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusMsg) GetJustification() []*QBFTMsg
- func (x *ConsensusMsg) GetMsg() *QBFTMsg
- func (*ConsensusMsg) ProtoMessage()
- func (x *ConsensusMsg) ProtoReflect() protoreflect.Message
- func (x *ConsensusMsg) Reset()
- func (x *ConsensusMsg) String() string
- type Duty
- type ParSigExMsg
- func (*ParSigExMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ParSigExMsg) GetDataSet() *ParSignedDataSet
- func (x *ParSigExMsg) GetDuty() *Duty
- func (*ParSigExMsg) ProtoMessage()
- func (x *ParSigExMsg) ProtoReflect() protoreflect.Message
- func (x *ParSigExMsg) Reset()
- func (x *ParSigExMsg) String() string
- type ParSignedData
- func (*ParSignedData) Descriptor() ([]byte, []int)deprecated
- func (x *ParSignedData) GetData() []byte
- func (x *ParSignedData) GetShareIdx() int32
- func (x *ParSignedData) GetSignature() []byte
- func (*ParSignedData) ProtoMessage()
- func (x *ParSignedData) ProtoReflect() protoreflect.Message
- func (x *ParSignedData) Reset()
- func (x *ParSignedData) String() string
- type ParSignedDataSet
- func (*ParSignedDataSet) Descriptor() ([]byte, []int)deprecated
- func (x *ParSignedDataSet) GetSet() map[string]*ParSignedData
- func (*ParSignedDataSet) ProtoMessage()
- func (x *ParSignedDataSet) ProtoReflect() protoreflect.Message
- func (x *ParSignedDataSet) Reset()
- func (x *ParSignedDataSet) String() string
- type PriorityMsg
- func (*PriorityMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityMsg) GetDuty() *Duty
- func (x *PriorityMsg) GetPeerId() string
- func (x *PriorityMsg) GetSignature() []byte
- func (x *PriorityMsg) GetTopics() []*PriorityTopicProposal
- func (*PriorityMsg) ProtoMessage()
- func (x *PriorityMsg) ProtoReflect() protoreflect.Message
- func (x *PriorityMsg) Reset()
- func (x *PriorityMsg) String() string
- type PriorityResult
- func (*PriorityResult) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityResult) GetMsgs() []*PriorityMsg
- func (x *PriorityResult) GetTopics() []*PriorityTopicResult
- func (*PriorityResult) ProtoMessage()
- func (x *PriorityResult) ProtoReflect() protoreflect.Message
- func (x *PriorityResult) Reset()
- func (x *PriorityResult) String() string
- type PriorityScoredResult
- func (*PriorityScoredResult) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityScoredResult) GetPriority() *anypb.Any
- func (x *PriorityScoredResult) GetScore() int64
- func (*PriorityScoredResult) ProtoMessage()
- func (x *PriorityScoredResult) ProtoReflect() protoreflect.Message
- func (x *PriorityScoredResult) Reset()
- func (x *PriorityScoredResult) String() string
- type PriorityTopicProposal
- func (*PriorityTopicProposal) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityTopicProposal) GetPriorities() []*anypb.Any
- func (x *PriorityTopicProposal) GetTopic() *anypb.Any
- func (*PriorityTopicProposal) ProtoMessage()
- func (x *PriorityTopicProposal) ProtoReflect() protoreflect.Message
- func (x *PriorityTopicProposal) Reset()
- func (x *PriorityTopicProposal) String() string
- type PriorityTopicResult
- func (*PriorityTopicResult) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityTopicResult) GetPriorities() []*PriorityScoredResult
- func (x *PriorityTopicResult) GetTopic() *anypb.Any
- func (*PriorityTopicResult) ProtoMessage()
- func (x *PriorityTopicResult) ProtoReflect() protoreflect.Message
- func (x *PriorityTopicResult) Reset()
- func (x *PriorityTopicResult) String() string
- type QBFTMsg
- func (*QBFTMsg) Descriptor() ([]byte, []int)deprecated
- func (x *QBFTMsg) GetDuty() *Duty
- func (x *QBFTMsg) GetPeerIdx() int64
- func (x *QBFTMsg) GetPreparedRound() int64
- func (x *QBFTMsg) GetPreparedValue() *anypb.Any
- func (x *QBFTMsg) GetPreparedValueLegacy() *UnsignedDataSetdeprecated
- func (x *QBFTMsg) GetRound() int64
- func (x *QBFTMsg) GetSignature() []byte
- func (x *QBFTMsg) GetType() int64
- func (x *QBFTMsg) GetValue() *anypb.Any
- func (x *QBFTMsg) GetValueLegacy() *UnsignedDataSetdeprecated
- func (*QBFTMsg) ProtoMessage()
- func (x *QBFTMsg) ProtoReflect() protoreflect.Message
- func (x *QBFTMsg) Reset()
- func (x *QBFTMsg) String() string
- type QBFTMsgLegacydeprecated
- func (*QBFTMsgLegacy) Descriptor() ([]byte, []int)deprecated
- func (x *QBFTMsgLegacy) GetDuty() *Duty
- func (x *QBFTMsgLegacy) GetPeerIdx() int64
- func (x *QBFTMsgLegacy) GetPreparedRound() int64
- func (x *QBFTMsgLegacy) GetPreparedValue() *UnsignedDataSet
- func (x *QBFTMsgLegacy) GetRound() int64
- func (x *QBFTMsgLegacy) GetSignature() []byte
- func (x *QBFTMsgLegacy) GetType() int64
- func (x *QBFTMsgLegacy) GetValue() *UnsignedDataSet
- func (*QBFTMsgLegacy) ProtoMessage()
- func (x *QBFTMsgLegacy) ProtoReflect() protoreflect.Message
- func (x *QBFTMsgLegacy) Reset()
- func (x *QBFTMsgLegacy) String() string
- type SniffedConsensusInstance
- func (*SniffedConsensusInstance) Descriptor() ([]byte, []int)deprecated
- func (x *SniffedConsensusInstance) GetMsgs() []*SniffedConsensusMsg
- func (x *SniffedConsensusInstance) GetNodes() int64
- func (x *SniffedConsensusInstance) GetPeerIdx() int64
- func (x *SniffedConsensusInstance) GetStartedAt() *timestamppb.Timestamp
- func (*SniffedConsensusInstance) ProtoMessage()
- func (x *SniffedConsensusInstance) ProtoReflect() protoreflect.Message
- func (x *SniffedConsensusInstance) Reset()
- func (x *SniffedConsensusInstance) String() string
- type SniffedConsensusInstances
- func (*SniffedConsensusInstances) Descriptor() ([]byte, []int)deprecated
- func (x *SniffedConsensusInstances) GetGitHash() string
- func (x *SniffedConsensusInstances) GetInstances() []*SniffedConsensusInstance
- func (*SniffedConsensusInstances) ProtoMessage()
- func (x *SniffedConsensusInstances) ProtoReflect() protoreflect.Message
- func (x *SniffedConsensusInstances) Reset()
- func (x *SniffedConsensusInstances) String() string
- type SniffedConsensusMsg
- func (*SniffedConsensusMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SniffedConsensusMsg) GetMsg() *ConsensusMsg
- func (x *SniffedConsensusMsg) GetTimestamp() *timestamppb.Timestamp
- func (*SniffedConsensusMsg) ProtoMessage()
- func (x *SniffedConsensusMsg) ProtoReflect() protoreflect.Message
- func (x *SniffedConsensusMsg) Reset()
- func (x *SniffedConsensusMsg) String() string
- type UnsignedDataSet
Constants ¶
This section is empty.
Variables ¶
var File_core_corepb_v1_consensus_proto protoreflect.FileDescriptor
var File_core_corepb_v1_core_proto protoreflect.FileDescriptor
var File_core_corepb_v1_parsigex_proto protoreflect.FileDescriptor
var File_core_corepb_v1_priority_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConsensusMsg ¶ added in v0.4.0
type ConsensusMsg struct { Msg *QBFTMsg `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Justification []*QBFTMsg `protobuf:"bytes,2,rep,name=justification,proto3" json:"justification,omitempty"` // contains filtered or unexported fields }
func (*ConsensusMsg) Descriptor
deprecated
added in
v0.4.0
func (*ConsensusMsg) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusMsg.ProtoReflect.Descriptor instead.
func (*ConsensusMsg) GetJustification ¶ added in v0.4.0
func (x *ConsensusMsg) GetJustification() []*QBFTMsg
func (*ConsensusMsg) GetMsg ¶ added in v0.4.0
func (x *ConsensusMsg) GetMsg() *QBFTMsg
func (*ConsensusMsg) ProtoMessage ¶ added in v0.4.0
func (*ConsensusMsg) ProtoMessage()
func (*ConsensusMsg) ProtoReflect ¶ added in v0.4.0
func (x *ConsensusMsg) ProtoReflect() protoreflect.Message
func (*ConsensusMsg) Reset ¶ added in v0.4.0
func (x *ConsensusMsg) Reset()
func (*ConsensusMsg) String ¶ added in v0.4.0
func (x *ConsensusMsg) String() string
type Duty ¶
type Duty struct { Slot int64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // int64 Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // core.DutyType // contains filtered or unexported fields }
func (*Duty) Descriptor
deprecated
func (*Duty) ProtoMessage ¶
func (*Duty) ProtoMessage()
func (*Duty) ProtoReflect ¶
func (x *Duty) ProtoReflect() protoreflect.Message
type ParSigExMsg ¶
type ParSigExMsg struct { Duty *Duty `protobuf:"bytes,1,opt,name=duty,proto3" json:"duty,omitempty"` DataSet *ParSignedDataSet `protobuf:"bytes,2,opt,name=data_set,json=dataSet,proto3" json:"data_set,omitempty"` // contains filtered or unexported fields }
func (*ParSigExMsg) Descriptor
deprecated
func (*ParSigExMsg) Descriptor() ([]byte, []int)
Deprecated: Use ParSigExMsg.ProtoReflect.Descriptor instead.
func (*ParSigExMsg) GetDataSet ¶
func (x *ParSigExMsg) GetDataSet() *ParSignedDataSet
func (*ParSigExMsg) GetDuty ¶
func (x *ParSigExMsg) GetDuty() *Duty
func (*ParSigExMsg) ProtoMessage ¶
func (*ParSigExMsg) ProtoMessage()
func (*ParSigExMsg) ProtoReflect ¶
func (x *ParSigExMsg) ProtoReflect() protoreflect.Message
func (*ParSigExMsg) Reset ¶
func (x *ParSigExMsg) Reset()
func (*ParSigExMsg) String ¶
func (x *ParSigExMsg) String() string
type ParSignedData ¶
type ParSignedData struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // []byte Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // core.Signature // contains filtered or unexported fields }
func (*ParSignedData) Descriptor
deprecated
func (*ParSignedData) Descriptor() ([]byte, []int)
Deprecated: Use ParSignedData.ProtoReflect.Descriptor instead.
func (*ParSignedData) GetData ¶
func (x *ParSignedData) GetData() []byte
func (*ParSignedData) GetShareIdx ¶
func (x *ParSignedData) GetShareIdx() int32
func (*ParSignedData) GetSignature ¶
func (x *ParSignedData) GetSignature() []byte
func (*ParSignedData) ProtoMessage ¶
func (*ParSignedData) ProtoMessage()
func (*ParSignedData) ProtoReflect ¶
func (x *ParSignedData) ProtoReflect() protoreflect.Message
func (*ParSignedData) Reset ¶
func (x *ParSignedData) Reset()
func (*ParSignedData) String ¶
func (x *ParSignedData) String() string
type ParSignedDataSet ¶
type ParSignedDataSet struct { Set map[string]*ParSignedData `` // map[core.PubKey]core.ParSignedData /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ParSignedDataSet) Descriptor
deprecated
func (*ParSignedDataSet) Descriptor() ([]byte, []int)
Deprecated: Use ParSignedDataSet.ProtoReflect.Descriptor instead.
func (*ParSignedDataSet) GetSet ¶
func (x *ParSignedDataSet) GetSet() map[string]*ParSignedData
func (*ParSignedDataSet) ProtoMessage ¶
func (*ParSignedDataSet) ProtoMessage()
func (*ParSignedDataSet) ProtoReflect ¶
func (x *ParSignedDataSet) ProtoReflect() protoreflect.Message
func (*ParSignedDataSet) Reset ¶
func (x *ParSignedDataSet) Reset()
func (*ParSignedDataSet) String ¶
func (x *ParSignedDataSet) String() string
type PriorityMsg ¶ added in v0.10.0
type PriorityMsg struct { Duty *Duty `protobuf:"bytes,1,opt,name=duty,proto3" json:"duty,omitempty"` Topics []*PriorityTopicProposal `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
PriorityMsg defines all the priorities and metadata of a single peer in the Prioritiser protocol.
func (*PriorityMsg) Descriptor
deprecated
added in
v0.10.0
func (*PriorityMsg) Descriptor() ([]byte, []int)
Deprecated: Use PriorityMsg.ProtoReflect.Descriptor instead.
func (*PriorityMsg) GetDuty ¶ added in v0.12.0
func (x *PriorityMsg) GetDuty() *Duty
func (*PriorityMsg) GetPeerId ¶ added in v0.10.0
func (x *PriorityMsg) GetPeerId() string
func (*PriorityMsg) GetSignature ¶ added in v0.10.0
func (x *PriorityMsg) GetSignature() []byte
func (*PriorityMsg) GetTopics ¶ added in v0.10.0
func (x *PriorityMsg) GetTopics() []*PriorityTopicProposal
func (*PriorityMsg) ProtoMessage ¶ added in v0.10.0
func (*PriorityMsg) ProtoMessage()
func (*PriorityMsg) ProtoReflect ¶ added in v0.10.0
func (x *PriorityMsg) ProtoReflect() protoreflect.Message
func (*PriorityMsg) Reset ¶ added in v0.10.0
func (x *PriorityMsg) Reset()
func (*PriorityMsg) String ¶ added in v0.10.0
func (x *PriorityMsg) String() string
type PriorityResult ¶ added in v0.10.0
type PriorityResult struct { Msgs []*PriorityMsg `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"` Topics []*PriorityTopicResult `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
PriorityResult defines a cluster wide priority result of the Prioritiser protocol.
func (*PriorityResult) Descriptor
deprecated
added in
v0.10.0
func (*PriorityResult) Descriptor() ([]byte, []int)
Deprecated: Use PriorityResult.ProtoReflect.Descriptor instead.
func (*PriorityResult) GetMsgs ¶ added in v0.10.0
func (x *PriorityResult) GetMsgs() []*PriorityMsg
func (*PriorityResult) GetTopics ¶ added in v0.10.0
func (x *PriorityResult) GetTopics() []*PriorityTopicResult
func (*PriorityResult) ProtoMessage ¶ added in v0.10.0
func (*PriorityResult) ProtoMessage()
func (*PriorityResult) ProtoReflect ¶ added in v0.10.0
func (x *PriorityResult) ProtoReflect() protoreflect.Message
func (*PriorityResult) Reset ¶ added in v0.10.0
func (x *PriorityResult) Reset()
func (*PriorityResult) String ¶ added in v0.10.0
func (x *PriorityResult) String() string
type PriorityScoredResult ¶ added in v0.10.0
type PriorityScoredResult struct { Priority *anypb.Any `protobuf:"bytes,1,opt,name=priority,proto3" json:"priority,omitempty"` Score int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
PriorityScoredResult defines the cluster wide priority score in the Prioritiser protocol.
func (*PriorityScoredResult) Descriptor
deprecated
added in
v0.10.0
func (*PriorityScoredResult) Descriptor() ([]byte, []int)
Deprecated: Use PriorityScoredResult.ProtoReflect.Descriptor instead.
func (*PriorityScoredResult) GetPriority ¶ added in v0.10.0
func (x *PriorityScoredResult) GetPriority() *anypb.Any
func (*PriorityScoredResult) GetScore ¶ added in v0.10.0
func (x *PriorityScoredResult) GetScore() int64
func (*PriorityScoredResult) ProtoMessage ¶ added in v0.10.0
func (*PriorityScoredResult) ProtoMessage()
func (*PriorityScoredResult) ProtoReflect ¶ added in v0.10.0
func (x *PriorityScoredResult) ProtoReflect() protoreflect.Message
func (*PriorityScoredResult) Reset ¶ added in v0.10.0
func (x *PriorityScoredResult) Reset()
func (*PriorityScoredResult) String ¶ added in v0.10.0
func (x *PriorityScoredResult) String() string
type PriorityTopicProposal ¶ added in v0.10.0
type PriorityTopicProposal struct { Topic *anypb.Any `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Priorities []*anypb.Any `protobuf:"bytes,2,rep,name=priorities,proto3" json:"priorities,omitempty"` // contains filtered or unexported fields }
PriorityTopicProposal defines a single peers proposed priorities for a single topic in the Prioritiser protocol.
func (*PriorityTopicProposal) Descriptor
deprecated
added in
v0.10.0
func (*PriorityTopicProposal) Descriptor() ([]byte, []int)
Deprecated: Use PriorityTopicProposal.ProtoReflect.Descriptor instead.
func (*PriorityTopicProposal) GetPriorities ¶ added in v0.10.0
func (x *PriorityTopicProposal) GetPriorities() []*anypb.Any
func (*PriorityTopicProposal) GetTopic ¶ added in v0.10.0
func (x *PriorityTopicProposal) GetTopic() *anypb.Any
func (*PriorityTopicProposal) ProtoMessage ¶ added in v0.10.0
func (*PriorityTopicProposal) ProtoMessage()
func (*PriorityTopicProposal) ProtoReflect ¶ added in v0.10.0
func (x *PriorityTopicProposal) ProtoReflect() protoreflect.Message
func (*PriorityTopicProposal) Reset ¶ added in v0.10.0
func (x *PriorityTopicProposal) Reset()
func (*PriorityTopicProposal) String ¶ added in v0.10.0
func (x *PriorityTopicProposal) String() string
type PriorityTopicResult ¶ added in v0.10.0
type PriorityTopicResult struct { Topic *anypb.Any `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // priorities are ordered by decreasing score, ties are broken by peer with lowest peer ID. Priorities []*PriorityScoredResult `protobuf:"bytes,2,rep,name=priorities,proto3" json:"priorities,omitempty"` // contains filtered or unexported fields }
PriorityTopicResult defines the cluster wide resulting priorities for a single topic in the Prioritiser protocol.
func (*PriorityTopicResult) Descriptor
deprecated
added in
v0.10.0
func (*PriorityTopicResult) Descriptor() ([]byte, []int)
Deprecated: Use PriorityTopicResult.ProtoReflect.Descriptor instead.
func (*PriorityTopicResult) GetPriorities ¶ added in v0.10.0
func (x *PriorityTopicResult) GetPriorities() []*PriorityScoredResult
func (*PriorityTopicResult) GetTopic ¶ added in v0.10.0
func (x *PriorityTopicResult) GetTopic() *anypb.Any
func (*PriorityTopicResult) ProtoMessage ¶ added in v0.10.0
func (*PriorityTopicResult) ProtoMessage()
func (*PriorityTopicResult) ProtoReflect ¶ added in v0.10.0
func (x *PriorityTopicResult) ProtoReflect() protoreflect.Message
func (*PriorityTopicResult) Reset ¶ added in v0.10.0
func (x *PriorityTopicResult) Reset()
func (*PriorityTopicResult) String ¶ added in v0.10.0
func (x *PriorityTopicResult) String() string
type QBFTMsg ¶ added in v0.4.0
type QBFTMsg struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Duty *Duty `protobuf:"bytes,2,opt,name=duty,proto3" json:"duty,omitempty"` PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` Round int64 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` // Deprecated: Do not use. ValueLegacy *UnsignedDataSet `protobuf:"bytes,5,opt,name=value_legacy,json=valueLegacy,proto3" json:"value_legacy,omitempty"` // Prefer value. PreparedRound int64 `protobuf:"varint,6,opt,name=prepared_round,json=preparedRound,proto3" json:"prepared_round,omitempty"` // Deprecated: Do not use. PreparedValueLegacy *UnsignedDataSet `protobuf:"bytes,7,opt,name=prepared_value_legacy,json=preparedValueLegacy,proto3" json:"prepared_value_legacy,omitempty"` // Prefer prepared_value. Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` Value *anypb.Any `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"` PreparedValue *anypb.Any `protobuf:"bytes,10,opt,name=prepared_value,json=preparedValue,proto3" json:"prepared_value,omitempty"` // contains filtered or unexported fields }
func (*QBFTMsg) Descriptor
deprecated
added in
v0.4.0
func (*QBFTMsg) GetPeerIdx ¶ added in v0.4.0
func (*QBFTMsg) GetPreparedRound ¶ added in v0.4.0
func (*QBFTMsg) GetPreparedValue ¶ added in v0.4.0
func (*QBFTMsg) GetPreparedValueLegacy
deprecated
added in
v0.11.0
func (x *QBFTMsg) GetPreparedValueLegacy() *UnsignedDataSet
Deprecated: Do not use.
func (*QBFTMsg) GetSignature ¶ added in v0.4.0
func (*QBFTMsg) GetValueLegacy
deprecated
added in
v0.11.0
func (x *QBFTMsg) GetValueLegacy() *UnsignedDataSet
Deprecated: Do not use.
func (*QBFTMsg) ProtoMessage ¶ added in v0.4.0
func (*QBFTMsg) ProtoMessage()
func (*QBFTMsg) ProtoReflect ¶ added in v0.4.0
func (x *QBFTMsg) ProtoReflect() protoreflect.Message
type QBFTMsgLegacy
deprecated
added in
v0.11.0
type QBFTMsgLegacy struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Duty *Duty `protobuf:"bytes,2,opt,name=duty,proto3" json:"duty,omitempty"` PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` Round int64 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` Value *UnsignedDataSet `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` PreparedRound int64 `protobuf:"varint,6,opt,name=prepared_round,json=preparedRound,proto3" json:"prepared_round,omitempty"` PreparedValue *UnsignedDataSet `protobuf:"bytes,7,opt,name=prepared_value,json=preparedValue,proto3" json:"prepared_value,omitempty"` Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
QBFTMsgLegacy is only used for backwards compatibility tests.
Deprecated: Do not use.
func (*QBFTMsgLegacy) Descriptor
deprecated
added in
v0.11.0
func (*QBFTMsgLegacy) Descriptor() ([]byte, []int)
Deprecated: Use QBFTMsgLegacy.ProtoReflect.Descriptor instead.
func (*QBFTMsgLegacy) GetDuty ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetDuty() *Duty
func (*QBFTMsgLegacy) GetPeerIdx ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetPeerIdx() int64
func (*QBFTMsgLegacy) GetPreparedRound ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetPreparedRound() int64
func (*QBFTMsgLegacy) GetPreparedValue ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetPreparedValue() *UnsignedDataSet
func (*QBFTMsgLegacy) GetRound ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetRound() int64
func (*QBFTMsgLegacy) GetSignature ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetSignature() []byte
func (*QBFTMsgLegacy) GetType ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetType() int64
func (*QBFTMsgLegacy) GetValue ¶ added in v0.11.0
func (x *QBFTMsgLegacy) GetValue() *UnsignedDataSet
func (*QBFTMsgLegacy) ProtoMessage ¶ added in v0.11.0
func (*QBFTMsgLegacy) ProtoMessage()
func (*QBFTMsgLegacy) ProtoReflect ¶ added in v0.11.0
func (x *QBFTMsgLegacy) ProtoReflect() protoreflect.Message
func (*QBFTMsgLegacy) Reset ¶ added in v0.11.0
func (x *QBFTMsgLegacy) Reset()
func (*QBFTMsgLegacy) String ¶ added in v0.11.0
func (x *QBFTMsgLegacy) String() string
type SniffedConsensusInstance ¶ added in v0.12.0
type SniffedConsensusInstance struct { StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` Nodes int64 `protobuf:"varint,2,opt,name=nodes,proto3" json:"nodes,omitempty"` PeerIdx int64 `protobuf:"varint,3,opt,name=peer_idx,json=peerIdx,proto3" json:"peer_idx,omitempty"` Msgs []*SniffedConsensusMsg `protobuf:"bytes,4,rep,name=msgs,proto3" json:"msgs,omitempty"` // contains filtered or unexported fields }
func (*SniffedConsensusInstance) Descriptor
deprecated
added in
v0.12.0
func (*SniffedConsensusInstance) Descriptor() ([]byte, []int)
Deprecated: Use SniffedConsensusInstance.ProtoReflect.Descriptor instead.
func (*SniffedConsensusInstance) GetMsgs ¶ added in v0.12.0
func (x *SniffedConsensusInstance) GetMsgs() []*SniffedConsensusMsg
func (*SniffedConsensusInstance) GetNodes ¶ added in v0.12.0
func (x *SniffedConsensusInstance) GetNodes() int64
func (*SniffedConsensusInstance) GetPeerIdx ¶ added in v0.12.0
func (x *SniffedConsensusInstance) GetPeerIdx() int64
func (*SniffedConsensusInstance) GetStartedAt ¶ added in v0.12.0
func (x *SniffedConsensusInstance) GetStartedAt() *timestamppb.Timestamp
func (*SniffedConsensusInstance) ProtoMessage ¶ added in v0.12.0
func (*SniffedConsensusInstance) ProtoMessage()
func (*SniffedConsensusInstance) ProtoReflect ¶ added in v0.12.0
func (x *SniffedConsensusInstance) ProtoReflect() protoreflect.Message
func (*SniffedConsensusInstance) Reset ¶ added in v0.12.0
func (x *SniffedConsensusInstance) Reset()
func (*SniffedConsensusInstance) String ¶ added in v0.12.0
func (x *SniffedConsensusInstance) String() string
type SniffedConsensusInstances ¶ added in v0.12.0
type SniffedConsensusInstances struct { Instances []*SniffedConsensusInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` GitHash string `protobuf:"bytes,2,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"` // contains filtered or unexported fields }
func (*SniffedConsensusInstances) Descriptor
deprecated
added in
v0.12.0
func (*SniffedConsensusInstances) Descriptor() ([]byte, []int)
Deprecated: Use SniffedConsensusInstances.ProtoReflect.Descriptor instead.
func (*SniffedConsensusInstances) GetGitHash ¶ added in v0.12.0
func (x *SniffedConsensusInstances) GetGitHash() string
func (*SniffedConsensusInstances) GetInstances ¶ added in v0.12.0
func (x *SniffedConsensusInstances) GetInstances() []*SniffedConsensusInstance
func (*SniffedConsensusInstances) ProtoMessage ¶ added in v0.12.0
func (*SniffedConsensusInstances) ProtoMessage()
func (*SniffedConsensusInstances) ProtoReflect ¶ added in v0.12.0
func (x *SniffedConsensusInstances) ProtoReflect() protoreflect.Message
func (*SniffedConsensusInstances) Reset ¶ added in v0.12.0
func (x *SniffedConsensusInstances) Reset()
func (*SniffedConsensusInstances) String ¶ added in v0.12.0
func (x *SniffedConsensusInstances) String() string
type SniffedConsensusMsg ¶ added in v0.12.0
type SniffedConsensusMsg struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Msg *ConsensusMsg `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*SniffedConsensusMsg) Descriptor
deprecated
added in
v0.12.0
func (*SniffedConsensusMsg) Descriptor() ([]byte, []int)
Deprecated: Use SniffedConsensusMsg.ProtoReflect.Descriptor instead.
func (*SniffedConsensusMsg) GetMsg ¶ added in v0.12.0
func (x *SniffedConsensusMsg) GetMsg() *ConsensusMsg
func (*SniffedConsensusMsg) GetTimestamp ¶ added in v0.12.0
func (x *SniffedConsensusMsg) GetTimestamp() *timestamppb.Timestamp
func (*SniffedConsensusMsg) ProtoMessage ¶ added in v0.12.0
func (*SniffedConsensusMsg) ProtoMessage()
func (*SniffedConsensusMsg) ProtoReflect ¶ added in v0.12.0
func (x *SniffedConsensusMsg) ProtoReflect() protoreflect.Message
func (*SniffedConsensusMsg) Reset ¶ added in v0.12.0
func (x *SniffedConsensusMsg) Reset()
func (*SniffedConsensusMsg) String ¶ added in v0.12.0
func (x *SniffedConsensusMsg) String() string
type UnsignedDataSet ¶ added in v0.4.0
type UnsignedDataSet struct { Set map[string][]byte `` // map[core.PubKey]core.UnsignedData /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UnsignedDataSet) Descriptor
deprecated
added in
v0.4.0
func (*UnsignedDataSet) Descriptor() ([]byte, []int)
Deprecated: Use UnsignedDataSet.ProtoReflect.Descriptor instead.
func (*UnsignedDataSet) GetSet ¶ added in v0.4.0
func (x *UnsignedDataSet) GetSet() map[string][]byte
func (*UnsignedDataSet) ProtoMessage ¶ added in v0.4.0
func (*UnsignedDataSet) ProtoMessage()
func (*UnsignedDataSet) ProtoReflect ¶ added in v0.4.0
func (x *UnsignedDataSet) ProtoReflect() protoreflect.Message
func (*UnsignedDataSet) Reset ¶ added in v0.4.0
func (x *UnsignedDataSet) Reset()
func (*UnsignedDataSet) String ¶ added in v0.4.0
func (x *UnsignedDataSet) String() string