Documentation ¶
Index ¶
- Variables
- type FrostMsgKey
- func (*FrostMsgKey) Descriptor() ([]byte, []int)deprecated
- func (x *FrostMsgKey) GetSourceId() uint32
- func (x *FrostMsgKey) GetTargetId() uint32
- func (x *FrostMsgKey) GetValIdx() uint32
- func (*FrostMsgKey) ProtoMessage()
- func (x *FrostMsgKey) ProtoReflect() protoreflect.Message
- func (x *FrostMsgKey) Reset()
- func (x *FrostMsgKey) String() string
- type FrostRound1Cast
- func (*FrostRound1Cast) Descriptor() ([]byte, []int)deprecated
- func (x *FrostRound1Cast) GetCi() []byte
- func (x *FrostRound1Cast) GetCommitments() [][]byte
- func (x *FrostRound1Cast) GetKey() *FrostMsgKey
- func (x *FrostRound1Cast) GetWi() []byte
- func (*FrostRound1Cast) ProtoMessage()
- func (x *FrostRound1Cast) ProtoReflect() protoreflect.Message
- func (x *FrostRound1Cast) Reset()
- func (x *FrostRound1Cast) String() string
- type FrostRound1Msg
- func (*FrostRound1Msg) Descriptor() ([]byte, []int)deprecated
- func (x *FrostRound1Msg) GetCasts() []*FrostRound1Cast
- func (x *FrostRound1Msg) GetP2Ps() []*ShamirShare
- func (*FrostRound1Msg) ProtoMessage()
- func (x *FrostRound1Msg) ProtoReflect() protoreflect.Message
- func (x *FrostRound1Msg) Reset()
- func (x *FrostRound1Msg) String() string
- type FrostRound2Cast
- func (*FrostRound2Cast) Descriptor() ([]byte, []int)deprecated
- func (x *FrostRound2Cast) GetKey() *FrostMsgKey
- func (x *FrostRound2Cast) GetVerificationKey() []byte
- func (x *FrostRound2Cast) GetVkShare() []byte
- func (*FrostRound2Cast) ProtoMessage()
- func (x *FrostRound2Cast) ProtoReflect() protoreflect.Message
- func (x *FrostRound2Cast) Reset()
- func (x *FrostRound2Cast) String() string
- type FrostRound2Msg
- type MsgSync
- func (*MsgSync) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSync) GetHashSignature() []byte
- func (x *MsgSync) GetShutdown() bool
- func (x *MsgSync) GetTimestamp() *timestamppb.Timestamp
- func (*MsgSync) ProtoMessage()
- func (x *MsgSync) ProtoReflect() protoreflect.Message
- func (x *MsgSync) Reset()
- func (x *MsgSync) String() string
- type MsgSyncResponse
- func (*MsgSyncResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSyncResponse) GetError() string
- func (x *MsgSyncResponse) GetSyncTimestamp() *timestamppb.Timestamp
- func (*MsgSyncResponse) ProtoMessage()
- func (x *MsgSyncResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSyncResponse) Reset()
- func (x *MsgSyncResponse) String() string
- type ShamirShare
- func (*ShamirShare) Descriptor() ([]byte, []int)deprecated
- func (x *ShamirShare) GetId() uint32
- func (x *ShamirShare) GetKey() *FrostMsgKey
- func (x *ShamirShare) GetValue() []byte
- func (*ShamirShare) ProtoMessage()
- func (x *ShamirShare) ProtoReflect() protoreflect.Message
- func (x *ShamirShare) Reset()
- func (x *ShamirShare) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_dkg_dkgpb_v1_frost_proto protoreflect.FileDescriptor
View Source
var File_dkg_dkgpb_v1_sync_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FrostMsgKey ¶
type FrostMsgKey struct { ValIdx uint32 `protobuf:"varint,1,opt,name=val_idx,json=valIdx,proto3" json:"val_idx,omitempty"` SourceId uint32 `protobuf:"varint,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` TargetId uint32 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // contains filtered or unexported fields }
func (*FrostMsgKey) Descriptor
deprecated
func (*FrostMsgKey) Descriptor() ([]byte, []int)
Deprecated: Use FrostMsgKey.ProtoReflect.Descriptor instead.
func (*FrostMsgKey) GetSourceId ¶
func (x *FrostMsgKey) GetSourceId() uint32
func (*FrostMsgKey) GetTargetId ¶
func (x *FrostMsgKey) GetTargetId() uint32
func (*FrostMsgKey) GetValIdx ¶
func (x *FrostMsgKey) GetValIdx() uint32
func (*FrostMsgKey) ProtoMessage ¶
func (*FrostMsgKey) ProtoMessage()
func (*FrostMsgKey) ProtoReflect ¶
func (x *FrostMsgKey) ProtoReflect() protoreflect.Message
func (*FrostMsgKey) Reset ¶
func (x *FrostMsgKey) Reset()
func (*FrostMsgKey) String ¶
func (x *FrostMsgKey) String() string
type FrostRound1Cast ¶
type FrostRound1Cast struct { Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Wi []byte `protobuf:"bytes,2,opt,name=wi,proto3" json:"wi,omitempty"` Ci []byte `protobuf:"bytes,3,opt,name=ci,proto3" json:"ci,omitempty"` Commitments [][]byte `protobuf:"bytes,4,rep,name=commitments,proto3" json:"commitments,omitempty"` // contains filtered or unexported fields }
func (*FrostRound1Cast) Descriptor
deprecated
func (*FrostRound1Cast) Descriptor() ([]byte, []int)
Deprecated: Use FrostRound1Cast.ProtoReflect.Descriptor instead.
func (*FrostRound1Cast) GetCi ¶
func (x *FrostRound1Cast) GetCi() []byte
func (*FrostRound1Cast) GetCommitments ¶
func (x *FrostRound1Cast) GetCommitments() [][]byte
func (*FrostRound1Cast) GetKey ¶
func (x *FrostRound1Cast) GetKey() *FrostMsgKey
func (*FrostRound1Cast) GetWi ¶
func (x *FrostRound1Cast) GetWi() []byte
func (*FrostRound1Cast) ProtoMessage ¶
func (*FrostRound1Cast) ProtoMessage()
func (*FrostRound1Cast) ProtoReflect ¶
func (x *FrostRound1Cast) ProtoReflect() protoreflect.Message
func (*FrostRound1Cast) Reset ¶
func (x *FrostRound1Cast) Reset()
func (*FrostRound1Cast) String ¶
func (x *FrostRound1Cast) String() string
type FrostRound1Msg ¶
type FrostRound1Msg struct { Casts []*FrostRound1Cast `protobuf:"bytes,1,rep,name=casts,proto3" json:"casts,omitempty"` P2Ps []*ShamirShare `protobuf:"bytes,2,rep,name=p2ps,proto3" json:"p2ps,omitempty"` // contains filtered or unexported fields }
func (*FrostRound1Msg) Descriptor
deprecated
func (*FrostRound1Msg) Descriptor() ([]byte, []int)
Deprecated: Use FrostRound1Msg.ProtoReflect.Descriptor instead.
func (*FrostRound1Msg) GetCasts ¶
func (x *FrostRound1Msg) GetCasts() []*FrostRound1Cast
func (*FrostRound1Msg) GetP2Ps ¶
func (x *FrostRound1Msg) GetP2Ps() []*ShamirShare
func (*FrostRound1Msg) ProtoMessage ¶
func (*FrostRound1Msg) ProtoMessage()
func (*FrostRound1Msg) ProtoReflect ¶
func (x *FrostRound1Msg) ProtoReflect() protoreflect.Message
func (*FrostRound1Msg) Reset ¶
func (x *FrostRound1Msg) Reset()
func (*FrostRound1Msg) String ¶
func (x *FrostRound1Msg) String() string
type FrostRound2Cast ¶
type FrostRound2Cast struct { Key *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` VerificationKey []byte `protobuf:"bytes,2,opt,name=verification_key,json=verificationKey,proto3" json:"verification_key,omitempty"` // contains filtered or unexported fields }
func (*FrostRound2Cast) Descriptor
deprecated
func (*FrostRound2Cast) Descriptor() ([]byte, []int)
Deprecated: Use FrostRound2Cast.ProtoReflect.Descriptor instead.
func (*FrostRound2Cast) GetKey ¶
func (x *FrostRound2Cast) GetKey() *FrostMsgKey
func (*FrostRound2Cast) GetVerificationKey ¶
func (x *FrostRound2Cast) GetVerificationKey() []byte
func (*FrostRound2Cast) GetVkShare ¶
func (x *FrostRound2Cast) GetVkShare() []byte
func (*FrostRound2Cast) ProtoMessage ¶
func (*FrostRound2Cast) ProtoMessage()
func (*FrostRound2Cast) ProtoReflect ¶
func (x *FrostRound2Cast) ProtoReflect() protoreflect.Message
func (*FrostRound2Cast) Reset ¶
func (x *FrostRound2Cast) Reset()
func (*FrostRound2Cast) String ¶
func (x *FrostRound2Cast) String() string
type FrostRound2Msg ¶
type FrostRound2Msg struct { Casts []*FrostRound2Cast `protobuf:"bytes,1,rep,name=casts,proto3" json:"casts,omitempty"` // contains filtered or unexported fields }
func (*FrostRound2Msg) Descriptor
deprecated
func (*FrostRound2Msg) Descriptor() ([]byte, []int)
Deprecated: Use FrostRound2Msg.ProtoReflect.Descriptor instead.
func (*FrostRound2Msg) GetCasts ¶
func (x *FrostRound2Msg) GetCasts() []*FrostRound2Cast
func (*FrostRound2Msg) ProtoMessage ¶
func (*FrostRound2Msg) ProtoMessage()
func (*FrostRound2Msg) ProtoReflect ¶
func (x *FrostRound2Msg) ProtoReflect() protoreflect.Message
func (*FrostRound2Msg) Reset ¶
func (x *FrostRound2Msg) Reset()
func (*FrostRound2Msg) String ¶
func (x *FrostRound2Msg) String() string
type MsgSync ¶ added in v0.7.0
type MsgSync struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` HashSignature []byte `protobuf:"bytes,2,opt,name=hash_signature,json=hashSignature,proto3" json:"hash_signature,omitempty"` Shutdown bool `protobuf:"varint,3,opt,name=shutdown,proto3" json:"shutdown,omitempty"` // contains filtered or unexported fields }
func (*MsgSync) Descriptor
deprecated
added in
v0.7.0
func (*MsgSync) GetHashSignature ¶ added in v0.7.0
func (*MsgSync) GetShutdown ¶ added in v0.7.0
func (*MsgSync) GetTimestamp ¶ added in v0.7.0
func (x *MsgSync) GetTimestamp() *timestamppb.Timestamp
func (*MsgSync) ProtoMessage ¶ added in v0.7.0
func (*MsgSync) ProtoMessage()
func (*MsgSync) ProtoReflect ¶ added in v0.7.0
func (x *MsgSync) ProtoReflect() protoreflect.Message
type MsgSyncResponse ¶ added in v0.7.0
type MsgSyncResponse struct { SyncTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=sync_timestamp,json=syncTimestamp,proto3" json:"sync_timestamp,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*MsgSyncResponse) Descriptor
deprecated
added in
v0.7.0
func (*MsgSyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSyncResponse.ProtoReflect.Descriptor instead.
func (*MsgSyncResponse) GetError ¶ added in v0.7.0
func (x *MsgSyncResponse) GetError() string
func (*MsgSyncResponse) GetSyncTimestamp ¶ added in v0.7.0
func (x *MsgSyncResponse) GetSyncTimestamp() *timestamppb.Timestamp
func (*MsgSyncResponse) ProtoMessage ¶ added in v0.7.0
func (*MsgSyncResponse) ProtoMessage()
func (*MsgSyncResponse) ProtoReflect ¶ added in v0.7.0
func (x *MsgSyncResponse) ProtoReflect() protoreflect.Message
func (*MsgSyncResponse) Reset ¶ added in v0.7.0
func (x *MsgSyncResponse) Reset()
func (*MsgSyncResponse) String ¶ added in v0.7.0
func (x *MsgSyncResponse) String() string
type ShamirShare ¶
type ShamirShare struct { // contains filtered or unexported fields }
func (*ShamirShare) Descriptor
deprecated
func (*ShamirShare) Descriptor() ([]byte, []int)
Deprecated: Use ShamirShare.ProtoReflect.Descriptor instead.
func (*ShamirShare) GetId ¶
func (x *ShamirShare) GetId() uint32
func (*ShamirShare) GetKey ¶
func (x *ShamirShare) GetKey() *FrostMsgKey
func (*ShamirShare) GetValue ¶
func (x *ShamirShare) GetValue() []byte
func (*ShamirShare) ProtoMessage ¶
func (*ShamirShare) ProtoMessage()
func (*ShamirShare) ProtoReflect ¶
func (x *ShamirShare) ProtoReflect() protoreflect.Message
func (*ShamirShare) Reset ¶
func (x *ShamirShare) Reset()
func (*ShamirShare) String ¶
func (x *ShamirShare) String() string
Click to show internal directories.
Click to hide internal directories.