tofnd

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCommon        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMultisig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMultisig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMultisig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTofnd        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTofnd          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTofnd = fmt.Errorf("proto: unexpected end of group")
)
View Source
var GG20_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tofnd.GG20",
	HandlerType: (*GG20Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Recover",
			Handler:    _GG20_Recover_Handler,
		},
		{
			MethodName: "KeyPresence",
			Handler:    _GG20_KeyPresence_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Keygen",
			Handler:       _GG20_Keygen_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Sign",
			Handler:       _GG20_Sign_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "tss/tofnd/tofnd.proto",
}

GG20_ServiceDesc is the grpc.ServiceDesc for GG20 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var KeyPresenceResponse_Response_name = map[int32]string{
	0: "RESPONSE_UNSPECIFIED",
	1: "RESPONSE_PRESENT",
	2: "RESPONSE_ABSENT",
	3: "RESPONSE_FAIL",
}
View Source
var KeyPresenceResponse_Response_value = map[string]int32{
	"RESPONSE_UNSPECIFIED": 0,
	"RESPONSE_PRESENT":     1,
	"RESPONSE_ABSENT":      2,
	"RESPONSE_FAIL":        3,
}
View Source
var MessageOut_CriminalList_Criminal_CrimeType_name = map[int32]string{
	0: "CRIME_TYPE_UNSPECIFIED",
	1: "CRIME_TYPE_NON_MALICIOUS",
	2: "CRIME_TYPE_MALICIOUS",
}
View Source
var MessageOut_CriminalList_Criminal_CrimeType_value = map[string]int32{
	"CRIME_TYPE_UNSPECIFIED":   0,
	"CRIME_TYPE_NON_MALICIOUS": 1,
	"CRIME_TYPE_MALICIOUS":     2,
}
View Source
var Multisig_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tofnd.Multisig",
	HandlerType: (*MultisigServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "KeyPresence",
			Handler:    _Multisig_KeyPresence_Handler,
		},
		{
			MethodName: "Keygen",
			Handler:    _Multisig_Keygen_Handler,
		},
		{
			MethodName: "Sign",
			Handler:    _Multisig_Sign_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tss/tofnd/v1beta1/multisig.proto",
}

Multisig_ServiceDesc is the grpc.ServiceDesc for Multisig service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RecoverResponse_Response_name = map[int32]string{
	0: "RESPONSE_UNSPECIFIED",
	1: "RESPONSE_SUCCESS",
	2: "RESPONSE_FAIL",
}
View Source
var RecoverResponse_Response_value = map[string]int32{
	"RESPONSE_UNSPECIFIED": 0,
	"RESPONSE_SUCCESS":     1,
	"RESPONSE_FAIL":        2,
}

Functions

func RegisterGG20Server

func RegisterGG20Server(s grpc.ServiceRegistrar, srv GG20Server)

func RegisterMultisigServer

func RegisterMultisigServer(s grpc.ServiceRegistrar, srv MultisigServer)

Types

type GG20Client

type GG20Client interface {
	Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, error)
	Keygen(ctx context.Context, opts ...grpc.CallOption) (GG20_KeygenClient, error)
	Sign(ctx context.Context, opts ...grpc.CallOption) (GG20_SignClient, error)
	KeyPresence(ctx context.Context, in *KeyPresenceRequest, opts ...grpc.CallOption) (*KeyPresenceResponse, error)
}

GG20Client is the client API for GG20 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGG20Client

func NewGG20Client(cc grpc.ClientConnInterface) GG20Client

type GG20Server

type GG20Server interface {
	Recover(context.Context, *RecoverRequest) (*RecoverResponse, error)
	Keygen(GG20_KeygenServer) error
	Sign(GG20_SignServer) error
	KeyPresence(context.Context, *KeyPresenceRequest) (*KeyPresenceResponse, error)
	// contains filtered or unexported methods
}

GG20Server is the server API for GG20 service. All implementations must embed UnimplementedGG20Server for forward compatibility

type GG20_KeygenClient

type GG20_KeygenClient interface {
	Send(*MessageIn) error
	Recv() (*MessageOut, error)
	grpc.ClientStream
}

type GG20_KeygenServer

type GG20_KeygenServer interface {
	Send(*MessageOut) error
	Recv() (*MessageIn, error)
	grpc.ServerStream
}

type GG20_SignClient

type GG20_SignClient interface {
	Send(*MessageIn) error
	Recv() (*MessageOut, error)
	grpc.ClientStream
}

type GG20_SignServer

type GG20_SignServer interface {
	Send(*MessageOut) error
	Recv() (*MessageIn, error)
	grpc.ServerStream
}

type KeyPresenceRequest

type KeyPresenceRequest struct {
	KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"`
}

Key presence check types

func (*KeyPresenceRequest) Descriptor

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

func (*KeyPresenceRequest) GetKeyUid

func (m *KeyPresenceRequest) GetKeyUid() string

func (*KeyPresenceRequest) Marshal

func (m *KeyPresenceRequest) Marshal() (dAtA []byte, err error)

func (*KeyPresenceRequest) MarshalTo

func (m *KeyPresenceRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeyPresenceRequest) MarshalToSizedBuffer

func (m *KeyPresenceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyPresenceRequest) ProtoMessage

func (*KeyPresenceRequest) ProtoMessage()

func (*KeyPresenceRequest) Reset

func (m *KeyPresenceRequest) Reset()

func (*KeyPresenceRequest) Size

func (m *KeyPresenceRequest) Size() (n int)

func (*KeyPresenceRequest) String

func (m *KeyPresenceRequest) String() string

func (*KeyPresenceRequest) Unmarshal

func (m *KeyPresenceRequest) Unmarshal(dAtA []byte) error

func (*KeyPresenceRequest) XXX_DiscardUnknown

func (m *KeyPresenceRequest) XXX_DiscardUnknown()

func (*KeyPresenceRequest) XXX_Marshal

func (m *KeyPresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyPresenceRequest) XXX_Merge

func (m *KeyPresenceRequest) XXX_Merge(src proto.Message)

func (*KeyPresenceRequest) XXX_Size

func (m *KeyPresenceRequest) XXX_Size() int

func (*KeyPresenceRequest) XXX_Unmarshal

func (m *KeyPresenceRequest) XXX_Unmarshal(b []byte) error

type KeyPresenceResponse

type KeyPresenceResponse struct {
	Response KeyPresenceResponse_Response `protobuf:"varint,1,opt,name=response,proto3,enum=tss.tofnd.v1beta1.KeyPresenceResponse_Response" json:"response,omitempty"`
}

func (*KeyPresenceResponse) Descriptor

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

func (*KeyPresenceResponse) GetResponse

func (*KeyPresenceResponse) Marshal

func (m *KeyPresenceResponse) Marshal() (dAtA []byte, err error)

