thresholdagent

package
v0.0.0-...-ba0cd9c Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCCEEDED",
		2: "DENIED",
		3: "FAILED",
	}
	Status_value = map[string]int32{
		"UNKNOWN":   0,
		"SUCCEEDED": 1,
		"DENIED":    2,
		"FAILED":    3,
	}
)

Enum value maps for Status.

View Source
var (
	SignatureType_name = map[int32]string{
		0: "SCHNORRv1",
		1: "SCHNORRv2",
		2: "ECDSAv1",
		3: "ECDSAv2",
	}
	SignatureType_value = map[string]int32{
		"SCHNORRv1": 0,
		"SCHNORRv2": 1,
		"ECDSAv1":   2,
		"ECDSAv2":   3,
	}
)

Enum value maps for SignatureType.

View Source
var File_proto_thresholdagent_proto protoreflect.FileDescriptor

Functions

func RegisterThresholdAgentServer

func RegisterThresholdAgentServer(s *grpc.Server, srv ThresholdAgentServer)

Types

type AuthRequest

type AuthRequest struct {
	SessionId string                 `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Challenge []byte                 `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthRequest) Descriptor deprecated

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

Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.

func (*AuthRequest) GetChallenge

func (x *AuthRequest) GetChallenge() []byte

func (*AuthRequest) GetSessionId

func (x *AuthRequest) GetSessionId() string

func (*AuthRequest) GetTimestamp

func (x *AuthRequest) GetTimestamp() *timestamppb.Timestamp

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) ProtoReflect

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

func (*AuthRequest) Reset

func (x *AuthRequest) Reset()

func (*AuthRequest) String

func (x *AuthRequest) String() string

type AuthResponse

type AuthResponse struct {
	SessionId   string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	SignatureR  []byte `protobuf:"bytes,2,opt,name=signatureR,proto3" json:"signatureR,omitempty"`
	SignatureS  []byte `protobuf:"bytes,3,opt,name=signatureS,proto3" json:"signatureS,omitempty"`
	Certificate []byte `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthResponse) Descriptor deprecated

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

Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.

func (*AuthResponse) GetCertificate

func (x *AuthResponse) GetCertificate() []byte

func (*AuthResponse) GetSessionId

func (x *AuthResponse) GetSessionId() string

func (*AuthResponse) GetSignatureR

func (x *AuthResponse) GetSignatureR() []byte

func (*AuthResponse) GetSignatureS

func (x *AuthResponse) GetSignatureS() []byte

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) ProtoReflect

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

func (*AuthResponse) Reset

func (x *AuthResponse) Reset()

func (*AuthResponse) String

func (x *AuthResponse) String() string

type EcdsaRoundMessage

type EcdsaRoundMessage struct {
	SessionId string   `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	SenderId  int32    `protobuf:"varint,2,opt,name=SenderId,proto3" json:"SenderId,omitempty"`
	Round     int32    `protobuf:"varint,3,opt,name=Round,proto3" json:"Round,omitempty"`
	Messages  [][]byte `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*EcdsaRoundMessage) Descriptor deprecated

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

Deprecated: Use EcdsaRoundMessage.ProtoReflect.Descriptor instead.

func (*EcdsaRoundMessage) GetCLMessage

func (x *EcdsaRoundMessage) GetCLMessage() []utils.CLMessage

func (*EcdsaRoundMessage) GetMessages

func (x *EcdsaRoundMessage) GetMessages() [][]byte

func (*EcdsaRoundMessage) GetParsedMessages

func (x *EcdsaRoundMessage) GetParsedMessages() []tss.Message

func (*EcdsaRoundMessage) GetRound

func (x *EcdsaRoundMessage) GetRound() int32

func (*EcdsaRoundMessage) GetSenderId

func (x *EcdsaRoundMessage) GetSenderId() int32

func (*EcdsaRoundMessage) GetSessionId

func (x *EcdsaRoundMessage) GetSessionId() string

func (*EcdsaRoundMessage) ProtoMessage

func (*EcdsaRoundMessage) ProtoMessage()

func (*EcdsaRoundMessage) ProtoReflect

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

func (*EcdsaRoundMessage) Reset

func (x *EcdsaRoundMessage) Reset()

func (*EcdsaRoundMessage) SetMessages

func (x *EcdsaRoundMessage) SetMessages(msgs []tss.Message)

func (*EcdsaRoundMessage) String

func (x *EcdsaRoundMessage) String() string

type ResultMsg

type ResultMsg struct {
	SessionId string `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	Status    Status `protobuf:"varint,2,opt,name=status,proto3,enum=thresholdagent.Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ResultMsg) Descriptor deprecated

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

Deprecated: Use ResultMsg.ProtoReflect.Descriptor instead.

func (*ResultMsg) GetSessionId

func (x *ResultMsg) GetSessionId() string

func (*ResultMsg) GetStatus

func (x *ResultMsg) GetStatus() Status

func (*ResultMsg) ProtoMessage

func (*ResultMsg) ProtoMessage()

func (*ResultMsg) ProtoReflect

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

func (*ResultMsg) Reset

func (x *ResultMsg) Reset()

func (*ResultMsg) String

func (x *ResultMsg) String() string

type SchnorrRound0Msg

type SchnorrRound0Msg struct {
	SessionId   string        `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	SType       SignatureType `protobuf:"varint,2,opt,name=sType,proto3,enum=thresholdagent.SignatureType" json:"sType,omitempty"`
	SignerCerts [][]byte      `protobuf:"bytes,3,rep,name=signerCerts,proto3" json:"signerCerts,omitempty"`
	// Types that are assignable to Request:
	//	*SchnorrRound0Msg_Threshold
	//	*SchnorrRound0Msg_Signing
	Request isSchnorrRound0Msg_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*SchnorrRound0Msg) Descriptor deprecated

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

