Versions in this module Expand all Collapse all v1 v1.0.18 Jun 26, 2024 v1.0.17 Jun 26, 2024 v1.0.16 Jun 20, 2024 v1.0.15 Jun 20, 2024 v1.0.14 May 14, 2024 v1.0.13 May 14, 2024 v1.0.12 Apr 19, 2024 v1.0.12-x.0 Mar 5, 2024 v1.0.11 Dec 26, 2023 v1.0.10 Nov 24, 2023 v1.0.9 Nov 24, 2023 v1.0.8 Oct 27, 2023 v1.0.7 Oct 26, 2023 v1.0.6 Oct 5, 2023 Changes in this version + var ControllerType_name = map[int32]string + var ControllerType_value = map[string]int32 + var File_controllers_proto protoreflect.FileDescriptor + var File_request_proto protoreflect.FileDescriptor + var File_service_proto protoreflect.FileDescriptor + var File_session_proto protoreflect.FileDescriptor + var RequestType_name = map[int32]string + var RequestType_value = map[string]int32 + var Service_ServiceDesc = grpc.ServiceDesc + var SessionStatus_name = map[int32]string + var SessionStatus_value = map[string]int32 + var SessionType_name = map[int32]string + var SessionType_value = map[string]int32 + func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error + func RegisterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error + func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer) + type ControllerType int32 + const ControllerType_CONTROLLER_ACCEPTANCE + const ControllerType_CONTROLLER_FINISH + const ControllerType_CONTROLLER_KEYGEN + const ControllerType_CONTROLLER_PROPOSAL + const ControllerType_CONTROLLER_RESHARE + const ControllerType_CONTROLLER_SIGN + func (ControllerType) Descriptor() protoreflect.EnumDescriptor + func (ControllerType) EnumDescriptor() ([]byte, []int) + func (ControllerType) Type() protoreflect.EnumType + func (x ControllerType) Enum() *ControllerType + func (x ControllerType) Number() protoreflect.EnumNumber + func (x ControllerType) String() string + type DefaultSessionAcceptanceData struct + Root string + func (*DefaultSessionAcceptanceData) Descriptor() ([]byte, []int) + func (*DefaultSessionAcceptanceData) ProtoMessage() + func (x *DefaultSessionAcceptanceData) GetRoot() string + func (x *DefaultSessionAcceptanceData) ProtoReflect() protoreflect.Message + func (x *DefaultSessionAcceptanceData) Reset() + func (x *DefaultSessionAcceptanceData) String() string + type DefaultSessionData struct + Accepted []string + Indexes []string + Parties []string + Proposer string + Root string + Signature string + func (*DefaultSessionData) Descriptor() ([]byte, []int) + func (*DefaultSessionData) ProtoMessage() + func (x *DefaultSessionData) GetAccepted() []string + func (x *DefaultSessionData) GetIndexes() []string + func (x *DefaultSessionData) GetParties() []string + func (x *DefaultSessionData) GetProposer() string + func (x *DefaultSessionData) GetRoot() string + func (x *DefaultSessionData) GetSignature() string + func (x *DefaultSessionData) ProtoReflect() protoreflect.Message + func (x *DefaultSessionData) Reset() + func (x *DefaultSessionData) String() string + type DefaultSessionProposalData struct + Indexes []string + Root string + func (*DefaultSessionProposalData) Descriptor() ([]byte, []int) + func (*DefaultSessionProposalData) ProtoMessage() + func (x *DefaultSessionProposalData) GetIndexes() []string + func (x *DefaultSessionProposalData) GetRoot() string + func (x *DefaultSessionProposalData) ProtoReflect() protoreflect.Message + func (x *DefaultSessionProposalData) Reset() + func (x *DefaultSessionProposalData) String() string + type KeygenSessionData struct + Key string + Parties []string + func (*KeygenSessionData) Descriptor() ([]byte, []int) + func (*KeygenSessionData) ProtoMessage() + func (x *KeygenSessionData) GetKey() string + func (x *KeygenSessionData) GetParties() []string + func (x *KeygenSessionData) ProtoReflect() protoreflect.Message + func (x *KeygenSessionData) Reset() + func (x *KeygenSessionData) String() string + type MsgAddOperationRequest struct + Index string + func (*MsgAddOperationRequest) Descriptor() ([]byte, []int) + func (*MsgAddOperationRequest) ProtoMessage() + func (x *MsgAddOperationRequest) GetIndex() string + func (x *MsgAddOperationRequest) ProtoReflect() protoreflect.Message + func (x *MsgAddOperationRequest) Reset() + func (x *MsgAddOperationRequest) String() string + type MsgAddOperationResponse struct + func (*MsgAddOperationResponse) Descriptor() ([]byte, []int) + func (*MsgAddOperationResponse) ProtoMessage() + func (x *MsgAddOperationResponse) ProtoReflect() protoreflect.Message + func (x *MsgAddOperationResponse) Reset() + func (x *MsgAddOperationResponse) String() string + type MsgInfoRequest struct + func (*MsgInfoRequest) Descriptor() ([]byte, []int) + func (*MsgInfoRequest) ProtoMessage() + func (x *MsgInfoRequest) ProtoReflect() protoreflect.Message + func (x *MsgInfoRequest) Reset() + func (x *MsgInfoRequest) String() string + type MsgInfoResponse struct + LocalAccount string + LocalPublicKey string + Sessions map[string]*Session + func (*MsgInfoResponse) Descriptor() ([]byte, []int) + func (*MsgInfoResponse) ProtoMessage() + func (x *MsgInfoResponse) GetLocalAccount() string + func (x *MsgInfoResponse) GetLocalPublicKey() string + func (x *MsgInfoResponse) GetSessions() map[string]*Session + func (x *MsgInfoResponse) ProtoReflect() protoreflect.Message + func (x *MsgInfoResponse) Reset() + func (x *MsgInfoResponse) String() string + type MsgSessionRequest struct + Id uint64 + SessionType SessionType + func (*MsgSessionRequest) Descriptor() ([]byte, []int) + func (*MsgSessionRequest) ProtoMessage() + func (x *MsgSessionRequest) GetId() uint64 + func (x *MsgSessionRequest) GetSessionType() SessionType + func (x *MsgSessionRequest) ProtoReflect() protoreflect.Message + func (x *MsgSessionRequest) Reset() + func (x *MsgSessionRequest) String() string + type MsgSessionResponse struct + Data *Session + func (*MsgSessionResponse) Descriptor() ([]byte, []int) + func (*MsgSessionResponse) ProtoMessage() + func (x *MsgSessionResponse) GetData() *Session + func (x *MsgSessionResponse) ProtoReflect() protoreflect.Message + func (x *MsgSessionResponse) Reset() + func (x *MsgSessionResponse) String() string + type MsgSubmitRequest struct + Data *RequestData + Signature string + func (*MsgSubmitRequest) Descriptor() ([]byte, []int) + func (*MsgSubmitRequest) ProtoMessage() + func (x *MsgSubmitRequest) GetData() *RequestData + func (x *MsgSubmitRequest) GetSignature() string + func (x *MsgSubmitRequest) ProtoReflect() protoreflect.Message + func (x *MsgSubmitRequest) Reset() + func (x *MsgSubmitRequest) String() string + type MsgSubmitResponse struct + func (*MsgSubmitResponse) Descriptor() ([]byte, []int) + func (*MsgSubmitResponse) ProtoMessage() + func (x *MsgSubmitResponse) ProtoReflect() protoreflect.Message + func (x *MsgSubmitResponse) Reset() + func (x *MsgSubmitResponse) String() string + type RequestData struct + Details *anypb.Any + Id uint64 + IsBroadcast bool + SessionType SessionType + Type RequestType + func (*RequestData) Descriptor() ([]byte, []int) + func (*RequestData) ProtoMessage() + func (x *RequestData) GetDetails() *anypb.Any + func (x *RequestData) GetId() uint64 + func (x *RequestData) GetIsBroadcast() bool + func (x *RequestData) GetSessionType() SessionType + func (x *RequestData) GetType() RequestType + func (x *RequestData) ProtoReflect() protoreflect.Message + func (x *RequestData) Reset() + func (x *RequestData) String() string + type RequestType int32 + const RequestType_Acceptance + const RequestType_Keygen + const RequestType_Proposal + const RequestType_Reshare + const RequestType_Sign + func (RequestType) Descriptor() protoreflect.EnumDescriptor + func (RequestType) EnumDescriptor() ([]byte, []int) + func (RequestType) Type() protoreflect.EnumType + func (x RequestType) Enum() *RequestType + func (x RequestType) Number() protoreflect.EnumNumber + func (x RequestType) String() string + type ReshareSessionAcceptanceData struct + New *Set + func (*ReshareSessionAcceptanceData) Descriptor() ([]byte, []int) + func (*ReshareSessionAcceptanceData) ProtoMessage() + func (x *ReshareSessionAcceptanceData) GetNew() *Set + func (x *ReshareSessionAcceptanceData) ProtoReflect() protoreflect.Message + func (x *ReshareSessionAcceptanceData) Reset() + func (x *ReshareSessionAcceptanceData) String() string + type ReshareSessionData struct + KeySignature string + NewKey string + OldKey string + Parties []string + Proposer string + Root string + Signature string + func (*ReshareSessionData) Descriptor() ([]byte, []int) + func (*ReshareSessionData) ProtoMessage() + func (x *ReshareSessionData) GetKeySignature() string + func (x *ReshareSessionData) GetNewKey() string + func (x *ReshareSessionData) GetOldKey() string + func (x *ReshareSessionData) GetParties() []string + func (x *ReshareSessionData) GetProposer() string + func (x *ReshareSessionData) GetRoot() string + func (x *ReshareSessionData) GetSignature() string + func (x *ReshareSessionData) ProtoReflect() protoreflect.Message + func (x *ReshareSessionData) Reset() + func (x *ReshareSessionData) String() string + type ReshareSessionProposalData struct + Set *Set + func (*ReshareSessionProposalData) Descriptor() ([]byte, []int) + func (*ReshareSessionProposalData) ProtoMessage() + func (x *ReshareSessionProposalData) GetSet() *Set + func (x *ReshareSessionProposalData) ProtoReflect() protoreflect.Message + func (x *ReshareSessionProposalData) Reset() + func (x *ReshareSessionProposalData) String() string + type ServiceClient interface + AddOperation func(ctx context.Context, in *MsgAddOperationRequest, opts ...grpc.CallOption) (*MsgAddOperationResponse, error) + Info func(ctx context.Context, in *MsgInfoRequest, opts ...grpc.CallOption) (*MsgInfoResponse, error) + Session func(ctx context.Context, in *MsgSessionRequest, opts ...grpc.CallOption) (*MsgSessionResponse, error) + Submit func(ctx context.Context, in *MsgSubmitRequest, opts ...grpc.CallOption) (*MsgSubmitResponse, error) + func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient + type ServiceServer interface + AddOperation func(context.Context, *MsgAddOperationRequest) (*MsgAddOperationResponse, error) + Info func(context.Context, *MsgInfoRequest) (*MsgInfoResponse, error) + Session func(context.Context, *MsgSessionRequest) (*MsgSessionResponse, error) + Submit func(context.Context, *MsgSubmitRequest) (*MsgSubmitResponse, error) + type Session struct + Data *anypb.Any + EndBlock uint64 + Id uint64 + StartBlock uint64 + Status SessionStatus + Type SessionType + func (*Session) Descriptor() ([]byte, []int) + func (*Session) ProtoMessage() + func (x *Session) GetData() *anypb.Any + func (x *Session) GetEndBlock() uint64 + func (x *Session) GetId() uint64 + func (x *Session) GetStartBlock() uint64 + func (x *Session) GetStatus() SessionStatus + func (x *Session) GetType() SessionType + func (x *Session) ProtoReflect() protoreflect.Message + func (x *Session) Reset() + func (x *Session) String() string + type SessionStatus int32 + const SessionStatus_SessionFailed + const SessionStatus_SessionProcessing + const SessionStatus_SessionSucceeded + func (SessionStatus) Descriptor() protoreflect.EnumDescriptor + func (SessionStatus) EnumDescriptor() ([]byte, []int) + func (SessionStatus) Type() protoreflect.EnumType + func (x SessionStatus) Enum() *SessionStatus + func (x SessionStatus) Number() protoreflect.EnumNumber + func (x SessionStatus) String() string + type SessionType int32 + const SessionType_DefaultSession + const SessionType_KeygenSession + const SessionType_ReshareSession + func (SessionType) Descriptor() protoreflect.EnumDescriptor + func (SessionType) EnumDescriptor() ([]byte, []int) + func (SessionType) Type() protoreflect.EnumType + func (x SessionType) Enum() *SessionType + func (x SessionType) Number() protoreflect.EnumNumber + func (x SessionType) String() string + type Set struct + N uint32 + Parties []string + T uint32 + func (*Set) Descriptor() ([]byte, []int) + func (*Set) ProtoMessage() + func (x *Set) GetN() uint32 + func (x *Set) GetParties() []string + func (x *Set) GetT() uint32 + func (x *Set) ProtoReflect() protoreflect.Message + func (x *Set) Reset() + func (x *Set) String() string + type SignRequest struct + Data string + Details *anypb.Any + func (*SignRequest) Descriptor() ([]byte, []int) + func (*SignRequest) ProtoMessage() + func (x *SignRequest) GetData() string + func (x *SignRequest) GetDetails() *anypb.Any + func (x *SignRequest) ProtoReflect() protoreflect.Message + func (x *SignRequest) Reset() + func (x *SignRequest) String() string + type UnimplementedServiceServer struct + func (UnimplementedServiceServer) AddOperation(context.Context, *MsgAddOperationRequest) (*MsgAddOperationResponse, error) + func (UnimplementedServiceServer) Info(context.Context, *MsgInfoRequest) (*MsgInfoResponse, error) + func (UnimplementedServiceServer) Session(context.Context, *MsgSessionRequest) (*MsgSessionResponse, error) + func (UnimplementedServiceServer) Submit(context.Context, *MsgSubmitRequest) (*MsgSubmitResponse, error) + type UnsafeServiceServer interface