func (*KeyPresenceResponse) MarshalTo

func (m *KeyPresenceResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeyPresenceResponse) MarshalToSizedBuffer

func (m *KeyPresenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyPresenceResponse) ProtoMessage

func (*KeyPresenceResponse) ProtoMessage()

func (*KeyPresenceResponse) Reset

func (m *KeyPresenceResponse) Reset()

func (*KeyPresenceResponse) Size

func (m *KeyPresenceResponse) Size() (n int)

func (*KeyPresenceResponse) String

func (m *KeyPresenceResponse) String() string

func (*KeyPresenceResponse) Unmarshal

func (m *KeyPresenceResponse) Unmarshal(dAtA []byte) error

func (*KeyPresenceResponse) XXX_DiscardUnknown

func (m *KeyPresenceResponse) XXX_DiscardUnknown()

func (*KeyPresenceResponse) XXX_Marshal

func (m *KeyPresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyPresenceResponse) XXX_Merge

func (m *KeyPresenceResponse) XXX_Merge(src proto.Message)

func (*KeyPresenceResponse) XXX_Size

func (m *KeyPresenceResponse) XXX_Size() int

func (*KeyPresenceResponse) XXX_Unmarshal

func (m *KeyPresenceResponse) XXX_Unmarshal(b []byte) error

type KeyPresenceResponse_Response

type KeyPresenceResponse_Response int32
const (
	RESPONSE_UNSPECIFIED KeyPresenceResponse_Response = 0
	RESPONSE_PRESENT     KeyPresenceResponse_Response = 1
	RESPONSE_ABSENT      KeyPresenceResponse_Response = 2
	RESPONSE_FAIL        KeyPresenceResponse_Response = 3
)

func (KeyPresenceResponse_Response) EnumDescriptor

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

func (KeyPresenceResponse_Response) String

type KeygenInit

type KeygenInit struct {
	NewKeyUid        string   `protobuf:"bytes,1,opt,name=new_key_uid,json=newKeyUid,proto3" json:"new_key_uid,omitempty"`
	PartyUids        []string `protobuf:"bytes,2,rep,name=party_uids,json=partyUids,proto3" json:"party_uids,omitempty"`
	PartyShareCounts []uint32 `protobuf:"varint,5,rep,packed,name=party_share_counts,json=partyShareCounts,proto3" json:"party_share_counts,omitempty"`
	MyPartyIndex     uint32   `protobuf:"varint,3,opt,name=my_party_index,json=myPartyIndex,proto3" json:"my_party_index,omitempty"`
	Threshold        uint32   `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"`
}

func (*KeygenInit) Descriptor

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

func (*KeygenInit) GetMyPartyIndex

func (m *KeygenInit) GetMyPartyIndex() uint32

func (*KeygenInit) GetNewKeyUid

func (m *KeygenInit) GetNewKeyUid() string

func (*KeygenInit) GetPartyShareCounts

func (m *KeygenInit) GetPartyShareCounts() []uint32

func (*KeygenInit) GetPartyUids

func (m *KeygenInit) GetPartyUids() []string

func (*KeygenInit) GetThreshold

func (m *KeygenInit) GetThreshold() uint32

func (*KeygenInit) Marshal

func (m *KeygenInit) Marshal() (dAtA []byte, err error)

func (*KeygenInit) MarshalTo

func (m *KeygenInit) MarshalTo(dAtA []byte) (int, error)

func (*KeygenInit) MarshalToSizedBuffer

func (m *KeygenInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenInit) ProtoMessage

func (*KeygenInit) ProtoMessage()

func (*KeygenInit) Reset

func (m *KeygenInit) Reset()

func (*KeygenInit) Size

func (m *KeygenInit) Size() (n int)

func (*KeygenInit) String

func (m *KeygenInit) String() string

func (*KeygenInit) Unmarshal

func (m *KeygenInit) Unmarshal(dAtA []byte) error

func (*KeygenInit) XXX_DiscardUnknown

func (m *KeygenInit) XXX_DiscardUnknown()

func (*KeygenInit) XXX_Marshal

func (m *KeygenInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeygenInit) XXX_Merge

func (m *KeygenInit) XXX_Merge(src proto.Message)

func (*KeygenInit) XXX_Size

func (m *KeygenInit) XXX_Size() int

func (*KeygenInit) XXX_Unmarshal

func (m *KeygenInit) XXX_Unmarshal(b []byte) error

type KeygenOutput

type KeygenOutput struct {
	PubKey             []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	GroupRecoverInfo   []byte `protobuf:"bytes,2,opt,name=group_recover_info,json=groupRecoverInfo,proto3" json:"group_recover_info,omitempty"`
	PrivateRecoverInfo []byte `protobuf:"bytes,3,opt,name=private_recover_info,json=privateRecoverInfo,proto3" json:"private_recover_info,omitempty"`
}

Keygen's success response

func (*KeygenOutput) Descriptor

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

func (*KeygenOutput) GetGroupRecoverInfo

func (m *KeygenOutput) GetGroupRecoverInfo() []byte

func (*KeygenOutput) GetPrivateRecoverInfo

func (m *KeygenOutput) GetPrivateRecoverInfo() []byte

func (*KeygenOutput) GetPubKey

func (m *KeygenOutput) GetPubKey() []byte

func (*KeygenOutput) Marshal

func (m *KeygenOutput) Marshal() (dAtA []byte, err error)

func (*KeygenOutput) MarshalTo

func (m *KeygenOutput) MarshalTo(dAtA []byte) (int, error)

func (*KeygenOutput) MarshalToSizedBuffer

func (m *KeygenOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenOutput) ProtoMessage

func (*KeygenOutput) ProtoMessage()

func (*KeygenOutput) Reset

func (m *KeygenOutput) Reset()

func (*KeygenOutput) Size

func (m *KeygenOutput) Size() (n int)

func (*KeygenOutput) String

func (m *KeygenOutput) String() string

func (*KeygenOutput) Unmarshal

func (m *KeygenOutput) Unmarshal(dAtA []byte) error

func (*KeygenOutput) XXX_DiscardUnknown

func (m *KeygenOutput) XXX_DiscardUnknown()

func (*KeygenOutput) XXX_Marshal

func (m *KeygenOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeygenOutput) XXX_Merge

func (m *KeygenOutput) XXX_Merge(src proto.Message)

func (*KeygenOutput) XXX_Size

func (m *KeygenOutput) XXX_Size() int

func (*KeygenOutput) XXX_Unmarshal

func (m *KeygenOutput) XXX_Unmarshal(b []byte) error

type KeygenRequest

type KeygenRequest struct {
	KeyUid   string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"`
	PartyUid string `protobuf:"bytes,2,opt,name=party_uid,json=partyUid,proto3" json:"party_uid,omitempty"`
}