Deprecated: Use SchnorrRound0Msg.ProtoReflect.Descriptor instead.

func (*SchnorrRound0Msg) GetRequest

func (m *SchnorrRound0Msg) GetRequest() isSchnorrRound0Msg_Request

func (*SchnorrRound0Msg) GetSType

func (x *SchnorrRound0Msg) GetSType() SignatureType

func (*SchnorrRound0Msg) GetSessionId

func (x *SchnorrRound0Msg) GetSessionId() string

func (*SchnorrRound0Msg) GetSignerCerts

func (x *SchnorrRound0Msg) GetSignerCerts() [][]byte

func (*SchnorrRound0Msg) GetSigning

func (x *SchnorrRound0Msg) GetSigning() *SignRequest

func (*SchnorrRound0Msg) GetThreshold

func (x *SchnorrRound0Msg) GetThreshold() int32

func (*SchnorrRound0Msg) ProtoMessage

func (*SchnorrRound0Msg) ProtoMessage()

func (*SchnorrRound0Msg) ProtoReflect

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

func (*SchnorrRound0Msg) Reset

func (x *SchnorrRound0Msg) Reset()

func (*SchnorrRound0Msg) String

func (x *SchnorrRound0Msg) String() string

type SchnorrRound0Msg_Signing

type SchnorrRound0Msg_Signing struct {
	Signing *SignRequest `protobuf:"bytes,5,opt,name=signing,proto3,oneof"` //for sign
}

type SchnorrRound0Msg_Threshold

type SchnorrRound0Msg_Threshold struct {
	Threshold int32 `protobuf:"varint,4,opt,name=threshold,proto3,oneof"` //for keygen
}

type SchnorrRound1Msg

type SchnorrRound1Msg struct {
	SessionId  string `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	SenderId   int32  `protobuf:"varint,2,opt,name=SenderId,proto3" json:"SenderId,omitempty"`
	Commitment []byte `protobuf:"bytes,3,opt,name=Commitment,proto3" json:"Commitment,omitempty"`
	// contains filtered or unexported fields
}

func (*SchnorrRound1Msg) Descriptor deprecated

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

Deprecated: Use SchnorrRound1Msg.ProtoReflect.Descriptor instead.

func (*SchnorrRound1Msg) GetCommitment

func (x *SchnorrRound1Msg) GetCommitment() []byte

func (*SchnorrRound1Msg) GetSenderId

func (x *SchnorrRound1Msg) GetSenderId() int32

func (*SchnorrRound1Msg) GetSessionId

func (x *SchnorrRound1Msg) GetSessionId() string

func (*SchnorrRound1Msg) ProtoMessage

func (*SchnorrRound1Msg) ProtoMessage()

func (*SchnorrRound1Msg) ProtoReflect

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

func (*SchnorrRound1Msg) Reset

func (x *SchnorrRound1Msg) Reset()

func (*SchnorrRound1Msg) String

func (x *SchnorrRound1Msg) String() string

type SchnorrRound1MsgList

type SchnorrRound1MsgList struct {
	Messages []*SchnorrRound1Msg `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*SchnorrRound1MsgList) Descriptor deprecated

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

