v1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use Duty.ProtoReflect.Descriptor instead.

func (*Duty) GetSlot

func (x *Duty) GetSlot() int64

func (*Duty) GetType

func (x *Duty) GetType() int32

func (*Duty) ProtoMessage

func (*Duty) ProtoMessage()

func (*Duty) ProtoReflect

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

func (*Duty) Reset

func (x *Duty) Reset()

func (*Duty) String

func (x *Duty) String() string

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
	ShareIdx  int32  `protobuf:"varint,3,opt,name=share_idx,json=shareIdx,proto3" json:"share_idx,omitempty"` // int
	// 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 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"`
	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
}

func (*QBFTMsg) Descriptor deprecated added in v0.4.0

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

Deprecated: Use QBFTMsg.ProtoReflect.Descriptor instead.

func (*QBFTMsg) GetDuty added in v0.4.0

func (x *QBFTMsg) GetDuty() *Duty

func (*QBFTMsg) GetPeerIdx added in v0.4.0

func (x *QBFTMsg) GetPeerIdx() int64

func (*QBFTMsg) GetPreparedRound added in v0.4.0

func (x *QBFTMsg) GetPreparedRound() int64

func (*QBFTMsg) GetPreparedValue added in v0.4.0

func (x *QBFTMsg) GetPreparedValue() *UnsignedDataSet

func (*QBFTMsg) GetRound added in v0.4.0

func (x *QBFTMsg) GetRound() int64

func (*QBFTMsg) GetSignature added in v0.4.0

func (x *QBFTMsg) GetSignature() []byte

func (*QBFTMsg) GetType added in v0.4.0

func (x *QBFTMsg) GetType() int64

func (*QBFTMsg) GetValue added in v0.4.0

func (x *QBFTMsg) GetValue() *UnsignedDataSet

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

func (*QBFTMsg) Reset added in v0.4.0

func (x *QBFTMsg) Reset()

func (*QBFTMsg) String added in v0.4.0

func (x *QBFTMsg) 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

Jump to

Keyboard shortcuts

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