func (*KeygenRequest) Descriptor

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

func (*KeygenRequest) GetKeyUid

func (m *KeygenRequest) GetKeyUid() string

func (*KeygenRequest) GetPartyUid

func (m *KeygenRequest) GetPartyUid() string

func (*KeygenRequest) Marshal

func (m *KeygenRequest) Marshal() (dAtA []byte, err error)

func (*KeygenRequest) MarshalTo

func (m *KeygenRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeygenRequest) MarshalToSizedBuffer

func (m *KeygenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenRequest) ProtoMessage

func (*KeygenRequest) ProtoMessage()

func (*KeygenRequest) Reset

func (m *KeygenRequest) Reset()

func (*KeygenRequest) Size

func (m *KeygenRequest) Size() (n int)

func (*KeygenRequest) String

func (m *KeygenRequest) String() string

func (*KeygenRequest) Unmarshal

func (m *KeygenRequest) Unmarshal(dAtA []byte) error

func (*KeygenRequest) XXX_DiscardUnknown

func (m *KeygenRequest) XXX_DiscardUnknown()

func (*KeygenRequest) XXX_Marshal

func (m *KeygenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeygenRequest) XXX_Merge

func (m *KeygenRequest) XXX_Merge(src proto.Message)

func (*KeygenRequest) XXX_Size

func (m *KeygenRequest) XXX_Size() int

func (*KeygenRequest) XXX_Unmarshal

func (m *KeygenRequest) XXX_Unmarshal(b []byte) error

type KeygenResponse

type KeygenResponse struct {
	// Types that are valid to be assigned to KeygenResponse:
	//	*KeygenResponse_PubKey
	//	*KeygenResponse_Error
	KeygenResponse isKeygenResponse_KeygenResponse `protobuf_oneof:"keygen_response"`
}

func (*KeygenResponse) Descriptor

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

func (*KeygenResponse) GetError

func (m *KeygenResponse) GetError() string

func (*KeygenResponse) GetKeygenResponse

func (m *KeygenResponse) GetKeygenResponse() isKeygenResponse_KeygenResponse

func (*KeygenResponse) GetPubKey

func (m *KeygenResponse) GetPubKey() []byte

func (*KeygenResponse) Marshal

func (m *KeygenResponse) Marshal() (dAtA []byte, err error)

func (*KeygenResponse) MarshalTo

func (m *KeygenResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeygenResponse) MarshalToSizedBuffer

func (m *KeygenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenResponse) ProtoMessage

func (*KeygenResponse) ProtoMessage()

func (*KeygenResponse) Reset

func (m *KeygenResponse) Reset()

func (*KeygenResponse) Size

func (m *KeygenResponse) Size() (n int)

func (*KeygenResponse) String

func (m *KeygenResponse) String() string

func (*KeygenResponse) Unmarshal

func (m *KeygenResponse) Unmarshal(dAtA []byte) error

func (*KeygenResponse) XXX_DiscardUnknown

func (m *KeygenResponse) XXX_DiscardUnknown()

func (*KeygenResponse) XXX_Marshal

func (m *KeygenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeygenResponse) XXX_Merge

func (m *KeygenResponse) XXX_Merge(src proto.Message)

func (*KeygenResponse) XXX_OneofWrappers

func (*KeygenResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*KeygenResponse) XXX_Size

func (m *KeygenResponse) XXX_Size() int

func (*KeygenResponse) XXX_Unmarshal

func (m *KeygenResponse) XXX_Unmarshal(b []byte) error

type KeygenResponse_Error

type KeygenResponse_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
}

func (*KeygenResponse_Error) MarshalTo

func (m *KeygenResponse_Error) MarshalTo(dAtA []byte) (int, error)

func (*KeygenResponse_Error) MarshalToSizedBuffer

func (m *KeygenResponse_Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenResponse_Error) Size

func (m *KeygenResponse_Error) Size() (n int)

type KeygenResponse_PubKey

type KeygenResponse_PubKey struct {
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3,oneof" json:"pub_key,omitempty"`
}

func (*KeygenResponse_PubKey) MarshalTo

func (m *KeygenResponse_PubKey) MarshalTo(dAtA []byte) (int, error)

func (*KeygenResponse_PubKey) MarshalToSizedBuffer

func (m *KeygenResponse_PubKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenResponse_PubKey) Size

func (m *KeygenResponse_PubKey) Size() (n int)

type MessageIn

type MessageIn struct {
	// Types that are valid to be assigned to Data:
	//	*MessageIn_KeygenInit
	//	*MessageIn_SignInit
	//	*MessageIn_Traffic
	//	*MessageIn_Abort
	Data isMessageIn_Data `protobuf_oneof:"data"`
}

func (*MessageIn) Descriptor

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

func (*MessageIn) GetAbort

func (m *MessageIn) GetAbort() bool

func (*MessageIn) GetData

func (m *MessageIn) GetData() isMessageIn_Data

func (*MessageIn) GetKeygenInit

func (m *MessageIn) GetKeygenInit() *KeygenInit

func (*MessageIn) GetSignInit

func (m *MessageIn) GetSignInit() *SignInit

func (*MessageIn) GetTraffic

func (m *MessageIn) GetTraffic() *TrafficIn

func (*MessageIn) Marshal

func (m *MessageIn) Marshal() (dAtA []byte, err error)

func (*MessageIn) MarshalTo

func (m *MessageIn) MarshalTo(dAtA []byte) (int, error)

func (*MessageIn) MarshalToSizedBuffer

func (m *MessageIn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageIn) ProtoMessage

func (*MessageIn) ProtoMessage()

func (*MessageIn) Reset

func (m *MessageIn) Reset()

func (*MessageIn) Size

func (m *MessageIn) Size() (n int)

func (*MessageIn) String

func (m *MessageIn) String() string

func (*MessageIn) Unmarshal

func (m *MessageIn) Unmarshal(dAtA []byte) error

func (*MessageIn) XXX_DiscardUnknown

func (m *MessageIn) XXX_DiscardUnknown()

func (*MessageIn) XXX_Marshal

func (m *MessageIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageIn) XXX_Merge

func (m *MessageIn) XXX_Merge(src proto.Message)

func (*MessageIn) XXX_OneofWrappers

func (*MessageIn) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MessageIn) XXX_Size

func (m *MessageIn) XXX_Size() int

func (*MessageIn) XXX_Unmarshal

func (m *MessageIn) XXX_Unmarshal(b []byte) error

type MessageIn_Abort

type MessageIn_Abort struct {
	Abort bool `protobuf:"varint,4,opt,name=abort,proto3,oneof" json:"abort,omitempty"`
}

func (*MessageIn_Abort) MarshalTo

func (m *MessageIn_Abort) MarshalTo(dAtA []byte) (int, error)