Deprecated: Use SchnorrRound1MsgList.ProtoReflect.Descriptor instead.

func (*SchnorrRound1MsgList) GetMessages

func (x *SchnorrRound1MsgList) GetMessages() []*SchnorrRound1Msg

func (*SchnorrRound1MsgList) ProtoMessage

func (*SchnorrRound1MsgList) ProtoMessage()

func (*SchnorrRound1MsgList) ProtoReflect

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

func (*SchnorrRound1MsgList) Reset

func (x *SchnorrRound1MsgList) Reset()

func (*SchnorrRound1MsgList) String

func (x *SchnorrRound1MsgList) String() string

type SchnorrRound2Msg

type SchnorrRound2Msg struct {
	SessionId         string `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	SenderId          int32  `protobuf:"varint,2,opt,name=SenderId,proto3" json:"SenderId,omitempty"`
	ReceiverId        int32  `protobuf:"varint,3,opt,name=ReceiverId,proto3" json:"ReceiverId,omitempty"`
	ShareKey          []byte `protobuf:"bytes,4,opt,name=ShareKey,proto3" json:"ShareKey,omitempty"`
	SimulatedShareKey []byte `protobuf:"bytes,5,opt,name=SimulatedShareKey,proto3" json:"SimulatedShareKey,omitempty"`
	Poly              []byte `protobuf:"bytes,6,opt,name=Poly,proto3" json:"Poly,omitempty"`
	// contains filtered or unexported fields
}

func (*SchnorrRound2Msg) Descriptor deprecated

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

Deprecated: Use SchnorrRound2Msg.ProtoReflect.Descriptor instead.

func (*SchnorrRound2Msg) GetPoly

func (x *SchnorrRound2Msg) GetPoly() []byte

func (*SchnorrRound2Msg) GetReceiverId

func (x *SchnorrRound2Msg) GetReceiverId() int32

func (*SchnorrRound2Msg) GetSenderId

func (x *SchnorrRound2Msg) GetSenderId() int32

func (*SchnorrRound2Msg) GetSessionId

func (x *SchnorrRound2Msg) GetSessionId() string

func (*SchnorrRound2Msg) GetShareKey

func (x *SchnorrRound2Msg) GetShareKey() []byte

func (*SchnorrRound2Msg) GetSimulatedShareKey

func (x *SchnorrRound2Msg) GetSimulatedShareKey() []byte

func (*SchnorrRound2Msg) ProtoMessage

func (*SchnorrRound2Msg) ProtoMessage()

func (*SchnorrRound2Msg) ProtoReflect

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

func (*SchnorrRound2Msg) Reset

func (x *SchnorrRound2Msg) Reset()

func (*SchnorrRound2Msg) String

func (x *SchnorrRound2Msg) String() string

type SchnorrRound2MsgList

type SchnorrRound2MsgList struct {
	Messages []*SchnorrRound2Msg `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*SchnorrRound2MsgList) Descriptor deprecated

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

Deprecated: Use SchnorrRound2MsgList.ProtoReflect.Descriptor instead.

func (*SchnorrRound2MsgList) GetMessages

func (x *SchnorrRound2MsgList) GetMessages() []*SchnorrRound2Msg

func (*SchnorrRound2MsgList) ProtoMessage

func (*SchnorrRound2MsgList) ProtoMessage()

func (*SchnorrRound2MsgList) ProtoReflect

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

func (*SchnorrRound2MsgList) Reset

func (x *SchnorrRound2MsgList) Reset()

func (*SchnorrRound2MsgList) String

func (x *SchnorrRound2MsgList) String() string

type SchnorrRound3Msg

