// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.9 // protoc v3.20.3 // source: service.proto package nockchain import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type KeygenRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *KeygenRequest) Reset() { *x = KeygenRequest{} mi := &file_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *KeygenRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*KeygenRequest) ProtoMessage() {} func (x *KeygenRequest) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use KeygenRequest.ProtoReflect.Descriptor instead. func (*KeygenRequest) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{0} } type KeygenResponse struct { state protoimpl.MessageState `protogen:"open.v1"` PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Seed string `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` ChainCode string `protobuf:"bytes,4,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"` ImportPrivateKey string `protobuf:"bytes,5,opt,name=import_private_key,json=importPrivateKey,proto3" json:"import_private_key,omitempty"` ImportPublicKey string `protobuf:"bytes,6,opt,name=import_public_key,json=importPublicKey,proto3" json:"import_public_key,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *KeygenResponse) Reset() { *x = KeygenResponse{} mi := &file_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *KeygenResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*KeygenResponse) ProtoMessage() {} func (x *KeygenResponse) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use KeygenResponse.ProtoReflect.Descriptor instead. func (*KeygenResponse) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{1} } func (x *KeygenResponse) GetPublicKey() string { if x != nil { return x.PublicKey } return "" } func (x *KeygenResponse) GetPrivateKey() string { if x != nil { return x.PrivateKey } return "" } func (x *KeygenResponse) GetSeed() string { if x != nil { return x.Seed } return "" } func (x *KeygenResponse) GetChainCode() string { if x != nil { return x.ChainCode } return "" } func (x *KeygenResponse) GetImportPrivateKey() string { if x != nil { return x.ImportPrivateKey } return "" } func (x *KeygenResponse) GetImportPublicKey() string { if x != nil { return x.ImportPublicKey } return "" } type ImportKeysRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ImportType ImportType `protobuf:"varint,2,opt,name=import_type,json=importType,proto3,enum=nockchain.public.v1.ImportType" json:"import_type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ImportKeysRequest) Reset() { *x = ImportKeysRequest{} mi := &file_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ImportKeysRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ImportKeysRequest) ProtoMessage() {} func (x *ImportKeysRequest) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ImportKeysRequest.ProtoReflect.Descriptor instead. func (*ImportKeysRequest) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{2} } func (x *ImportKeysRequest) GetKey() string { if x != nil { return x.Key } return "" } func (x *ImportKeysRequest) GetImportType() ImportType { if x != nil { return x.ImportType } return ImportType_UNDEFINED } type ImportKeysResponse struct { state protoimpl.MessageState `protogen:"open.v1"` PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Seed string `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` ChainCode string `protobuf:"bytes,4,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"` ImportPrivateKey string `protobuf:"bytes,5,opt,name=import_private_key,json=importPrivateKey,proto3" json:"import_private_key,omitempty"` ImportPublicKey string `protobuf:"bytes,6,opt,name=import_public_key,json=importPublicKey,proto3" json:"import_public_key,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ImportKeysResponse) Reset() { *x = ImportKeysResponse{} mi := &file_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ImportKeysResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ImportKeysResponse) ProtoMessage() {} func (x *ImportKeysResponse) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ImportKeysResponse.ProtoReflect.Descriptor instead. func (*ImportKeysResponse) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{3} } func (x *ImportKeysResponse) GetPublicKey() string { if x != nil { return x.PublicKey } return "" } func (x *ImportKeysResponse) GetPrivateKey() string { if x != nil { return x.PrivateKey } return "" } func (x *ImportKeysResponse) GetSeed() string { if x != nil { return x.Seed } return "" } func (x *ImportKeysResponse) GetChainCode() string { if x != nil { return x.ChainCode } return "" } func (x *ImportKeysResponse) GetImportPrivateKey() string { if x != nil { return x.ImportPrivateKey } return "" } func (x *ImportKeysResponse) GetImportPublicKey() string { if x != nil { return x.ImportPublicKey } return "" } type DeriveChildRequest struct { state protoimpl.MessageState `protogen:"open.v1"` ImportedKey string `protobuf:"bytes,1,opt,name=imported_key,json=importedKey,proto3" json:"imported_key,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Hardened bool `protobuf:"varint,3,opt,name=hardened,proto3" json:"hardened,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeriveChildRequest) Reset() { *x = DeriveChildRequest{} mi := &file_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeriveChildRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeriveChildRequest) ProtoMessage() {} func (x *DeriveChildRequest) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeriveChildRequest.ProtoReflect.Descriptor instead. func (*DeriveChildRequest) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{4} } func (x *DeriveChildRequest) GetImportedKey() string { if x != nil { return x.ImportedKey } return "" } func (x *DeriveChildRequest) GetIndex() uint64 { if x != nil { return x.Index } return 0 } func (x *DeriveChildRequest) GetHardened() bool { if x != nil { return x.Hardened } return false } type DeriveChildResponse struct { state protoimpl.MessageState `protogen:"open.v1"` PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` ChainCode string `protobuf:"bytes,3,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeriveChildResponse) Reset() { *x = DeriveChildResponse{} mi := &file_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeriveChildResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeriveChildResponse) ProtoMessage() {} func (x *DeriveChildResponse) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeriveChildResponse.ProtoReflect.Descriptor instead. func (*DeriveChildResponse) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{5} } func (x *DeriveChildResponse) GetPublicKey() string { if x != nil { return x.PublicKey } return "" } func (x *DeriveChildResponse) GetPrivateKey() string { if x != nil { return x.PrivateKey } return "" } func (x *DeriveChildResponse) GetChainCode() string { if x != nil { return x.ChainCode } return "" } type CreateTxRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Names string `protobuf:"bytes,1,opt,name=names,proto3" json:"names,omitempty"` Recipients string `protobuf:"bytes,2,opt,name=recipients,proto3" json:"recipients,omitempty"` Gifts string `protobuf:"bytes,3,opt,name=gifts,proto3" json:"gifts,omitempty"` Fee uint64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` IsMasterKey bool `protobuf:"varint,5,opt,name=is_master_key,json=isMasterKey,proto3" json:"is_master_key,omitempty"` Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` ChainCode string `protobuf:"bytes,7,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"` Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` Hardened bool `protobuf:"varint,9,opt,name=hardened,proto3" json:"hardened,omitempty"` TimelockIntent *TimelockIntent `protobuf:"bytes,10,opt,name=timelock_intent,json=timelockIntent,proto3" json:"timelock_intent,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateTxRequest) Reset() { *x = CreateTxRequest{} mi := &file_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateTxRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateTxRequest) ProtoMessage() {} func (x *CreateTxRequest) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateTxRequest.ProtoReflect.Descriptor instead. func (*CreateTxRequest) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{6} } func (x *CreateTxRequest) GetNames() string { if x != nil { return x.Names } return "" } func (x *CreateTxRequest) GetRecipients() string { if x != nil { return x.Recipients } return "" } func (x *CreateTxRequest) GetGifts() string { if x != nil { return x.Gifts } return "" } func (x *CreateTxRequest) GetFee() uint64 { if x != nil { return x.Fee } return 0 } func (x *CreateTxRequest) GetIsMasterKey() bool { if x != nil { return x.IsMasterKey } return false } func (x *CreateTxRequest) GetKey() string { if x != nil { return x.Key } return "" } func (x *CreateTxRequest) GetChainCode() string { if x != nil { return x.ChainCode } return "" } func (x *CreateTxRequest) GetIndex() uint64 { if x != nil { return x.Index } return 0 } func (x *CreateTxRequest) GetHardened() bool { if x != nil { return x.Hardened } return false } func (x *CreateTxRequest) GetTimelockIntent() *TimelockIntent { if x != nil { return x.TimelockIntent } return nil } type CreateTxResponse struct { state protoimpl.MessageState `protogen:"open.v1"` RawTx *RawTx `protobuf:"bytes,1,opt,name=rawTx,proto3" json:"rawTx,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateTxResponse) Reset() { *x = CreateTxResponse{} mi := &file_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateTxResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateTxResponse) ProtoMessage() {} func (x *CreateTxResponse) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateTxResponse.ProtoReflect.Descriptor instead. func (*CreateTxResponse) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{7} } func (x *CreateTxResponse) GetRawTx() *RawTx { if x != nil { return x.RawTx } return nil } type SignTxRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UnsignedTx string `protobuf:"bytes,1,opt,name=unsigned_tx,json=unsignedTx,proto3" json:"unsigned_tx,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Hardened bool `protobuf:"varint,3,opt,name=hardened,proto3" json:"hardened,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SignTxRequest) Reset() { *x = SignTxRequest{} mi := &file_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SignTxRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SignTxRequest) ProtoMessage() {} func (x *SignTxRequest) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SignTxRequest.ProtoReflect.Descriptor instead. func (*SignTxRequest) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{8} } func (x *SignTxRequest) GetUnsignedTx() string { if x != nil { return x.UnsignedTx } return "" } func (x *SignTxRequest) GetIndex() uint64 { if x != nil { return x.Index } return 0 } func (x *SignTxRequest) GetHardened() bool { if x != nil { return x.Hardened } return false } type SignTxResponse struct { state protoimpl.MessageState `protogen:"open.v1"` SignedTx string `protobuf:"bytes,1,opt,name=signed_tx,json=signedTx,proto3" json:"signed_tx,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SignTxResponse) Reset() { *x = SignTxResponse{} mi := &file_service_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SignTxResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SignTxResponse) ProtoMessage() {} func (x *SignTxResponse) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SignTxResponse.ProtoReflect.Descriptor instead. func (*SignTxResponse) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{9} } func (x *SignTxResponse) GetSignedTx() string { if x != nil { return x.SignedTx } return "" } func (x *SignTxResponse) GetError() string { if x != nil { return x.Error } return "" } type ScanRequest struct { state protoimpl.MessageState `protogen:"open.v1"` MasterPubkey string `protobuf:"bytes,1,opt,name=master_pubkey,json=masterPubkey,proto3" json:"master_pubkey,omitempty"` ChainCode string `protobuf:"bytes,2,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"` SearchDepth uint64 `protobuf:"varint,3,opt,name=search_depth,json=searchDepth,proto3" json:"search_depth,omitempty"` IncludeTimelocks bool `protobuf:"varint,4,opt,name=include_timelocks,json=includeTimelocks,proto3" json:"include_timelocks,omitempty"` IncludeMultisig bool `protobuf:"varint,5,opt,name=include_multisig,json=includeMultisig,proto3" json:"include_multisig,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScanRequest) Reset() { *x = ScanRequest{} mi := &file_service_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScanRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScanRequest) ProtoMessage() {} func (x *ScanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead. func (*ScanRequest) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{10} } func (x *ScanRequest) GetMasterPubkey() string { if x != nil { return x.MasterPubkey } return "" } func (x *ScanRequest) GetChainCode() string { if x != nil { return x.ChainCode } return "" } func (x *ScanRequest) GetSearchDepth() uint64 { if x != nil { return x.SearchDepth } return 0 } func (x *ScanRequest) GetIncludeTimelocks() bool { if x != nil { return x.IncludeTimelocks } return false } func (x *ScanRequest) GetIncludeMultisig() bool { if x != nil { return x.IncludeMultisig } return false } type ScanResponse struct { state protoimpl.MessageState `protogen:"open.v1"` ScanData []*ScanData `protobuf:"bytes,1,rep,name=scan_data,json=scanData,proto3" json:"scan_data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScanResponse) Reset() { *x = ScanResponse{} mi := &file_service_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScanResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScanResponse) ProtoMessage() {} func (x *ScanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ScanResponse.ProtoReflect.Descriptor instead. func (*ScanResponse) Descriptor() ([]byte, []int) { return file_service_proto_rawDescGZIP(), []int{11} } func (x *ScanResponse) GetScanData() []*ScanData { if x != nil { return x.ScanData } return nil } var File_service_proto protoreflect.FileDescriptor const file_service_proto_rawDesc = "" + "\n" + "\rservice.proto\x12\x13nockchain.public.v1\x1a\vtypes.proto\"\x0f\n" + "\rKeygenRequest\"\xdd\x01\n" + "\x0eKeygenResponse\x12\x1d\n" + "\n" + "public_key\x18\x01 \x01(\tR\tpublicKey\x12\x1f\n" + "\vprivate_key\x18\x02 \x01(\tR\n" + "privateKey\x12\x12\n" + "\x04seed\x18\x03 \x01(\tR\x04seed\x12\x1d\n" + "\n" + "chain_code\x18\x04 \x01(\tR\tchainCode\x12,\n" + "\x12import_private_key\x18\x05 \x01(\tR\x10importPrivateKey\x12*\n" + "\x11import_public_key\x18\x06 \x01(\tR\x0fimportPublicKey\"g\n" + "\x11ImportKeysRequest\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12@\n" + "\vimport_type\x18\x02 \x01(\x0e2\x1f.nockchain.public.v1.ImportTypeR\n" + "importType\"\xe1\x01\n" + "\x12ImportKeysResponse\x12\x1d\n" + "\n" + "public_key\x18\x01 \x01(\tR\tpublicKey\x12\x1f\n" + "\vprivate_key\x18\x02 \x01(\tR\n" + "privateKey\x12\x12\n" + "\x04seed\x18\x03 \x01(\tR\x04seed\x12\x1d\n" + "\n" + "chain_code\x18\x04 \x01(\tR\tchainCode\x12,\n" + "\x12import_private_key\x18\x05 \x01(\tR\x10importPrivateKey\x12*\n" + "\x11import_public_key\x18\x06 \x01(\tR\x0fimportPublicKey\"i\n" + "\x12DeriveChildRequest\x12!\n" + "\fimported_key\x18\x01 \x01(\tR\vimportedKey\x12\x14\n" + "\x05index\x18\x02 \x01(\x04R\x05index\x12\x1a\n" + "\bhardened\x18\x03 \x01(\bR\bhardened\"t\n" + "\x13DeriveChildResponse\x12\x1d\n" + "\n" + "public_key\x18\x01 \x01(\tR\tpublicKey\x12\x1f\n" + "\vprivate_key\x18\x02 \x01(\tR\n" + "privateKey\x12\x1d\n" + "\n" + "chain_code\x18\x03 \x01(\tR\tchainCode\"\xc4\x02\n" + "\x0fCreateTxRequest\x12\x14\n" + "\x05names\x18\x01 \x01(\tR\x05names\x12\x1e\n" + "\n" + "recipients\x18\x02 \x01(\tR\n" + "recipients\x12\x14\n" + "\x05gifts\x18\x03 \x01(\tR\x05gifts\x12\x10\n" + "\x03fee\x18\x04 \x01(\x04R\x03fee\x12\"\n" + "\ris_master_key\x18\x05 \x01(\bR\visMasterKey\x12\x10\n" + "\x03key\x18\x06 \x01(\tR\x03key\x12\x1d\n" + "\n" + "chain_code\x18\a \x01(\tR\tchainCode\x12\x14\n" + "\x05index\x18\b \x01(\x04R\x05index\x12\x1a\n" + "\bhardened\x18\t \x01(\bR\bhardened\x12L\n" + "\x0ftimelock_intent\x18\n" + " \x01(\v2#.nockchain.public.v1.TimelockIntentR\x0etimelockIntent\"D\n" + "\x10CreateTxResponse\x120\n" + "\x05rawTx\x18\x01 \x01(\v2\x1a.nockchain.public.v1.RawTxR\x05rawTx\"b\n" + "\rSignTxRequest\x12\x1f\n" + "\vunsigned_tx\x18\x01 \x01(\tR\n" + "unsignedTx\x12\x14\n" + "\x05index\x18\x02 \x01(\x04R\x05index\x12\x1a\n" + "\bhardened\x18\x03 \x01(\bR\bhardened\"C\n" + "\x0eSignTxResponse\x12\x1b\n" + "\tsigned_tx\x18\x01 \x01(\tR\bsignedTx\x12\x14\n" + "\x05error\x18\x02 \x01(\tR\x05error\"\xcc\x01\n" + "\vScanRequest\x12#\n" + "\rmaster_pubkey\x18\x01 \x01(\tR\fmasterPubkey\x12\x1d\n" + "\n" + "chain_code\x18\x02 \x01(\tR\tchainCode\x12!\n" + "\fsearch_depth\x18\x03 \x01(\x04R\vsearchDepth\x12+\n" + "\x11include_timelocks\x18\x04 \x01(\bR\x10includeTimelocks\x12)\n" + "\x10include_multisig\x18\x05 \x01(\bR\x0fincludeMultisig\"J\n" + "\fScanResponse\x12:\n" + "\tscan_data\x18\x01 \x03(\v2\x1d.nockchain.public.v1.ScanDataR\bscanData2\x9c\x04\n" + "\rWalletService\x12Q\n" + "\x06Keygen\x12\".nockchain.public.v1.KeygenRequest\x1a#.nockchain.public.v1.KeygenResponse\x12]\n" + "\n" + "ImportKeys\x12&.nockchain.public.v1.ImportKeysRequest\x1a'.nockchain.public.v1.ImportKeysResponse\x12`\n" + "\vDeriveChild\x12'.nockchain.public.v1.DeriveChildRequest\x1a(.nockchain.public.v1.DeriveChildResponse\x12W\n" + "\bCreateTx\x12$.nockchain.public.v1.CreateTxRequest\x1a%.nockchain.public.v1.CreateTxResponse\x12Q\n" + "\x06SignTx\x12\".nockchain.public.v1.SignTxRequest\x1a#.nockchain.public.v1.SignTxResponse\x12K\n" + "\x04Scan\x12 .nockchain.public.v1.ScanRequest\x1a!.nockchain.public.v1.ScanResponseB\x0eZ\f./;nockchainb\x06proto3" var ( file_service_proto_rawDescOnce sync.Once file_service_proto_rawDescData []byte ) func file_service_proto_rawDescGZIP() []byte { file_service_proto_rawDescOnce.Do(func() { file_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_proto_rawDesc), len(file_service_proto_rawDesc))) }) return file_service_proto_rawDescData } var file_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_service_proto_goTypes = []any{ (*KeygenRequest)(nil), // 0: nockchain.public.v1.KeygenRequest (*KeygenResponse)(nil), // 1: nockchain.public.v1.KeygenResponse (*ImportKeysRequest)(nil), // 2: nockchain.public.v1.ImportKeysRequest (*ImportKeysResponse)(nil), // 3: nockchain.public.v1.ImportKeysResponse (*DeriveChildRequest)(nil), // 4: nockchain.public.v1.DeriveChildRequest (*DeriveChildResponse)(nil), // 5: nockchain.public.v1.DeriveChildResponse (*CreateTxRequest)(nil), // 6: nockchain.public.v1.CreateTxRequest (*CreateTxResponse)(nil), // 7: nockchain.public.v1.CreateTxResponse (*SignTxRequest)(nil), // 8: nockchain.public.v1.SignTxRequest (*SignTxResponse)(nil), // 9: nockchain.public.v1.SignTxResponse (*ScanRequest)(nil), // 10: nockchain.public.v1.ScanRequest (*ScanResponse)(nil), // 11: nockchain.public.v1.ScanResponse (ImportType)(0), // 12: nockchain.public.v1.ImportType (*TimelockIntent)(nil), // 13: nockchain.public.v1.TimelockIntent (*RawTx)(nil), // 14: nockchain.public.v1.RawTx (*ScanData)(nil), // 15: nockchain.public.v1.ScanData } var file_service_proto_depIdxs = []int32{ 12, // 0: nockchain.public.v1.ImportKeysRequest.import_type:type_name -> nockchain.public.v1.ImportType 13, // 1: nockchain.public.v1.CreateTxRequest.timelock_intent:type_name -> nockchain.public.v1.TimelockIntent 14, // 2: nockchain.public.v1.CreateTxResponse.rawTx:type_name -> nockchain.public.v1.RawTx 15, // 3: nockchain.public.v1.ScanResponse.scan_data:type_name -> nockchain.public.v1.ScanData 0, // 4: nockchain.public.v1.WalletService.Keygen:input_type -> nockchain.public.v1.KeygenRequest 2, // 5: nockchain.public.v1.WalletService.ImportKeys:input_type -> nockchain.public.v1.ImportKeysRequest 4, // 6: nockchain.public.v1.WalletService.DeriveChild:input_type -> nockchain.public.v1.DeriveChildRequest 6, // 7: nockchain.public.v1.WalletService.CreateTx:input_type -> nockchain.public.v1.CreateTxRequest 8, // 8: nockchain.public.v1.WalletService.SignTx:input_type -> nockchain.public.v1.SignTxRequest 10, // 9: nockchain.public.v1.WalletService.Scan:input_type -> nockchain.public.v1.ScanRequest 1, // 10: nockchain.public.v1.WalletService.Keygen:output_type -> nockchain.public.v1.KeygenResponse 3, // 11: nockchain.public.v1.WalletService.ImportKeys:output_type -> nockchain.public.v1.ImportKeysResponse 5, // 12: nockchain.public.v1.WalletService.DeriveChild:output_type -> nockchain.public.v1.DeriveChildResponse 7, // 13: nockchain.public.v1.WalletService.CreateTx:output_type -> nockchain.public.v1.CreateTxResponse 9, // 14: nockchain.public.v1.WalletService.SignTx:output_type -> nockchain.public.v1.SignTxResponse 11, // 15: nockchain.public.v1.WalletService.Scan:output_type -> nockchain.public.v1.ScanResponse 10, // [10:16] is the sub-list for method output_type 4, // [4:10] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension extendee 0, // [0:4] is the sub-list for field type_name } func init() { file_service_proto_init() } func file_service_proto_init() { if File_service_proto != nil { return } file_types_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_proto_rawDesc), len(file_service_proto_rawDesc)), NumEnums: 0, NumMessages: 12, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_proto_goTypes, DependencyIndexes: file_service_proto_depIdxs, MessageInfos: file_service_proto_msgTypes, }.Build() File_service_proto = out.File file_service_proto_goTypes = nil file_service_proto_depIdxs = nil }