func (*MessageIn_Abort) MarshalToSizedBuffer

func (m *MessageIn_Abort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageIn_Abort) Size

func (m *MessageIn_Abort) Size() (n int)

type MessageIn_KeygenInit

type MessageIn_KeygenInit struct {
	KeygenInit *KeygenInit `protobuf:"bytes,1,opt,name=keygen_init,json=keygenInit,proto3,oneof" json:"keygen_init,omitempty"`
}

func (*MessageIn_KeygenInit) MarshalTo

func (m *MessageIn_KeygenInit) MarshalTo(dAtA []byte) (int, error)

func (*MessageIn_KeygenInit) MarshalToSizedBuffer

func (m *MessageIn_KeygenInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageIn_KeygenInit) Size

func (m *MessageIn_KeygenInit) Size() (n int)

type MessageIn_SignInit

type MessageIn_SignInit struct {
	SignInit *SignInit `protobuf:"bytes,2,opt,name=sign_init,json=signInit,proto3,oneof" json:"sign_init,omitempty"`
}

func (*MessageIn_SignInit) MarshalTo

func (m *MessageIn_SignInit) MarshalTo(dAtA []byte) (int, error)

func (*MessageIn_SignInit) MarshalToSizedBuffer

func (m *MessageIn_SignInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageIn_SignInit) Size

func (m *MessageIn_SignInit) Size() (n int)

type MessageIn_Traffic

type MessageIn_Traffic struct {
	Traffic *TrafficIn `protobuf:"bytes,3,opt,name=traffic,proto3,oneof" json:"traffic,omitempty"`
}

func (*MessageIn_Traffic) MarshalTo

func (m *MessageIn_Traffic) MarshalTo(dAtA []byte) (int, error)

func (*MessageIn_Traffic) MarshalToSizedBuffer

func (m *MessageIn_Traffic) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageIn_Traffic) Size

func (m *MessageIn_Traffic) Size() (n int)

type MessageOut

type MessageOut struct {
	// Types that are valid to be assigned to Data:
	//	*MessageOut_Traffic
	//	*MessageOut_KeygenResult_
	//	*MessageOut_SignResult_
	//	*MessageOut_NeedRecover
	Data isMessageOut_Data `protobuf_oneof:"data"`
}

func (*MessageOut) Descriptor

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

func (*MessageOut) GetData

func (m *MessageOut) GetData() isMessageOut_Data

func (*MessageOut) GetKeygenResult

func (m *MessageOut) GetKeygenResult() *MessageOut_KeygenResult

func (*MessageOut) GetNeedRecover

func (m *MessageOut) GetNeedRecover() bool

func (*MessageOut) GetSignResult

func (m *MessageOut) GetSignResult() *MessageOut_SignResult

func (*MessageOut) GetTraffic

func (m *MessageOut) GetTraffic() *TrafficOut

func (*MessageOut) Marshal

func (m *MessageOut) Marshal() (dAtA []byte, err error)

func (*MessageOut) MarshalTo

func (m *MessageOut) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut) MarshalToSizedBuffer

func (m *MessageOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut) ProtoMessage

func (*MessageOut) ProtoMessage()

func (*MessageOut) Reset

func (m *MessageOut) Reset()

func (*MessageOut) Size

func (m *MessageOut) Size() (n int)

func (*MessageOut) String

func (m *MessageOut) String() string

func (*MessageOut) Unmarshal

func (m *MessageOut) Unmarshal(dAtA []byte) error

func (*MessageOut) XXX_DiscardUnknown

func (m *MessageOut) XXX_DiscardUnknown()

func (*MessageOut) XXX_Marshal

func (m *MessageOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageOut) XXX_Merge

func (m *MessageOut) XXX_Merge(src proto.Message)

func (*MessageOut) XXX_OneofWrappers

func (*MessageOut) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MessageOut) XXX_Size

func (m *MessageOut) XXX_Size() int

func (*MessageOut) XXX_Unmarshal

func (m *MessageOut) XXX_Unmarshal(b []byte) error

type MessageOut_CriminalList

type MessageOut_CriminalList struct {
	Criminals []*MessageOut_CriminalList_Criminal `protobuf:"bytes,1,rep,name=criminals,proto3" json:"criminals,omitempty"`
}

Keygen/Sign failure response message

func (*MessageOut_CriminalList) Descriptor

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

func (*MessageOut_CriminalList) GetCriminals

func (*MessageOut_CriminalList) Len

func (m *MessageOut_CriminalList) Len() int

Len returns the number of criminals in the criminal list

func (*MessageOut_CriminalList) Less

func (m *MessageOut_CriminalList) Less(i, j int) bool

Less returns true if the criminal at index i is considered less than the criminal at index j in the criminal list

func (*MessageOut_CriminalList) Marshal

func (m *MessageOut_CriminalList) Marshal() (dAtA []byte, err error)

func (*MessageOut_CriminalList) MarshalTo

func (m *MessageOut_CriminalList) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_CriminalList) MarshalToSizedBuffer

func (m *MessageOut_CriminalList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_CriminalList) ProtoMessage

func (*MessageOut_CriminalList) ProtoMessage()

func (*MessageOut_CriminalList) Reset

func (m *MessageOut_CriminalList) Reset()

func (*MessageOut_CriminalList) Size

func (m *MessageOut_CriminalList) Size() (n int)

func (*MessageOut_CriminalList) String

func (m *MessageOut_CriminalList) String() string

func (*MessageOut_CriminalList) Swap

func (m *MessageOut_CriminalList) Swap(i, j int)

Swap swaps the criminals at given indexes in the criminal list

func (*MessageOut_CriminalList) Unmarshal

func (m *MessageOut_CriminalList) Unmarshal(dAtA []byte) error

func (*MessageOut_CriminalList) Validate

func (m *MessageOut_CriminalList) Validate() error

Validate checks if the criminal list is valid

func (*MessageOut_CriminalList) XXX_DiscardUnknown

func (m *MessageOut_CriminalList) XXX_DiscardUnknown()

func (*MessageOut_CriminalList) XXX_Marshal

func (m *MessageOut_CriminalList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageOut_CriminalList) XXX_Merge

func (m *MessageOut_CriminalList) XXX_Merge(src proto.Message)

func (*MessageOut_CriminalList) XXX_Size

func (m *MessageOut_CriminalList) XXX_Size() int

func (*MessageOut_CriminalList) XXX_Unmarshal

func (m *MessageOut_CriminalList) XXX_Unmarshal(b []byte) error

type MessageOut_CriminalList_Criminal

type MessageOut_CriminalList_Criminal struct {
	PartyUid  string                                     `protobuf:"bytes,1,opt,name=party_uid,json=partyUid,proto3" json:"party_uid,omitempty"`
	CrimeType MessageOut_CriminalList_Criminal_CrimeType `` /* 155-byte string literal not displayed */
}