type SchnorrRound3Msg struct {
	SessionId string `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	SenderId  int32  `protobuf:"varint,2,opt,name=SenderId,proto3" json:"SenderId,omitempty"`
	// Types that are assignable to Data:
	//	*SchnorrRound3Msg_PublicKey
	//	*SchnorrRound3Msg_SigmaI
	Data isSchnorrRound3Msg_Data `protobuf_oneof:"Data"`
	// contains filtered or unexported fields
}

func (*SchnorrRound3Msg) Descriptor deprecated

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

Deprecated: Use SchnorrRound3Msg.ProtoReflect.Descriptor instead.

func (*SchnorrRound3Msg) GetData

func (m *SchnorrRound3Msg) GetData() isSchnorrRound3Msg_Data

func (*SchnorrRound3Msg) GetPublicKey

func (x *SchnorrRound3Msg) GetPublicKey() []byte

func (*SchnorrRound3Msg) GetSenderId

func (x *SchnorrRound3Msg) GetSenderId() int32

func (*SchnorrRound3Msg) GetSessionId

func (x *SchnorrRound3Msg) GetSessionId() string

func (*SchnorrRound3Msg) GetSigmaI

func (x *SchnorrRound3Msg) GetSigmaI() []byte

func (*SchnorrRound3Msg) ProtoMessage

func (*SchnorrRound3Msg) ProtoMessage()

func (*SchnorrRound3Msg) ProtoReflect

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

func (*SchnorrRound3Msg) Reset

func (x *SchnorrRound3Msg) Reset()

func (*SchnorrRound3Msg) String

func (x *SchnorrRound3Msg) String() string

type SchnorrRound3MsgList

type SchnorrRound3MsgList struct {
	Messages []*SchnorrRound3Msg `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*SchnorrRound3MsgList) Descriptor deprecated

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

Deprecated: Use SchnorrRound3MsgList.ProtoReflect.Descriptor instead.

func (*SchnorrRound3MsgList) GetMessages

func (x *SchnorrRound3MsgList) GetMessages() []*SchnorrRound3Msg

func (*SchnorrRound3MsgList) ProtoMessage

func (*SchnorrRound3MsgList) ProtoMessage()

func (*SchnorrRound3MsgList) ProtoReflect

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

func (*SchnorrRound3MsgList) Reset

func (x *SchnorrRound3MsgList) Reset()

func (*SchnorrRound3MsgList) String

func (x *SchnorrRound3MsgList) String() string

type SchnorrRound3Msg_PublicKey

type SchnorrRound3Msg_PublicKey struct {
	PublicKey []byte `protobuf:"bytes,3,opt,name=PublicKey,proto3,oneof"`
}

type SchnorrRound3Msg_SigmaI

type SchnorrRound3Msg_SigmaI struct {
	SigmaI []byte `protobuf:"bytes,4,opt,name=SigmaI,proto3,oneof"`
}

type SchnorrSignature

type SchnorrSignature struct {
	SType               SignatureType `protobuf:"varint,1,opt,name=sType,proto3,enum=thresholdagent.SignatureType" json:"sType,omitempty"`
	CompressedPublicKey []byte        `protobuf:"bytes,2,opt,name=compressedPublicKey,proto3" json:"compressedPublicKey,omitempty"`
	SigningData         []byte        `protobuf:"bytes,3,opt,name=signingData,proto3" json:"signingData,omitempty"`
	R                   []byte        `protobuf:"bytes,4,opt,name=R,proto3" json:"R,omitempty"`
	S                   []byte        `protobuf:"bytes,5,opt,name=S,proto3" json:"S,omitempty"`
	// contains filtered or unexported fields
}

func (*SchnorrSignature) Bip340Signature

func (sgn *SchnorrSignature) Bip340Signature() [64]byte

func (*SchnorrSignature) Descriptor deprecated

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

Deprecated: Use SchnorrSignature.ProtoReflect.Descriptor instead.

func (*SchnorrSignature) FromBip340Signature

func (sgn *SchnorrSignature) FromBip340Signature(publicKey [33]byte, message [32]byte, signature [64]byte)

publicKey is compressed

func (*SchnorrSignature) FromEthSignature

func (sgn *SchnorrSignature) FromEthSignature(publicKey [33]byte, message, R, S [32]byte)

publicKey is compressed

func (*SchnorrSignature) GetCompressedPublicKey

func (x *SchnorrSignature) GetCompressedPublicKey() []byte

func (*SchnorrSignature) GetR

func (x *SchnorrSignature) GetR() []byte

func (*SchnorrSignature) GetS

func (x *SchnorrSignature) GetS() []byte

func (*SchnorrSignature) GetSType

func (x *SchnorrSignature) GetSType() SignatureType

func (*SchnorrSignature) GetSigningData

func (x *SchnorrSignature) GetSigningData() []byte

func (*SchnorrSignature) ProtoMessage

func (*SchnorrSignature) ProtoMessage()

func (*SchnorrSignature) ProtoReflect

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

func (*SchnorrSignature) Reset

func (x *SchnorrSignature) Reset()

func (*SchnorrSignature) String

func (x *SchnorrSignature) String() string

func (*SchnorrSignature) Verify

func (sgn *SchnorrSignature) Verify() bool

