Documentation ¶
Index ¶
- Variables
- type BodyCompute
- func (*BodyCompute) Descriptor() ([]byte, []int)deprecated
- func (x *BodyCompute) GetDelta() []byte
- func (x *BodyCompute) GetSiGProofMsg() *zkproof.SchnorrProofMessage
- func (*BodyCompute) ProtoMessage()
- func (x *BodyCompute) ProtoReflect() protoreflect.Message
- func (x *BodyCompute) Reset()
- func (x *BodyCompute) String() string
- type BodyNewBk
- type BodyOldPeer
- func (*BodyOldPeer) Descriptor() ([]byte, []int)deprecated
- func (x *BodyOldPeer) GetBk() *birkhoffinterpolation.BkParameterMessage
- func (x *BodyOldPeer) GetPubkey() *ecpointgrouplaw.EcPointMessage
- func (x *BodyOldPeer) GetSiGProofMsg() *zkproof.SchnorrProofMessage
- func (x *BodyOldPeer) GetThreshold() uint32
- func (*BodyOldPeer) ProtoMessage()
- func (x *BodyOldPeer) ProtoReflect() protoreflect.Message
- func (x *BodyOldPeer) Reset()
- func (x *BodyOldPeer) String() string
- type BodyResult
- type BodyVerify
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (m *Message) GetBody() isMessage_Body
- func (x *Message) GetCompute() *BodyCompute
- func (x *Message) GetId() string
- func (m *Message) GetMessageType() types.MessageType
- func (x *Message) GetNewBk() *BodyNewBk
- func (x *Message) GetOldPeer() *BodyOldPeer
- func (x *Message) GetResult() *BodyResult
- func (x *Message) GetType() Type
- func (x *Message) GetVerify() *BodyVerify
- func (m *Message) IsValid() bool
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Compute
- type Message_NewBk
- type Message_OldPeer
- type Message_Result
- type Message_Verify
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "OldPeer", 1: "NewBk", 2: "Compute", 3: "Result", 4: "Verify", } Type_value = map[string]int32{ "OldPeer": 0, "NewBk": 1, "Compute": 2, "Result": 3, "Verify": 4, } )
Enum value maps for Type.
Functions ¶
This section is empty.
Types ¶
type BodyCompute ¶
type BodyCompute struct { Delta []byte `protobuf:"bytes,1,opt,name=delta,proto3" json:"delta,omitempty"` SiGProofMsg *zkproof.SchnorrProofMessage `protobuf:"bytes,2,opt,name=siGProofMsg,proto3" json:"siGProofMsg,omitempty"` // contains filtered or unexported fields }
func (*BodyCompute) Descriptor
deprecated
func (*BodyCompute) Descriptor() ([]byte, []int)
Deprecated: Use BodyCompute.ProtoReflect.Descriptor instead.
func (*BodyCompute) GetDelta ¶
func (x *BodyCompute) GetDelta() []byte
func (*BodyCompute) GetSiGProofMsg ¶
func (x *BodyCompute) GetSiGProofMsg() *zkproof.SchnorrProofMessage
func (*BodyCompute) ProtoMessage ¶
func (*BodyCompute) ProtoMessage()
func (*BodyCompute) ProtoReflect ¶
func (x *BodyCompute) ProtoReflect() protoreflect.Message
func (*BodyCompute) Reset ¶
func (x *BodyCompute) Reset()
func (*BodyCompute) String ¶
func (x *BodyCompute) String() string
type BodyNewBk ¶
type BodyNewBk struct { Bk *birkhoffinterpolation.BkParameterMessage `protobuf:"bytes,1,opt,name=bk,proto3" json:"bk,omitempty"` // contains filtered or unexported fields }
func (*BodyNewBk) Descriptor
deprecated
func (*BodyNewBk) GetBk ¶
func (x *BodyNewBk) GetBk() *birkhoffinterpolation.BkParameterMessage
func (*BodyNewBk) ProtoMessage ¶
func (*BodyNewBk) ProtoMessage()
func (*BodyNewBk) ProtoReflect ¶
func (x *BodyNewBk) ProtoReflect() protoreflect.Message
type BodyOldPeer ¶
type BodyOldPeer struct { Bk *birkhoffinterpolation.BkParameterMessage `protobuf:"bytes,1,opt,name=bk,proto3" json:"bk,omitempty"` SiGProofMsg *zkproof.SchnorrProofMessage `protobuf:"bytes,2,opt,name=siGProofMsg,proto3" json:"siGProofMsg,omitempty"` Pubkey *ecpointgrouplaw.EcPointMessage `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Threshold uint32 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
func (*BodyOldPeer) Descriptor
deprecated
func (*BodyOldPeer) Descriptor() ([]byte, []int)
Deprecated: Use BodyOldPeer.ProtoReflect.Descriptor instead.
func (*BodyOldPeer) GetBk ¶
func (x *BodyOldPeer) GetBk() *birkhoffinterpolation.BkParameterMessage
func (*BodyOldPeer) GetPubkey ¶
func (x *BodyOldPeer) GetPubkey() *ecpointgrouplaw.EcPointMessage
func (*BodyOldPeer) GetSiGProofMsg ¶
func (x *BodyOldPeer) GetSiGProofMsg() *zkproof.SchnorrProofMessage
func (*BodyOldPeer) GetThreshold ¶
func (x *BodyOldPeer) GetThreshold() uint32
func (*BodyOldPeer) ProtoMessage ¶
func (*BodyOldPeer) ProtoMessage()
func (*BodyOldPeer) ProtoReflect ¶
func (x *BodyOldPeer) ProtoReflect() protoreflect.Message
func (*BodyOldPeer) Reset ¶
func (x *BodyOldPeer) Reset()
func (*BodyOldPeer) String ¶
func (x *BodyOldPeer) String() string
type BodyResult ¶
type BodyResult struct { Delta []byte `protobuf:"bytes,1,opt,name=delta,proto3" json:"delta,omitempty"` // contains filtered or unexported fields }
func (*BodyResult) Descriptor
deprecated
func (*BodyResult) Descriptor() ([]byte, []int)
Deprecated: Use BodyResult.ProtoReflect.Descriptor instead.
func (*BodyResult) GetDelta ¶
func (x *BodyResult) GetDelta() []byte
func (*BodyResult) ProtoMessage ¶
func (*BodyResult) ProtoMessage()
func (*BodyResult) ProtoReflect ¶
func (x *BodyResult) ProtoReflect() protoreflect.Message
func (*BodyResult) Reset ¶
func (x *BodyResult) Reset()
func (*BodyResult) String ¶
func (x *BodyResult) String() string
type BodyVerify ¶
type BodyVerify struct { SiGProofMsg *zkproof.SchnorrProofMessage `protobuf:"bytes,1,opt,name=siGProofMsg,proto3" json:"siGProofMsg,omitempty"` // contains filtered or unexported fields }
func (*BodyVerify) Descriptor
deprecated
func (*BodyVerify) Descriptor() ([]byte, []int)
Deprecated: Use BodyVerify.ProtoReflect.Descriptor instead.
func (*BodyVerify) GetSiGProofMsg ¶
func (x *BodyVerify) GetSiGProofMsg() *zkproof.SchnorrProofMessage
func (*BodyVerify) ProtoMessage ¶
func (*BodyVerify) ProtoMessage()
func (*BodyVerify) ProtoReflect ¶
func (x *BodyVerify) ProtoReflect() protoreflect.Message
func (*BodyVerify) Reset ¶
func (x *BodyVerify) Reset()
func (*BodyVerify) String ¶
func (x *BodyVerify) String() string
type Message ¶
type Message struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=getamis.alice.crypto.tss.ecdsa.gg18.addshare.Type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to Body: // *Message_OldPeer // *Message_NewBk // *Message_Compute // *Message_Result // *Message_Verify Body isMessage_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetCompute ¶
func (x *Message) GetCompute() *BodyCompute
func (*Message) GetMessageType ¶
func (m *Message) GetMessageType() types.MessageType
func (*Message) GetOldPeer ¶
func (x *Message) GetOldPeer() *BodyOldPeer
func (*Message) GetResult ¶
func (x *Message) GetResult() *BodyResult
func (*Message) GetVerify ¶
func (x *Message) GetVerify() *BodyVerify
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Compute ¶
type Message_Compute struct {
Compute *BodyCompute `protobuf:"bytes,5,opt,name=compute,proto3,oneof"`
}
type Message_NewBk ¶
type Message_NewBk struct {
NewBk *BodyNewBk `protobuf:"bytes,4,opt,name=new_bk,json=newBk,proto3,oneof"`
}
type Message_OldPeer ¶
type Message_OldPeer struct {
OldPeer *BodyOldPeer `protobuf:"bytes,3,opt,name=old_peer,json=oldPeer,proto3,oneof"`
}
type Message_Result ¶
type Message_Result struct {
Result *BodyResult `protobuf:"bytes,6,opt,name=result,proto3,oneof"`
}
type Message_Verify ¶
type Message_Verify struct {
Verify *BodyVerify `protobuf:"bytes,7,opt,name=verify,proto3,oneof"`
}
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.