func (*MessageOut_CriminalList_Criminal) Descriptor

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

func (*MessageOut_CriminalList_Criminal) GetCrimeType

func (*MessageOut_CriminalList_Criminal) GetPartyUid

func (m *MessageOut_CriminalList_Criminal) GetPartyUid() string

func (*MessageOut_CriminalList_Criminal) Marshal

func (m *MessageOut_CriminalList_Criminal) Marshal() (dAtA []byte, err error)

func (*MessageOut_CriminalList_Criminal) MarshalTo

func (m *MessageOut_CriminalList_Criminal) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_CriminalList_Criminal) MarshalToSizedBuffer

func (m *MessageOut_CriminalList_Criminal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_CriminalList_Criminal) ProtoMessage

func (*MessageOut_CriminalList_Criminal) ProtoMessage()

func (*MessageOut_CriminalList_Criminal) Reset

func (*MessageOut_CriminalList_Criminal) Size

func (m *MessageOut_CriminalList_Criminal) Size() (n int)

func (*MessageOut_CriminalList_Criminal) String

func (*MessageOut_CriminalList_Criminal) Unmarshal

func (m *MessageOut_CriminalList_Criminal) Unmarshal(dAtA []byte) error

func (*MessageOut_CriminalList_Criminal) XXX_DiscardUnknown

func (m *MessageOut_CriminalList_Criminal) XXX_DiscardUnknown()

func (*MessageOut_CriminalList_Criminal) XXX_Marshal

func (m *MessageOut_CriminalList_Criminal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageOut_CriminalList_Criminal) XXX_Merge

func (*MessageOut_CriminalList_Criminal) XXX_Size

func (m *MessageOut_CriminalList_Criminal) XXX_Size() int

func (*MessageOut_CriminalList_Criminal) XXX_Unmarshal

func (m *MessageOut_CriminalList_Criminal) XXX_Unmarshal(b []byte) error

type MessageOut_CriminalList_Criminal_CrimeType

type MessageOut_CriminalList_Criminal_CrimeType int32
const (
	CRIME_TYPE_UNSPECIFIED   MessageOut_CriminalList_Criminal_CrimeType = 0
	CRIME_TYPE_NON_MALICIOUS MessageOut_CriminalList_Criminal_CrimeType = 1
	CRIME_TYPE_MALICIOUS     MessageOut_CriminalList_Criminal_CrimeType = 2
)

func (MessageOut_CriminalList_Criminal_CrimeType) EnumDescriptor

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

func (MessageOut_CriminalList_Criminal_CrimeType) String

type MessageOut_KeygenResult

type MessageOut_KeygenResult struct {
	// Types that are valid to be assigned to KeygenResultData:
	//	*MessageOut_KeygenResult_Data
	//	*MessageOut_KeygenResult_Criminals
	KeygenResultData isMessageOut_KeygenResult_KeygenResultData `protobuf_oneof:"keygen_result_data"`
}

Keygen's response types

func (*MessageOut_KeygenResult) Descriptor

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

func (*MessageOut_KeygenResult) GetCriminals

func (*MessageOut_KeygenResult) GetData

func (m *MessageOut_KeygenResult) GetData() *KeygenOutput

func (*MessageOut_KeygenResult) GetKeygenResultData

func (m *MessageOut_KeygenResult) GetKeygenResultData() isMessageOut_KeygenResult_KeygenResultData

func (*MessageOut_KeygenResult) Marshal

func (m *MessageOut_KeygenResult) Marshal() (dAtA []byte, err error)

func (*MessageOut_KeygenResult) MarshalTo

func (m *MessageOut_KeygenResult) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult) MarshalToSizedBuffer

func (m *MessageOut_KeygenResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult) ProtoMessage

func (*MessageOut_KeygenResult) ProtoMessage()

func (*MessageOut_KeygenResult) Reset

func (m *MessageOut_KeygenResult) Reset()

func (*MessageOut_KeygenResult) Size

func (m *MessageOut_KeygenResult) Size() (n int)

func (*MessageOut_KeygenResult) String

func (m *MessageOut_KeygenResult) String() string

func (*MessageOut_KeygenResult) Unmarshal

func (m *MessageOut_KeygenResult) Unmarshal(dAtA []byte) error

func (*MessageOut_KeygenResult) Validate

func (m *MessageOut_KeygenResult) Validate() error

Validate checks if the keygen result is valid

func (*MessageOut_KeygenResult) XXX_DiscardUnknown

func (m *MessageOut_KeygenResult) XXX_DiscardUnknown()

func (*MessageOut_KeygenResult) XXX_Marshal

func (m *MessageOut_KeygenResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageOut_KeygenResult) XXX_Merge

func (m *MessageOut_KeygenResult) XXX_Merge(src proto.Message)

func (*MessageOut_KeygenResult) XXX_OneofWrappers

func (*MessageOut_KeygenResult) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MessageOut_KeygenResult) XXX_Size

func (m *MessageOut_KeygenResult) XXX_Size() int

func (*MessageOut_KeygenResult) XXX_Unmarshal

func (m *MessageOut_KeygenResult) XXX_Unmarshal(b []byte) error

type MessageOut_KeygenResult_

type MessageOut_KeygenResult_ struct {
	KeygenResult *MessageOut_KeygenResult `protobuf:"bytes,2,opt,name=keygen_result,json=keygenResult,proto3,oneof" json:"keygen_result,omitempty"`
}

func (*MessageOut_KeygenResult_) MarshalTo

func (m *MessageOut_KeygenResult_) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult_) MarshalToSizedBuffer

func (m *MessageOut_KeygenResult_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult_) Size

func (m *MessageOut_KeygenResult_) Size() (n int)

type MessageOut_KeygenResult_Criminals

type MessageOut_KeygenResult_Criminals struct {
	Criminals *MessageOut_CriminalList `protobuf:"bytes,2,opt,name=criminals,proto3,oneof" json:"criminals,omitempty"`
}

func (*MessageOut_KeygenResult_Criminals) MarshalTo

func (m *MessageOut_KeygenResult_Criminals) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult_Criminals) MarshalToSizedBuffer

func (m *MessageOut_KeygenResult_Criminals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult_Criminals) Size

func (m *MessageOut_KeygenResult_Criminals) Size() (n int)

type MessageOut_KeygenResult_Data

type MessageOut_KeygenResult_Data struct {
	Data *KeygenOutput `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"`
}

func (*MessageOut_KeygenResult_Data) MarshalTo

func (m *MessageOut_KeygenResult_Data) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult_Data) MarshalToSizedBuffer

func (m *MessageOut_KeygenResult_Data) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_KeygenResult_Data) Size