func (*SchnorrSignature) VerifyBip340

func (sgn *SchnorrSignature) VerifyBip340() bool

func (*SchnorrSignature) VerifyEth

func (sgn *SchnorrSignature) VerifyEth() bool

type SignRequest

type SignRequest struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Message   []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SignRequest) Descriptor deprecated

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

Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.

func (*SignRequest) GetMessage

func (x *SignRequest) GetMessage() []byte

func (*SignRequest) GetPublicKey

func (x *SignRequest) GetPublicKey() []byte

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) ProtoReflect

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

func (*SignRequest) Reset

func (x *SignRequest) Reset()

func (*SignRequest) String

func (x *SignRequest) String() string

type SignatureType

type SignatureType int32
const (
	SignatureType_SCHNORRv1 SignatureType = 0 //bitcoin schnorr
	SignatureType_SCHNORRv2 SignatureType = 1 //ethereum schnorr
	SignatureType_ECDSAv1   SignatureType = 2 //bitcoin ecdsa
	SignatureType_ECDSAv2   SignatureType = 3 //ethereum ecdsa
)

func (SignatureType) Descriptor

func (SignatureType) Enum

func (x SignatureType) Enum() *SignatureType

func (SignatureType) EnumDescriptor deprecated

func (SignatureType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignatureType.Descriptor instead.

func (SignatureType) Number

func (SignatureType) String

func (x SignatureType) String() string

func (SignatureType) Type

type Status

type Status int32
const (
	Status_UNKNOWN   Status = 0
	Status_SUCCEEDED Status = 1
	Status_DENIED    Status = 2
	Status_FAILED    Status = 3
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type ThresholdAgentClient

type ThresholdAgentClient interface {
	Authenticate(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	DkgSchnorrRound1(ctx context.Context, in *SchnorrRound0Msg, opts ...grpc.CallOption) (*SchnorrRound1Msg, error)
	DkgSchnorrRound2(ctx context.Context, in *SchnorrRound1MsgList, opts ...grpc.CallOption) (*SchnorrRound2MsgList, error)
	DkgSchnorrRound3(ctx context.Context, in *SchnorrRound2MsgList, opts ...grpc.CallOption) (*SchnorrRound3Msg, error)
	DkgSchnorrRoundFinal(ctx context.Context, in *ResultMsg, opts ...grpc.CallOption) (*ResultMsg, error)
	SchnorrSignRound1(ctx context.Context, in *SchnorrRound0Msg, opts ...grpc.CallOption) (*SchnorrRound1Msg, error)
	SchnorrSignRound2(ctx context.Context, in *SchnorrRound1MsgList, opts ...grpc.CallOption) (*SchnorrRound2MsgList, error)
	SchnorrSignRound3(ctx context.Context, in *SchnorrRound2MsgList, opts ...grpc.CallOption) (*SchnorrRound3Msg, error)
	SchnorrSignRound4(ctx context.Context, in *SchnorrRound3MsgList, opts ...grpc.CallOption) (*SchnorrSignature, error)
	EcdsaDkgRoundX(ctx context.Context, in *EcdsaRoundMessage, opts ...grpc.CallOption) (*EcdsaRoundMessage, error)
	EcdsaSignRoundX(ctx context.Context, in *EcdsaRoundMessage, opts ...grpc.CallOption) (*EcdsaRoundMessage, error)
}

ThresholdAgentClient is the client API for ThresholdAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ThresholdAgentServer

ThresholdAgentServer is the server API for ThresholdAgent service.

type UnimplementedThresholdAgentServer

type UnimplementedThresholdAgentServer struct {
}

UnimplementedThresholdAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedThresholdAgentServer) Authenticate

func (*UnimplementedThresholdAgentServer) DkgSchnorrRound1

func (*UnimplementedThresholdAgentServer) DkgSchnorrRound2

func (*UnimplementedThresholdAgentServer) DkgSchnorrRound3

func (*UnimplementedThresholdAgentServer) DkgSchnorrRoundFinal

func (*UnimplementedThresholdAgentServer) EcdsaDkgRoundX

func (*UnimplementedThresholdAgentServer) EcdsaSignRoundX

func (*UnimplementedThresholdAgentServer) SchnorrSignRound1

func (*UnimplementedThresholdAgentServer) SchnorrSignRound2

func (*UnimplementedThresholdAgentServer) SchnorrSignRound3

func (*UnimplementedThresholdAgentServer) SchnorrSignRound4

Jump to

Keyboard shortcuts

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