v1

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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"`
	VkShare         []byte       `protobuf:"bytes,3,opt,name=vk_share,json=vkShare,proto3" json:"vk_share,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) Descriptor() ([]byte, []int)

Deprecated: Use MsgSync.ProtoReflect.Descriptor instead.

func (*MsgSync) GetHashSignature added in v0.7.0

func (x *MsgSync) GetHashSignature() []byte

func (*MsgSync) GetShutdown added in v0.7.0

func (x *MsgSync) GetShutdown() bool

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

func (*MsgSync) Reset added in v0.7.0

func (x *MsgSync) Reset()

func (*MsgSync) String added in v0.7.0

func (x *MsgSync) String() string

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 {
	Key   *FrostMsgKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Id    uint32       `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Value []byte       `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// 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

Jump to

Keyboard shortcuts

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