func (m *MessageOut_KeygenResult_Data) Size() (n int)

type MessageOut_NeedRecover

type MessageOut_NeedRecover struct {
	NeedRecover bool `protobuf:"varint,4,opt,name=need_recover,json=needRecover,proto3,oneof" json:"need_recover,omitempty"`
}

func (*MessageOut_NeedRecover) MarshalTo

func (m *MessageOut_NeedRecover) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_NeedRecover) MarshalToSizedBuffer

func (m *MessageOut_NeedRecover) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_NeedRecover) Size

func (m *MessageOut_NeedRecover) Size() (n int)

type MessageOut_SignResult

type MessageOut_SignResult struct {
	// Types that are valid to be assigned to SignResultData:
	//	*MessageOut_SignResult_Signature
	//	*MessageOut_SignResult_Criminals
	SignResultData isMessageOut_SignResult_SignResultData `protobuf_oneof:"sign_result_data"`
}

Sign's response types

func (*MessageOut_SignResult) Descriptor

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

func (*MessageOut_SignResult) GetCriminals

func (*MessageOut_SignResult) GetSignResultData

func (m *MessageOut_SignResult) GetSignResultData() isMessageOut_SignResult_SignResultData

func (*MessageOut_SignResult) GetSignature

func (m *MessageOut_SignResult) GetSignature() []byte

func (*MessageOut_SignResult) Marshal

func (m *MessageOut_SignResult) Marshal() (dAtA []byte, err error)

func (*MessageOut_SignResult) MarshalTo

func (m *MessageOut_SignResult) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_SignResult) MarshalToSizedBuffer

func (m *MessageOut_SignResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_SignResult) ProtoMessage

func (*MessageOut_SignResult) ProtoMessage()

func (*MessageOut_SignResult) Reset

func (m *MessageOut_SignResult) Reset()

func (*MessageOut_SignResult) Size

func (m *MessageOut_SignResult) Size() (n int)

func (*MessageOut_SignResult) String

func (m *MessageOut_SignResult) String() string

func (*MessageOut_SignResult) Unmarshal

func (m *MessageOut_SignResult) Unmarshal(dAtA []byte) error

func (*MessageOut_SignResult) Validate

func (m *MessageOut_SignResult) Validate() error

Validate checks if the sign result is valid

func (*MessageOut_SignResult) XXX_DiscardUnknown

func (m *MessageOut_SignResult) XXX_DiscardUnknown()

func (*MessageOut_SignResult) XXX_Marshal

func (m *MessageOut_SignResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageOut_SignResult) XXX_Merge

func (m *MessageOut_SignResult) XXX_Merge(src proto.Message)

func (*MessageOut_SignResult) XXX_OneofWrappers

func (*MessageOut_SignResult) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MessageOut_SignResult) XXX_Size

func (m *MessageOut_SignResult) XXX_Size() int

func (*MessageOut_SignResult) XXX_Unmarshal

func (m *MessageOut_SignResult) XXX_Unmarshal(b []byte) error

type MessageOut_SignResult_

type MessageOut_SignResult_ struct {
	SignResult *MessageOut_SignResult `protobuf:"bytes,3,opt,name=sign_result,json=signResult,proto3,oneof" json:"sign_result,omitempty"`
}

func (*MessageOut_SignResult_) MarshalTo

func (m *MessageOut_SignResult_) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_SignResult_) MarshalToSizedBuffer

func (m *MessageOut_SignResult_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_SignResult_) Size

func (m *MessageOut_SignResult_) Size() (n int)

type MessageOut_SignResult_Criminals

type MessageOut_SignResult_Criminals struct {
	Criminals *MessageOut_CriminalList `protobuf:"bytes,2,opt,name=criminals,proto3,oneof" json:"criminals,omitempty"`
}

func (*MessageOut_SignResult_Criminals) MarshalTo

func (m *MessageOut_SignResult_Criminals) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_SignResult_Criminals) MarshalToSizedBuffer

func (m *MessageOut_SignResult_Criminals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_SignResult_Criminals) Size

func (m *MessageOut_SignResult_Criminals) Size() (n int)

type MessageOut_SignResult_Signature

type MessageOut_SignResult_Signature struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3,oneof" json:"signature,omitempty"`
}

func (*MessageOut_SignResult_Signature) MarshalTo

func (m *MessageOut_SignResult_Signature) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_SignResult_Signature) MarshalToSizedBuffer

func (m *MessageOut_SignResult_Signature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_SignResult_Signature) Size

func (m *MessageOut_SignResult_Signature) Size() (n int)

type MessageOut_Traffic

type MessageOut_Traffic struct {
	Traffic *TrafficOut `protobuf:"bytes,1,opt,name=traffic,proto3,oneof" json:"traffic,omitempty"`
}

func (*MessageOut_Traffic) MarshalTo

func (m *MessageOut_Traffic) MarshalTo(dAtA []byte) (int, error)

func (*MessageOut_Traffic) MarshalToSizedBuffer

func (m *MessageOut_Traffic) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageOut_Traffic) Size

func (m *MessageOut_Traffic) Size() (n int)

type MultisigClient

type MultisigClient interface {
	KeyPresence(ctx context.Context, in *KeyPresenceRequest, opts ...grpc.CallOption) (*KeyPresenceResponse, error)
	Keygen(ctx context.Context, in *KeygenRequest, opts ...grpc.CallOption) (*KeygenResponse, error)
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
}

MultisigClient is the client API for Multisig service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMultisigClient

func NewMultisigClient(cc grpc.ClientConnInterface) MultisigClient

type MultisigServer

type MultisigServer interface {
	KeyPresence(context.Context, *KeyPresenceRequest) (*KeyPresenceResponse, error)
	Keygen(context.Context, *KeygenRequest) (*KeygenResponse, error)
	Sign(context.Context, *SignRequest) (*SignResponse, error)
	// contains filtered or unexported methods
}

MultisigServer is the server API for Multisig service. All implementations must embed UnimplementedMultisigServer for forward compatibility

type RecoverRequest

type RecoverRequest struct {
	KeygenInit   *KeygenInit   `protobuf:"bytes,1,opt,name=keygen_init,json=keygenInit,proto3" json:"keygen_init,omitempty"`
	KeygenOutput *KeygenOutput `protobuf:"bytes,2,opt,name=keygen_output,json=keygenOutput,proto3" json:"keygen_output,omitempty"`
}

func (*RecoverRequest) Descriptor

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

func (*RecoverRequest) GetKeygenInit

func (m *RecoverRequest) GetKeygenInit() *KeygenInit

func (*RecoverRequest) GetKeygenOutput

func (m *RecoverRequest) GetKeygenOutput() *KeygenOutput

func (*RecoverRequest) Marshal

func (m *RecoverRequest) Marshal() (dAtA []byte, err error)

func (*RecoverRequest) MarshalTo

func (m *RecoverRequest) MarshalTo(dAtA []byte) (int, error)

func (*RecoverRequest) MarshalToSizedBuffer

func (m *RecoverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RecoverRequest) ProtoMessage

func (*RecoverRequest) ProtoMessage()

func (*RecoverRequest) Reset

func (m *RecoverRequest) Reset()

func (*RecoverRequest) Size

func (m *RecoverRequest) Size() (n int)

func (*RecoverRequest) String

func (m *RecoverRequest) String() string

func (*RecoverRequest) Unmarshal

func (m *RecoverRequest) Unmarshal(dAtA []byte) error

func (*RecoverRequest) XXX_DiscardUnknown

func (m *RecoverRequest) XXX_DiscardUnknown()

func (*RecoverRequest) XXX_Marshal

func (m *RecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecoverRequest) XXX_Merge

func (m *RecoverRequest) XXX_Merge(src proto.Message)

func (*RecoverRequest) XXX_Size

func (m *RecoverRequest) XXX_Size() int

func (*RecoverRequest) XXX_Unmarshal

func (m *RecoverRequest) XXX_Unmarshal(b []byte) error

type RecoverResponse

type RecoverResponse struct {
	Response RecoverResponse_Response `protobuf:"varint,1,opt,name=response,proto3,enum=tss.tofnd.v1beta1.RecoverResponse_Response" json:"response,omitempty"`
}

func (*RecoverResponse) Descriptor

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

func (*RecoverResponse) GetResponse

func (m *RecoverResponse) GetResponse() RecoverResponse_Response

func (*RecoverResponse) Marshal

func (m *RecoverResponse) Marshal() (dAtA []byte, err error)

func (*RecoverResponse) MarshalTo

func (m *RecoverResponse) MarshalTo(dAtA []byte) (int, error)

func (*RecoverResponse) MarshalToSizedBuffer

func (m *RecoverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RecoverResponse) ProtoMessage

func (*RecoverResponse) ProtoMessage()

func (*RecoverResponse) Reset

func (m *RecoverResponse) Reset()

func (*RecoverResponse) Size

func (m *RecoverResponse) Size() (n int)

func (*RecoverResponse) String

func (m *RecoverResponse) String() string

func (*RecoverResponse) Unmarshal

func (m *RecoverResponse) Unmarshal(dAtA []byte) error

func (*RecoverResponse) XXX_DiscardUnknown

func (m *RecoverResponse) XXX_DiscardUnknown()

func (*RecoverResponse) XXX_Marshal

func (m *RecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecoverResponse) XXX_Merge

func (m *RecoverResponse) XXX_Merge(src proto.Message)

func (*RecoverResponse) XXX_Size

func (m *RecoverResponse) XXX_Size() int

func (*RecoverResponse) XXX_Unmarshal

func (m *RecoverResponse) XXX_Unmarshal(b []byte) error

type RecoverResponse_Response

type RecoverResponse_Response int32
const (
	RecoverResponse_RESPONSE_UNSPECIFIED RecoverResponse_Response = 0
	RecoverResponse_RESPONSE_SUCCESS     RecoverResponse_Response = 1
	RecoverResponse_RESPONSE_FAIL        RecoverResponse_Response = 2
)

func (RecoverResponse_Response) EnumDescriptor

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

func (RecoverResponse_Response) String

func (x RecoverResponse_Response) String() string

type SignInit

type SignInit struct {
	NewSigUid     string   `protobuf:"bytes,1,opt,name=new_sig_uid,json=newSigUid,proto3" json:"new_sig_uid,omitempty"`
	KeyUid        string   `protobuf:"bytes,2,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"`
	PartyUids     []string `protobuf:"bytes,3,rep,name=party_uids,json=partyUids,proto3" json:"party_uids,omitempty"`
	MessageToSign []byte   `protobuf:"bytes,4,opt,name=message_to_sign,json=messageToSign,proto3" json:"message_to_sign,omitempty"`
}

func (*SignInit) Descriptor

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

func (*SignInit) GetKeyUid

func (m *SignInit) GetKeyUid() string

func (*SignInit) GetMessageToSign

func (m *SignInit) GetMessageToSign() []byte

func (*SignInit) GetNewSigUid

func (m *SignInit) GetNewSigUid() string

func (*SignInit) GetPartyUids

func (m *SignInit) GetPartyUids() []string

func (*SignInit) Marshal

func (m *SignInit) Marshal() (dAtA []byte, err error)

func (*SignInit) MarshalTo

func (m *SignInit) MarshalTo(dAtA []byte) (int, error)

func (*SignInit) MarshalToSizedBuffer

func (m *SignInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignInit) ProtoMessage

func (*SignInit) ProtoMessage()

func (*SignInit) Reset

func (m *SignInit) Reset()

func (*SignInit) Size

func (m *SignInit) Size() (n int)

func (*SignInit) String

func (m *SignInit) String() string

func (*SignInit) Unmarshal

func (m *SignInit) Unmarshal(dAtA []byte) error

func (*SignInit) XXX_DiscardUnknown

func (m *SignInit) XXX_DiscardUnknown()

func (*SignInit) XXX_Marshal

func (m *SignInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignInit) XXX_Merge

func (m *SignInit) XXX_Merge(src proto.Message)

func (*SignInit) XXX_Size

func (m *SignInit) XXX_Size() int

func (*SignInit) XXX_Unmarshal

func (m *SignInit) XXX_Unmarshal(b []byte) error

type SignRequest

type SignRequest struct {
	KeyUid    string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"`
	MsgToSign []byte `protobuf:"bytes,2,opt,name=msg_to_sign,json=msgToSign,proto3" json:"msg_to_sign,omitempty"`
	PartyUid  string `protobuf:"bytes,3,opt,name=party_uid,json=partyUid,proto3" json:"party_uid,omitempty"`
}

func (*SignRequest) Descriptor

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

func (*SignRequest) GetKeyUid

func (m *SignRequest) GetKeyUid() string

func (*SignRequest) GetMsgToSign

func (m *SignRequest) GetMsgToSign() []byte

func (*SignRequest) GetPartyUid

func (m *SignRequest) GetPartyUid() string

func (*SignRequest) Marshal

func (m *SignRequest) Marshal() (dAtA []byte, err error)

func (*SignRequest) MarshalTo

func (m *SignRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest) MarshalToSizedBuffer

func (m *SignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) Size

func (m *SignRequest) Size() (n int)

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) Unmarshal

func (m *SignRequest) Unmarshal(dAtA []byte) error

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignRequest) XXX_Merge

func (m *SignRequest) XXX_Merge(src proto.Message)

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

func (m *SignRequest) XXX_Unmarshal(b []byte) error

type SignResponse

type SignResponse struct {
	// Types that are valid to be assigned to SignResponse:
	//	*SignResponse_Signature
	//	*SignResponse_Error
	SignResponse isSignResponse_SignResponse `protobuf_oneof:"sign_response"`
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GetError

func (m *SignResponse) GetError() string

func (*SignResponse) GetSignResponse

func (m *SignResponse) GetSignResponse() isSignResponse_SignResponse

func (*SignResponse) GetSignature

func (m *SignResponse) GetSignature() []byte

func (*SignResponse) Marshal

func (m *SignResponse) Marshal() (dAtA []byte, err error)

func (*SignResponse) MarshalTo

func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse) MarshalToSizedBuffer

func (m *SignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) Size

func (m *SignResponse) Size() (n int)

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) Unmarshal

func (m *SignResponse) Unmarshal(dAtA []byte) error

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignResponse) XXX_Merge

func (m *SignResponse) XXX_Merge(src proto.Message)

func (*SignResponse) XXX_OneofWrappers

func (*SignResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

func (m *SignResponse) XXX_Unmarshal(b []byte) error

type SignResponse_Error

type SignResponse_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
}

func (*SignResponse_Error) MarshalTo

func (m *SignResponse_Error) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse_Error) MarshalToSizedBuffer

func (m *SignResponse_Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignResponse_Error) Size

func (m *SignResponse_Error) Size() (n int)

type SignResponse_Signature

type SignResponse_Signature struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3,oneof" json:"signature,omitempty"`
}

func (*SignResponse_Signature) MarshalTo

func (m *SignResponse_Signature) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse_Signature) MarshalToSizedBuffer

func (m *SignResponse_Signature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignResponse_Signature) Size

func (m *SignResponse_Signature) Size() (n int)

type TrafficIn

type TrafficIn struct {
	FromPartyUid string `protobuf:"bytes,1,opt,name=from_party_uid,json=fromPartyUid,proto3" json:"from_party_uid,omitempty"`
	Payload      []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	IsBroadcast  bool   `protobuf:"varint,3,opt,name=is_broadcast,json=isBroadcast,proto3" json:"is_broadcast,omitempty"`
}

func (*TrafficIn) Descriptor

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

func (*TrafficIn) GetFromPartyUid

func (m *TrafficIn) GetFromPartyUid() string

func (*TrafficIn) GetIsBroadcast

func (m *TrafficIn) GetIsBroadcast() bool

func (*TrafficIn) GetPayload

func (m *TrafficIn) GetPayload() []byte

func (*TrafficIn) Marshal

func (m *TrafficIn) Marshal() (dAtA []byte, err error)

func (*TrafficIn) MarshalTo

func (m *TrafficIn) MarshalTo(dAtA []byte) (int, error)

func (*TrafficIn) MarshalToSizedBuffer

func (m *TrafficIn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrafficIn) ProtoMessage

func (*TrafficIn) ProtoMessage()

func (*TrafficIn) Reset

func (m *TrafficIn) Reset()

func (*TrafficIn) Size

func (m *TrafficIn) Size() (n int)

func (*TrafficIn) String

func (m *TrafficIn) String() string

func (*TrafficIn) Unmarshal

func (m *TrafficIn) Unmarshal(dAtA []byte) error

func (*TrafficIn) XXX_DiscardUnknown

func (m *TrafficIn) XXX_DiscardUnknown()

func (*TrafficIn) XXX_Marshal

func (m *TrafficIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrafficIn) XXX_Merge

func (m *TrafficIn) XXX_Merge(src proto.Message)

func (*TrafficIn) XXX_Size

func (m *TrafficIn) XXX_Size() int

func (*TrafficIn) XXX_Unmarshal

func (m *TrafficIn) XXX_Unmarshal(b []byte) error

type TrafficOut

type TrafficOut struct {
	ToPartyUid  string `protobuf:"bytes,1,opt,name=to_party_uid,json=toPartyUid,proto3" json:"to_party_uid,omitempty"`
	Payload     []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	IsBroadcast bool   `protobuf:"varint,3,opt,name=is_broadcast,json=isBroadcast,proto3" json:"is_broadcast,omitempty"`
}

func (*TrafficOut) Descriptor

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

func (*TrafficOut) GetIsBroadcast

func (m *TrafficOut) GetIsBroadcast() bool

func (*TrafficOut) GetPayload

func (m *TrafficOut) GetPayload() []byte

func (*TrafficOut) GetToPartyUid

func (m *TrafficOut) GetToPartyUid() string

func (*TrafficOut) Marshal

func (m *TrafficOut) Marshal() (dAtA []byte, err error)

func (*TrafficOut) MarshalTo

func (m *TrafficOut) MarshalTo(dAtA []byte) (int, error)

func (*TrafficOut) MarshalToSizedBuffer

func (m *TrafficOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrafficOut) ProtoMessage

func (*TrafficOut) ProtoMessage()

func (*TrafficOut) Reset

func (m *TrafficOut) Reset()

func (*TrafficOut) Size

func (m *TrafficOut) Size() (n int)

func (*TrafficOut) String

func (m *TrafficOut) String() string

func (*TrafficOut) Unmarshal

func (m *TrafficOut) Unmarshal(dAtA []byte) error

func (*TrafficOut) XXX_DiscardUnknown

func (m *TrafficOut) XXX_DiscardUnknown()

func (*TrafficOut) XXX_Marshal

func (m *TrafficOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrafficOut) XXX_Merge

func (m *TrafficOut) XXX_Merge(src proto.Message)

func (*TrafficOut) XXX_Size

func (m *TrafficOut) XXX_Size() int

func (*TrafficOut) XXX_Unmarshal

func (m *TrafficOut) XXX_Unmarshal(b []byte) error

type UnimplementedGG20Server

type UnimplementedGG20Server struct {
}

UnimplementedGG20Server must be embedded to have forward compatible implementations.

func (UnimplementedGG20Server) KeyPresence

func (UnimplementedGG20Server) Keygen

func (UnimplementedGG20Server) Recover

func (UnimplementedGG20Server) Sign

type UnimplementedMultisigServer

type UnimplementedMultisigServer struct {
}

UnimplementedMultisigServer must be embedded to have forward compatible implementations.

func (UnimplementedMultisigServer) KeyPresence

func (UnimplementedMultisigServer) Keygen

func (UnimplementedMultisigServer) Sign

type UnsafeGG20Server

type UnsafeGG20Server interface {
	// contains filtered or unexported methods
}

UnsafeGG20Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GG20Server will result in compilation errors.

type UnsafeMultisigServer

type UnsafeMultisigServer interface {
	// contains filtered or unexported methods
}

UnsafeMultisigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MultisigServer will result in compilation errors.

Jump to

Keyboard shortcuts

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