From 9d666984d30d5a78c9c6668445016d5bdb0f76a4 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Thu, 16 Jun 2022 10:53:32 -0700 Subject: [PATCH] update service.pb.go --- go.mod | 1 + walletrpc/service.pb.go | 1696 +++++++++++++++++++++------------------ 2 files changed, 907 insertions(+), 790 deletions(-) diff --git a/go.mod b/go.mod index 8ab0f87..01b519c 100644 --- a/go.mod +++ b/go.mod @@ -28,5 +28,6 @@ require ( golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 google.golang.org/appengine v1.6.5 // indirect google.golang.org/grpc v1.44.0 + google.golang.org/protobuf v1.27.1 gopkg.in/ini.v1 v1.51.0 ) diff --git a/walletrpc/service.pb.go b/walletrpc/service.pb.go index f73ee41..12b4fb6 100644 --- a/walletrpc/service.pb.go +++ b/walletrpc/service.pb.go @@ -1,74 +1,83 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.14.0 // source: service.proto package walletrpc import ( - context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // A BlockID message contains identifiers to select a block: a height or a // hash. If the hash is present it takes precedence. type BlockID struct { - Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BlockID) Reset() { *m = BlockID{} } -func (m *BlockID) String() string { return proto.CompactTextString(m) } -func (*BlockID) ProtoMessage() {} -func (*BlockID) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{0} + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` } -func (m *BlockID) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockID.Unmarshal(m, b) -} -func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockID.Marshal(b, m, deterministic) -} -func (m *BlockID) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockID.Merge(m, src) +func (x *BlockID) Reset() { + *x = BlockID{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BlockID) XXX_Size() int { - return xxx_messageInfo_BlockID.Size(m) + +func (x *BlockID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockID) XXX_DiscardUnknown() { - xxx_messageInfo_BlockID.DiscardUnknown(m) + +func (*BlockID) ProtoMessage() {} + +func (x *BlockID) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockID proto.InternalMessageInfo +// Deprecated: Use BlockID.ProtoReflect.Descriptor instead. +func (*BlockID) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{0} +} -func (m *BlockID) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *BlockID) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *BlockID) GetHash() []byte { - if m != nil { - return m.Hash +func (x *BlockID) GetHash() []byte { + if x != nil { + return x.Hash } return nil } @@ -77,48 +86,56 @@ func (m *BlockID) GetHash() []byte { // currently intended for support, though there is no reason you couldn't do // it. Further permutations are left as an exercise. type BlockRange struct { - Start *BlockID `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *BlockID `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BlockRange) Reset() { *m = BlockRange{} } -func (m *BlockRange) String() string { return proto.CompactTextString(m) } -func (*BlockRange) ProtoMessage() {} -func (*BlockRange) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{1} + Start *BlockID `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *BlockID `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` } -func (m *BlockRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockRange.Unmarshal(m, b) -} -func (m *BlockRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockRange.Marshal(b, m, deterministic) -} -func (m *BlockRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockRange.Merge(m, src) +func (x *BlockRange) Reset() { + *x = BlockRange{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BlockRange) XXX_Size() int { - return xxx_messageInfo_BlockRange.Size(m) + +func (x *BlockRange) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockRange) XXX_DiscardUnknown() { - xxx_messageInfo_BlockRange.DiscardUnknown(m) + +func (*BlockRange) ProtoMessage() {} + +func (x *BlockRange) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockRange proto.InternalMessageInfo +// Deprecated: Use BlockRange.ProtoReflect.Descriptor instead. +func (*BlockRange) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{1} +} -func (m *BlockRange) GetStart() *BlockID { - if m != nil { - return m.Start +func (x *BlockRange) GetStart() *BlockID { + if x != nil { + return x.Start } return nil } -func (m *BlockRange) GetEnd() *BlockID { - if m != nil { - return m.End +func (x *BlockRange) GetEnd() *BlockID { + if x != nil { + return x.End } return nil } @@ -126,56 +143,64 @@ func (m *BlockRange) GetEnd() *BlockID { // A TxFilter contains the information needed to identify a particular // transaction: either a block and an index, or a direct transaction hash. type TxFilter struct { - Block *BlockID `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TxFilter) Reset() { *m = TxFilter{} } -func (m *TxFilter) String() string { return proto.CompactTextString(m) } -func (*TxFilter) ProtoMessage() {} -func (*TxFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{2} + Block *BlockID `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` } -func (m *TxFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TxFilter.Unmarshal(m, b) -} -func (m *TxFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TxFilter.Marshal(b, m, deterministic) -} -func (m *TxFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxFilter.Merge(m, src) +func (x *TxFilter) Reset() { + *x = TxFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TxFilter) XXX_Size() int { - return xxx_messageInfo_TxFilter.Size(m) + +func (x *TxFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TxFilter) XXX_DiscardUnknown() { - xxx_messageInfo_TxFilter.DiscardUnknown(m) + +func (*TxFilter) ProtoMessage() {} + +func (x *TxFilter) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TxFilter proto.InternalMessageInfo +// Deprecated: Use TxFilter.ProtoReflect.Descriptor instead. +func (*TxFilter) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{2} +} -func (m *TxFilter) GetBlock() *BlockID { - if m != nil { - return m.Block +func (x *TxFilter) GetBlock() *BlockID { + if x != nil { + return x.Block } return nil } -func (m *TxFilter) GetIndex() uint64 { - if m != nil { - return m.Index +func (x *TxFilter) GetIndex() uint64 { + if x != nil { + return x.Index } return 0 } -func (m *TxFilter) GetHash() []byte { - if m != nil { - return m.Hash +func (x *TxFilter) GetHash() []byte { + if x != nil { + return x.Hash } return nil } @@ -183,886 +208,977 @@ func (m *TxFilter) GetHash() []byte { // RawTransaction contains the complete transaction data. It also optionally includes // the block height in which the transaction was included type RawTransaction struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RawTransaction) Reset() { *m = RawTransaction{} } -func (m *RawTransaction) String() string { return proto.CompactTextString(m) } -func (*RawTransaction) ProtoMessage() {} -func (*RawTransaction) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{3} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` } -func (m *RawTransaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawTransaction.Unmarshal(m, b) -} -func (m *RawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawTransaction.Marshal(b, m, deterministic) -} -func (m *RawTransaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawTransaction.Merge(m, src) +func (x *RawTransaction) Reset() { + *x = RawTransaction{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawTransaction) XXX_Size() int { - return xxx_messageInfo_RawTransaction.Size(m) + +func (x *RawTransaction) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawTransaction) XXX_DiscardUnknown() { - xxx_messageInfo_RawTransaction.DiscardUnknown(m) + +func (*RawTransaction) ProtoMessage() {} + +func (x *RawTransaction) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RawTransaction proto.InternalMessageInfo +// Deprecated: Use RawTransaction.ProtoReflect.Descriptor instead. +func (*RawTransaction) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{3} +} -func (m *RawTransaction) GetData() []byte { - if m != nil { - return m.Data +func (x *RawTransaction) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *RawTransaction) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *RawTransaction) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } type SendResponse struct { - ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"` - ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SendResponse) Reset() { *m = SendResponse{} } -func (m *SendResponse) String() string { return proto.CompactTextString(m) } -func (*SendResponse) ProtoMessage() {} -func (*SendResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{4} + ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"` + ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` } -func (m *SendResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendResponse.Unmarshal(m, b) -} -func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendResponse.Marshal(b, m, deterministic) -} -func (m *SendResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendResponse.Merge(m, src) +func (x *SendResponse) Reset() { + *x = SendResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SendResponse) XXX_Size() int { - return xxx_messageInfo_SendResponse.Size(m) + +func (x *SendResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SendResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendResponse.DiscardUnknown(m) + +func (*SendResponse) ProtoMessage() {} + +func (x *SendResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendResponse proto.InternalMessageInfo +// Deprecated: Use SendResponse.ProtoReflect.Descriptor instead. +func (*SendResponse) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{4} +} -func (m *SendResponse) GetErrorCode() int32 { - if m != nil { - return m.ErrorCode +func (x *SendResponse) GetErrorCode() int32 { + if x != nil { + return x.ErrorCode } return 0 } -func (m *SendResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *SendResponse) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } // Empty placeholder. Someday we may want to specify e.g. a particular chain fork. type ChainSpec struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ChainSpec) Reset() { *m = ChainSpec{} } -func (m *ChainSpec) String() string { return proto.CompactTextString(m) } -func (*ChainSpec) ProtoMessage() {} -func (*ChainSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{5} +func (x *ChainSpec) Reset() { + *x = ChainSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ChainSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChainSpec.Unmarshal(m, b) -} -func (m *ChainSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChainSpec.Marshal(b, m, deterministic) -} -func (m *ChainSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChainSpec.Merge(m, src) -} -func (m *ChainSpec) XXX_Size() int { - return xxx_messageInfo_ChainSpec.Size(m) -} -func (m *ChainSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ChainSpec.DiscardUnknown(m) +func (x *ChainSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ChainSpec proto.InternalMessageInfo +func (*ChainSpec) ProtoMessage() {} -type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ChainSpec) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{6} +// Deprecated: Use ChainSpec.ProtoReflect.Descriptor instead. +func (*ChainSpec) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{5} } -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) +type Empty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) + +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) + +func (x *Empty) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Empty proto.InternalMessageInfo +func (*Empty) ProtoMessage() {} -type LightdInfo struct { - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"` - TaddrSupport bool `protobuf:"varint,3,opt,name=taddrSupport,proto3" json:"taddrSupport,omitempty"` - ChainName string `protobuf:"bytes,4,opt,name=chainName,proto3" json:"chainName,omitempty"` - SaplingActivationHeight uint64 `protobuf:"varint,5,opt,name=saplingActivationHeight,proto3" json:"saplingActivationHeight,omitempty"` - ConsensusBranchId string `protobuf:"bytes,6,opt,name=consensusBranchId,proto3" json:"consensusBranchId,omitempty"` - BlockHeight uint64 `protobuf:"varint,7,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` - Difficulty uint64 `protobuf:"varint,8,opt,name=difficulty,proto3" json:"difficulty,omitempty"` - Longestchain uint64 `protobuf:"varint,9,opt,name=longestchain,proto3" json:"longestchain,omitempty"` - Notarized uint64 `protobuf:"varint,10,opt,name=notarized,proto3" json:"notarized,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LightdInfo) Reset() { *m = LightdInfo{} } -func (m *LightdInfo) String() string { return proto.CompactTextString(m) } -func (*LightdInfo) ProtoMessage() {} -func (*LightdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{7} +func (x *Empty) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *LightdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LightdInfo.Unmarshal(m, b) +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (*Empty) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{6} } -func (m *LightdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LightdInfo.Marshal(b, m, deterministic) + +type LightdInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"` + TaddrSupport bool `protobuf:"varint,3,opt,name=taddrSupport,proto3" json:"taddrSupport,omitempty"` + ChainName string `protobuf:"bytes,4,opt,name=chainName,proto3" json:"chainName,omitempty"` + SaplingActivationHeight uint64 `protobuf:"varint,5,opt,name=saplingActivationHeight,proto3" json:"saplingActivationHeight,omitempty"` + ConsensusBranchId string `protobuf:"bytes,6,opt,name=consensusBranchId,proto3" json:"consensusBranchId,omitempty"` // This should really be u32 or []byte, but string for readability + BlockHeight uint64 `protobuf:"varint,7,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` + Difficulty uint64 `protobuf:"varint,8,opt,name=difficulty,proto3" json:"difficulty,omitempty"` + Longestchain uint64 `protobuf:"varint,9,opt,name=longestchain,proto3" json:"longestchain,omitempty"` + Notarized uint64 `protobuf:"varint,10,opt,name=notarized,proto3" json:"notarized,omitempty"` } -func (m *LightdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LightdInfo.Merge(m, src) + +func (x *LightdInfo) Reset() { + *x = LightdInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LightdInfo) XXX_Size() int { - return xxx_messageInfo_LightdInfo.Size(m) + +func (x *LightdInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LightdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LightdInfo.DiscardUnknown(m) + +func (*LightdInfo) ProtoMessage() {} + +func (x *LightdInfo) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LightdInfo proto.InternalMessageInfo +// Deprecated: Use LightdInfo.ProtoReflect.Descriptor instead. +func (*LightdInfo) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{7} +} -func (m *LightdInfo) GetVersion() string { - if m != nil { - return m.Version +func (x *LightdInfo) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *LightdInfo) GetVendor() string { - if m != nil { - return m.Vendor +func (x *LightdInfo) GetVendor() string { + if x != nil { + return x.Vendor } return "" } -func (m *LightdInfo) GetTaddrSupport() bool { - if m != nil { - return m.TaddrSupport +func (x *LightdInfo) GetTaddrSupport() bool { + if x != nil { + return x.TaddrSupport } return false } -func (m *LightdInfo) GetChainName() string { - if m != nil { - return m.ChainName +func (x *LightdInfo) GetChainName() string { + if x != nil { + return x.ChainName } return "" } -func (m *LightdInfo) GetSaplingActivationHeight() uint64 { - if m != nil { - return m.SaplingActivationHeight +func (x *LightdInfo) GetSaplingActivationHeight() uint64 { + if x != nil { + return x.SaplingActivationHeight } return 0 } -func (m *LightdInfo) GetConsensusBranchId() string { - if m != nil { - return m.ConsensusBranchId +func (x *LightdInfo) GetConsensusBranchId() string { + if x != nil { + return x.ConsensusBranchId } return "" } -func (m *LightdInfo) Getdifficulty() uint64 { - if m != nil { - return m.Difficulty + +func (x *LightdInfo) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *LightdInfo) Getlongestchain() uint64 { - if m != nil { - return m.Longestchain + +func (x *LightdInfo) GetDifficulty() uint64 { + if x != nil { + return x.Difficulty } return 0 } -func (m *LightdInfo) Getnotarized() uint64 { - if m != nil { - return m.Notarized + +func (x *LightdInfo) GetLongestchain() uint64 { + if x != nil { + return x.Longestchain } return 0 } -func (m *LightdInfo) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *LightdInfo) GetNotarized() uint64 { + if x != nil { + return x.Notarized } return 0 } type Coinsupply struct { - Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` - Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - Supply uint64 `protobuf:"varint,4,opt,name=supply,proto3" json:"supply,omitempty"` - Zfunds uint64 `protobuf:"varint,5,opt,name=zfunds,proto3" json:"zfunds,omitempty"` - Total uint64 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Coinsupply) Reset() { *m = Coinsupply{} } -func (m *Coinsupply) String() string { return proto.CompactTextString(m) } -func (*Coinsupply) ProtoMessage() {} -func (*Coinsupply) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{7} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Coinsupply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Coinsupply.Unmarshal(m, b) + Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` + Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + Supply uint64 `protobuf:"varint,4,opt,name=supply,proto3" json:"supply,omitempty"` + Zfunds uint64 `protobuf:"varint,5,opt,name=zfunds,proto3" json:"zfunds,omitempty"` + Total uint64 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` } -func (m *Coinsupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Coinsupply.Marshal(b, m, deterministic) -} -func (m *Coinsupply) XXX_Merge(src proto.Message) { - xxx_messageInfo_Coinsupply.Merge(m, src) + +func (x *Coinsupply) Reset() { + *x = Coinsupply{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Coinsupply) XXX_Size() int { - return xxx_messageInfo_Coinsupply.Size(m) + +func (x *Coinsupply) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Coinsupply) XXX_DiscardUnknown() { - xxx_messageInfo_Coinsupply.DiscardUnknown(m) + +func (*Coinsupply) ProtoMessage() {} + +func (x *Coinsupply) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Coinsupply proto.InternalMessageInfo +// Deprecated: Use Coinsupply.ProtoReflect.Descriptor instead. +func (*Coinsupply) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{8} +} -func (m *Coinsupply) GetResult() string { - if m != nil { - return m.Result +func (x *Coinsupply) GetResult() string { + if x != nil { + return x.Result } return "" } -func (m *Coinsupply) GetCoin() string { - if m != nil { - return m.Coin +func (x *Coinsupply) GetCoin() string { + if x != nil { + return x.Coin } return "" } -func (m *Coinsupply) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *Coinsupply) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *Coinsupply) GetSupply() uint64 { - if m != nil { - return m.Supply +func (x *Coinsupply) GetSupply() uint64 { + if x != nil { + return x.Supply } return 0 } -func (m *Coinsupply) GetZfunds() uint64 { - if m != nil { - return m.Zfunds +func (x *Coinsupply) GetZfunds() uint64 { + if x != nil { + return x.Zfunds } return 0 } -func (m *Coinsupply) GetTotal() uint64 { - if m != nil { - return m.Total +func (x *Coinsupply) GetTotal() uint64 { + if x != nil { + return x.Total } return 0 } type TransparentAddress struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TransparentAddress) Reset() { *m = TransparentAddress{} } -func (m *TransparentAddress) String() string { return proto.CompactTextString(m) } -func (*TransparentAddress) ProtoMessage() {} -func (*TransparentAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{8} + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (m *TransparentAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransparentAddress.Unmarshal(m, b) -} -func (m *TransparentAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransparentAddress.Marshal(b, m, deterministic) -} -func (m *TransparentAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransparentAddress.Merge(m, src) -} -func (m *TransparentAddress) XXX_Size() int { - return xxx_messageInfo_TransparentAddress.Size(m) -} -func (m *TransparentAddress) XXX_DiscardUnknown() { - xxx_messageInfo_TransparentAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_TransparentAddress proto.InternalMessageInfo - -func (m *TransparentAddress) GetAddress() string { - if m != nil { - return m.Address +func (x *TransparentAddress) Reset() { + *x = TransparentAddress{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -type TransparentAddressBlockFilter struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Range *BlockRange `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransparentAddressBlockFilter) Reset() { *m = TransparentAddressBlockFilter{} } -func (m *TransparentAddressBlockFilter) String() string { return proto.CompactTextString(m) } -func (*TransparentAddressBlockFilter) ProtoMessage() {} -func (*TransparentAddressBlockFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_a0b84a42fa06f626, []int{9} -} - -func (m *TransparentAddressBlockFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransparentAddressBlockFilter.Unmarshal(m, b) -} -func (m *TransparentAddressBlockFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransparentAddressBlockFilter.Marshal(b, m, deterministic) -} -func (m *TransparentAddressBlockFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransparentAddressBlockFilter.Merge(m, src) -} -func (m *TransparentAddressBlockFilter) XXX_Size() int { - return xxx_messageInfo_TransparentAddressBlockFilter.Size(m) -} -func (m *TransparentAddressBlockFilter) XXX_DiscardUnknown() { - xxx_messageInfo_TransparentAddressBlockFilter.DiscardUnknown(m) +func (x *TransparentAddress) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TransparentAddressBlockFilter proto.InternalMessageInfo +func (*TransparentAddress) ProtoMessage() {} -func (m *TransparentAddressBlockFilter) GetAddress() string { - if m != nil { - return m.Address +func (x *TransparentAddress) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *TransparentAddressBlockFilter) GetRange() *BlockRange { - if m != nil { - return m.Range - } - return nil +// Deprecated: Use TransparentAddress.ProtoReflect.Descriptor instead. +func (*TransparentAddress) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{9} } -func init() { - proto.RegisterType((*BlockID)(nil), "cash.z.wallet.sdk.rpc.BlockID") - proto.RegisterType((*BlockRange)(nil), "cash.z.wallet.sdk.rpc.BlockRange") - proto.RegisterType((*TxFilter)(nil), "cash.z.wallet.sdk.rpc.TxFilter") - proto.RegisterType((*RawTransaction)(nil), "cash.z.wallet.sdk.rpc.RawTransaction") - proto.RegisterType((*SendResponse)(nil), "cash.z.wallet.sdk.rpc.SendResponse") - proto.RegisterType((*ChainSpec)(nil), "cash.z.wallet.sdk.rpc.ChainSpec") - proto.RegisterType((*Empty)(nil), "cash.z.wallet.sdk.rpc.Empty") - proto.RegisterType((*LightdInfo)(nil), "cash.z.wallet.sdk.rpc.LightdInfo") - proto.RegisterType((*Coinsupply)(nil), "cash.z.wallet.sdk.rpc.Coinsupply") - proto.RegisterType((*TransparentAddress)(nil), "cash.z.wallet.sdk.rpc.TransparentAddress") - proto.RegisterType((*TransparentAddressBlockFilter)(nil), "cash.z.wallet.sdk.rpc.TransparentAddressBlockFilter") -} - -func init() { proto.RegisterFile("service.proto", fileDescriptor_a0b84a42fa06f626) } - -var fileDescriptor_a0b84a42fa06f626 = []byte{ - // 643 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x6e, 0x13, 0x3d, - 0x10, 0xed, 0x4f, 0xb6, 0x69, 0x26, 0xfd, 0x51, 0xad, 0xaf, 0x1f, 0x51, 0x54, 0xa0, 0x18, 0x21, - 0x71, 0x81, 0x56, 0x55, 0x29, 0x82, 0x0b, 0x6e, 0xda, 0xf2, 0x57, 0xa9, 0x20, 0x70, 0x72, 0x55, - 0x2e, 0x2a, 0x77, 0xd7, 0xcd, 0x2e, 0x4d, 0xd6, 0x2b, 0xdb, 0x4d, 0x03, 0x8f, 0xc0, 0x43, 0xf0, - 0xac, 0xd8, 0xe3, 0x4d, 0xb3, 0x51, 0xd9, 0x26, 0x77, 0x3b, 0xe3, 0x99, 0x73, 0x8e, 0x8f, 0x67, - 0x12, 0x58, 0xd7, 0x42, 0x0d, 0xd3, 0x48, 0x84, 0xb9, 0x92, 0x46, 0x92, 0xed, 0x88, 0xeb, 0x24, - 0xfc, 0x15, 0xde, 0xf0, 0x7e, 0x5f, 0x98, 0x50, 0xc7, 0x57, 0xa1, 0xca, 0xa3, 0xf6, 0x76, 0x24, - 0x07, 0x39, 0x8f, 0xcc, 0xf9, 0xa5, 0x54, 0x03, 0x6e, 0xb4, 0xaf, 0xa6, 0xaf, 0xa0, 0x7e, 0xd4, - 0x97, 0xd1, 0xd5, 0xc9, 0x3b, 0xf2, 0x3f, 0xac, 0x24, 0x22, 0xed, 0x25, 0xa6, 0xb5, 0xb8, 0xbb, - 0xf8, 0xbc, 0xc6, 0x8a, 0x88, 0x10, 0xa8, 0x25, 0x16, 0xb2, 0xb5, 0x64, 0xb3, 0x6b, 0x0c, 0xbf, - 0xa9, 0x01, 0xc0, 0x36, 0xc6, 0xb3, 0x9e, 0x20, 0x07, 0x10, 0x68, 0xc3, 0x95, 0x6f, 0x6c, 0xee, - 0x3f, 0x0a, 0xff, 0x29, 0x21, 0x2c, 0x88, 0x98, 0x2f, 0x26, 0x7b, 0xb0, 0x2c, 0xb2, 0x18, 0x61, - 0x67, 0xf7, 0xb8, 0x52, 0xfa, 0x03, 0x56, 0xbb, 0xa3, 0x0f, 0x69, 0xdf, 0x08, 0xe5, 0x38, 0x2f, - 0xdc, 0xd9, 0xbc, 0x9c, 0x58, 0x4c, 0xfe, 0x83, 0x20, 0xcd, 0x62, 0x31, 0x42, 0xd6, 0x1a, 0xf3, - 0xc1, 0xed, 0x0d, 0x97, 0x4b, 0x37, 0x7c, 0x0b, 0x1b, 0x8c, 0xdf, 0x74, 0x15, 0xcf, 0xb4, 0x75, - 0x2d, 0x95, 0x99, 0xab, 0x8a, 0xb9, 0xe1, 0x48, 0x68, 0xab, 0xdc, 0x77, 0xc9, 0xb3, 0xa5, 0xb2, - 0x67, 0xf4, 0x2b, 0xac, 0x75, 0xac, 0x62, 0x26, 0x74, 0x2e, 0x33, 0x2d, 0xc8, 0x0e, 0x34, 0x84, - 0x52, 0x52, 0x1d, 0xcb, 0x58, 0x20, 0x40, 0xc0, 0x26, 0x09, 0x42, 0x61, 0x0d, 0x83, 0xcf, 0x42, - 0x6b, 0xde, 0x13, 0x88, 0xd5, 0x60, 0x53, 0x39, 0xda, 0x84, 0xc6, 0x71, 0xc2, 0xd3, 0xac, 0x93, - 0x8b, 0x88, 0xd6, 0x21, 0x78, 0x3f, 0xc8, 0xcd, 0x4f, 0xfa, 0x7b, 0x09, 0xe0, 0xd4, 0x31, 0xc6, - 0x27, 0xd9, 0xa5, 0x24, 0x2d, 0xa8, 0x0f, 0x85, 0xd2, 0x56, 0x2d, 0x92, 0x34, 0xd8, 0x38, 0x74, - 0x42, 0x87, 0x56, 0x90, 0x54, 0x05, 0x78, 0x11, 0x39, 0x6a, 0xc3, 0xe3, 0x58, 0x75, 0xae, 0xf3, - 0x5c, 0xda, 0x17, 0x74, 0x16, 0xac, 0xb2, 0xa9, 0x9c, 0x13, 0x1f, 0x39, 0xea, 0x2f, 0x7c, 0x20, - 0x5a, 0x35, 0x6c, 0x9f, 0x24, 0xc8, 0x1b, 0x78, 0xa0, 0x79, 0xde, 0x4f, 0xb3, 0xde, 0xa1, 0xf5, - 0x69, 0xc8, 0x9d, 0x57, 0x9f, 0xbc, 0x27, 0x01, 0x7a, 0x52, 0x75, 0x4c, 0x5e, 0xc0, 0x56, 0xe4, - 0xdc, 0xc9, 0xf4, 0xb5, 0x3e, 0xb2, 0x46, 0x47, 0xc9, 0x49, 0xdc, 0x5a, 0x41, 0xfc, 0xbb, 0x07, - 0x64, 0x17, 0x9a, 0xf8, 0x86, 0x05, 0x76, 0x1d, 0xb1, 0xcb, 0x29, 0x1a, 0x02, 0xc1, 0xf7, 0xca, - 0xb9, 0x12, 0x99, 0x39, 0xb4, 0x37, 0xb0, 0xde, 0x39, 0x4f, 0xb8, 0xff, 0x1c, 0x7b, 0x52, 0x84, - 0x54, 0xc1, 0xc3, 0xbb, 0xf5, 0x38, 0x30, 0xc5, 0x8c, 0x55, 0xb6, 0x92, 0xd7, 0x10, 0x28, 0x37, - 0xfa, 0xc5, 0xf4, 0x3e, 0xb9, 0x6f, 0xfa, 0x70, 0x47, 0x98, 0xaf, 0xdf, 0xff, 0x13, 0xc0, 0xd6, - 0xb1, 0xdf, 0xc4, 0xee, 0xa8, 0x63, 0x94, 0xb0, 0x16, 0x2a, 0xd2, 0x85, 0x8d, 0x8f, 0xc2, 0x9c, - 0x72, 0x23, 0xb4, 0xc1, 0x1e, 0xb2, 0x5b, 0x81, 0x78, 0x3b, 0x03, 0xed, 0x19, 0x13, 0x4f, 0x17, - 0xc8, 0x37, 0x58, 0xb5, 0xa8, 0x1e, 0x6f, 0x46, 0x75, 0xfb, 0x69, 0x15, 0x9f, 0xd7, 0x8a, 0x65, - 0x16, 0xf2, 0x3b, 0xac, 0x8f, 0x21, 0xfd, 0xea, 0xcf, 0xbe, 0xf9, 0x9c, 0xd0, 0x7b, 0x8b, 0xe4, - 0x0c, 0x5d, 0x28, 0xaf, 0xdc, 0xe3, 0x8a, 0xd6, 0xf1, 0xaf, 0x40, 0xfb, 0x59, 0x45, 0xc1, 0xf4, - 0xea, 0x5a, 0xe1, 0xe7, 0xb0, 0xe9, 0x16, 0xb2, 0x0c, 0x3e, 0x5f, 0x6f, 0xa5, 0xfc, 0xf2, 0x7e, - 0x5b, 0x02, 0x05, 0x9b, 0x56, 0x7c, 0x31, 0x44, 0xdd, 0x51, 0x1a, 0x6b, 0x72, 0x50, 0xa5, 0xfe, - 0xbe, 0xa1, 0x9b, 0xfb, 0x4a, 0xd6, 0x30, 0x86, 0xaf, 0x51, 0xda, 0xff, 0x9d, 0x8a, 0x5e, 0xfc, - 0xb1, 0x68, 0x57, 0xbd, 0xd5, 0x04, 0x80, 0x2e, 0x1c, 0x35, 0xcf, 0x1a, 0xfe, 0xd8, 0x9e, 0x5c, - 0xac, 0xe0, 0x9f, 0xc4, 0xcb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x75, 0x7c, 0x9a, 0xee, 0x63, - 0x06, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// CompactTxStreamerClient is the client API for CompactTxStreamer service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CompactTxStreamerClient interface { - // Compact Blocks - GetLatestBlock(ctx context.Context, in *ChainSpec, opts ...grpc.CallOption) (*BlockID, error) - GetBlock(ctx context.Context, in *BlockID, opts ...grpc.CallOption) (*CompactBlock, error) - GetBlockRange(ctx context.Context, in *BlockRange, opts ...grpc.CallOption) (CompactTxStreamer_GetBlockRangeClient, error) - // Transactions - GetTransaction(ctx context.Context, in *TxFilter, opts ...grpc.CallOption) (*RawTransaction, error) - SendTransaction(ctx context.Context, in *RawTransaction, opts ...grpc.CallOption) (*SendResponse, error) - // t-Address support - GetAddressTxids(ctx context.Context, in *TransparentAddressBlockFilter, opts ...grpc.CallOption) (CompactTxStreamer_GetAddressTxidsClient, error) - // Misc - GetLightdInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LightdInfo, error) - GetCoinsupply(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Coinsupply, error) -} - -type compactTxStreamerClient struct { - cc *grpc.ClientConn -} - -func NewCompactTxStreamerClient(cc *grpc.ClientConn) CompactTxStreamerClient { - return &compactTxStreamerClient{cc} -} - -func (c *compactTxStreamerClient) GetLatestBlock(ctx context.Context, in *ChainSpec, opts ...grpc.CallOption) (*BlockID, error) { - out := new(BlockID) - err := c.cc.Invoke(ctx, "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLatestBlock", in, out, opts...) - if err != nil { - return nil, err +func (x *TransparentAddress) GetAddress() string { + if x != nil { + return x.Address } - return out, nil + return "" } -func (c *compactTxStreamerClient) GetBlock(ctx context.Context, in *BlockID, opts ...grpc.CallOption) (*CompactBlock, error) { - out := new(CompactBlock) - err := c.cc.Invoke(ctx, "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type TransparentAddressBlockFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Range *BlockRange `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"` } -func (c *compactTxStreamerClient) GetBlockRange(ctx context.Context, in *BlockRange, opts ...grpc.CallOption) (CompactTxStreamer_GetBlockRangeClient, error) { - stream, err := c.cc.NewStream(ctx, &_CompactTxStreamer_serviceDesc.Streams[0], "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlockRange", opts...) - if err != nil { - return nil, err +func (x *TransparentAddressBlockFilter) Reset() { + *x = TransparentAddressBlockFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - x := &compactTxStreamerGetBlockRangeClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil } -type CompactTxStreamer_GetBlockRangeClient interface { - Recv() (*CompactBlock, error) - grpc.ClientStream +func (x *TransparentAddressBlockFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -type compactTxStreamerGetBlockRangeClient struct { - grpc.ClientStream -} +func (*TransparentAddressBlockFilter) ProtoMessage() {} -func (x *compactTxStreamerGetBlockRangeClient) Recv() (*CompactBlock, error) { - m := new(CompactBlock) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *TransparentAddressBlockFilter) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return m, nil + return mi.MessageOf(x) } -func (c *compactTxStreamerClient) GetTransaction(ctx context.Context, in *TxFilter, opts ...grpc.CallOption) (*RawTransaction, error) { - out := new(RawTransaction) - err := c.cc.Invoke(ctx, "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use TransparentAddressBlockFilter.ProtoReflect.Descriptor instead. +func (*TransparentAddressBlockFilter) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{10} } -func (c *compactTxStreamerClient) SendTransaction(ctx context.Context, in *RawTransaction, opts ...grpc.CallOption) (*SendResponse, error) { - out := new(SendResponse) - err := c.cc.Invoke(ctx, "/cash.z.wallet.sdk.rpc.CompactTxStreamer/SendTransaction", in, out, opts...) - if err != nil { - return nil, err +func (x *TransparentAddressBlockFilter) GetAddress() string { + if x != nil { + return x.Address } - return out, nil + return "" } -func (c *compactTxStreamerClient) GetAddressTxids(ctx context.Context, in *TransparentAddressBlockFilter, opts ...grpc.CallOption) (CompactTxStreamer_GetAddressTxidsClient, error) { - stream, err := c.cc.NewStream(ctx, &_CompactTxStreamer_serviceDesc.Streams[1], "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetAddressTxids", opts...) - if err != nil { - return nil, err +func (x *TransparentAddressBlockFilter) GetRange() *BlockRange { + if x != nil { + return x.Range } - x := &compactTxStreamerGetAddressTxidsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CompactTxStreamer_GetAddressTxidsClient interface { - Recv() (*RawTransaction, error) - grpc.ClientStream + return nil } -type compactTxStreamerGetAddressTxidsClient struct { - grpc.ClientStream -} +type Balance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *compactTxStreamerGetAddressTxidsClient) Recv() (*RawTransaction, error) { - m := new(RawTransaction) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil + ValueZat int64 `protobuf:"varint,1,opt,name=valueZat,proto3" json:"valueZat,omitempty"` } -func (c *compactTxStreamerClient) GetLightdInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LightdInfo, error) { - out := new(LightdInfo) - err := c.cc.Invoke(ctx, "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLightdInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} -func (c *compactTxStreamerClient) GetCoinsupply(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Coinsupply, error) { - out := new(Coinsupply) - err := c.cc.Invoke(ctx, "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetCoinsupply", in, out, opts...) - if err != nil { - return nil, err +func (x *Balance) Reset() { + *x = Balance{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil -} - -// CompactTxStreamerServer is the server API for CompactTxStreamer service. -type CompactTxStreamerServer interface { - // Compact Blocks - GetLatestBlock(context.Context, *ChainSpec) (*BlockID, error) - GetBlock(context.Context, *BlockID) (*CompactBlock, error) - GetBlockRange(*BlockRange, CompactTxStreamer_GetBlockRangeServer) error - // Transactions - GetTransaction(context.Context, *TxFilter) (*RawTransaction, error) - SendTransaction(context.Context, *RawTransaction) (*SendResponse, error) - // t-Address support - GetAddressTxids(*TransparentAddressBlockFilter, CompactTxStreamer_GetAddressTxidsServer) error - // Misc - GetLightdInfo(context.Context, *Empty) (*LightdInfo, error) - GetCoinsupply(context.Context, *Empty) (*Coinsupply, error) -} - -// UnimplementedCompactTxStreamerServer can be embedded to have forward compatible implementations. -type UnimplementedCompactTxStreamerServer struct { } -func (*UnimplementedCompactTxStreamerServer) GetLatestBlock(ctx context.Context, req *ChainSpec) (*BlockID, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestBlock not implemented") -} -func (*UnimplementedCompactTxStreamerServer) GetBlock(ctx context.Context, req *BlockID) (*CompactBlock, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") -} -func (*UnimplementedCompactTxStreamerServer) GetBlockRange(req *BlockRange, srv CompactTxStreamer_GetBlockRangeServer) error { - return status.Errorf(codes.Unimplemented, "method GetBlockRange not implemented") -} -func (*UnimplementedCompactTxStreamerServer) GetTransaction(ctx context.Context, req *TxFilter) (*RawTransaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransaction not implemented") -} -func (*UnimplementedCompactTxStreamerServer) SendTransaction(ctx context.Context, req *RawTransaction) (*SendResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented") -} -func (*UnimplementedCompactTxStreamerServer) GetAddressTxids(req *TransparentAddressBlockFilter, srv CompactTxStreamer_GetAddressTxidsServer) error { - return status.Errorf(codes.Unimplemented, "method GetAddressTxids not implemented") -} -func (*UnimplementedCompactTxStreamerServer) GetLightdInfo(ctx context.Context, req *Empty) (*LightdInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLightdInfo not implemented") -} -func (*UnimplementedCompactTxStreamerServer) GetCoinsupply(ctx context.Context, req *Empty) (*Coinsupply, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCoinsupply not implemented") +func (x *Balance) String() string { + return protoimpl.X.MessageStringOf(x) } -func RegisterCompactTxStreamerServer(s *grpc.Server, srv CompactTxStreamerServer) { - s.RegisterService(&_CompactTxStreamer_serviceDesc, srv) -} +func (*Balance) ProtoMessage() {} -func _CompactTxStreamer_GetLatestBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ChainSpec) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompactTxStreamerServer).GetLatestBlock(ctx, in) +func (x *Balance) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLatestBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompactTxStreamerServer).GetLatestBlock(ctx, req.(*ChainSpec)) - } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _CompactTxStreamer_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockID) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompactTxStreamerServer).GetBlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompactTxStreamerServer).GetBlock(ctx, req.(*BlockID)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use Balance.ProtoReflect.Descriptor instead. +func (*Balance) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{11} } -func _CompactTxStreamer_GetBlockRange_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(BlockRange) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *Balance) GetValueZat() int64 { + if x != nil { + return x.ValueZat } - return srv.(CompactTxStreamerServer).GetBlockRange(m, &compactTxStreamerGetBlockRangeServer{stream}) -} - -type CompactTxStreamer_GetBlockRangeServer interface { - Send(*CompactBlock) error - grpc.ServerStream + return 0 } -type compactTxStreamerGetBlockRangeServer struct { - grpc.ServerStream -} +type Exclude struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *compactTxStreamerGetBlockRangeServer) Send(m *CompactBlock) error { - return x.ServerStream.SendMsg(m) + Txid [][]byte `protobuf:"bytes,1,rep,name=txid,proto3" json:"txid,omitempty"` } -func _CompactTxStreamer_GetTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TxFilter) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompactTxStreamerServer).GetTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetTransaction", +func (x *Exclude) Reset() { + *x = Exclude{} + if protoimpl.UnsafeEnabled { + mi := &file_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompactTxStreamerServer).GetTransaction(ctx, req.(*TxFilter)) - } - return interceptor(ctx, in, info, handler) } -func _CompactTxStreamer_SendTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RawTransaction) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompactTxStreamerServer).SendTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/SendTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompactTxStreamerServer).SendTransaction(ctx, req.(*RawTransaction)) - } - return interceptor(ctx, in, info, handler) -} - -func _CompactTxStreamer_GetAddressTxids_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(TransparentAddressBlockFilter) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CompactTxStreamerServer).GetAddressTxids(m, &compactTxStreamerGetAddressTxidsServer{stream}) +func (x *Exclude) String() string { + return protoimpl.X.MessageStringOf(x) } -type CompactTxStreamer_GetAddressTxidsServer interface { - Send(*RawTransaction) error - grpc.ServerStream -} +func (*Exclude) ProtoMessage() {} -type compactTxStreamerGetAddressTxidsServer struct { - grpc.ServerStream +func (x *Exclude) ProtoReflect() protoreflect.Message { + mi := &file_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (x *compactTxStreamerGetAddressTxidsServer) Send(m *RawTransaction) error { - return x.ServerStream.SendMsg(m) +// Deprecated: Use Exclude.ProtoReflect.Descriptor instead. +func (*Exclude) Descriptor() ([]byte, []int) { + return file_service_proto_rawDescGZIP(), []int{12} } -func _CompactTxStreamer_GetLightdInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompactTxStreamerServer).GetLightdInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetLightdInfo", +func (x *Exclude) GetTxid() [][]byte { + if x != nil { + return x.Txid } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompactTxStreamerServer).GetLightdInfo(ctx, req.(*Empty)) - } - return interceptor(ctx, in, info, handler) + return nil } -func _CompactTxStreamer_GetCoinsupply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompactTxStreamerServer).GetCoinsupply(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cash.z.wallet.sdk.rpc.CompactTxStreamer/GetCoinsupply", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompactTxStreamerServer).GetCoinsupply(ctx, req.(*Empty)) - } - return interceptor(ctx, in, info, handler) -} +var File_service_proto protoreflect.FileDescriptor + +var file_service_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x13, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, + 0x2e, 0x72, 0x70, 0x63, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x07, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, + 0x73, 0x68, 0x22, 0x70, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x12, 0x32, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, + 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x12, 0x2e, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, + 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, + 0x03, 0x65, 0x6e, 0x64, 0x22, 0x68, 0x0a, 0x08, 0x54, 0x78, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x12, 0x32, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, + 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x52, 0x05, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x3c, + 0x0a, 0x0e, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x50, 0x0a, 0x0c, + 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x0b, + 0x0a, 0x09, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x22, 0x07, 0x0a, 0x05, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x22, 0xec, 0x02, 0x0a, 0x0a, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, + 0x06, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, + 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x64, 0x64, 0x72, 0x53, 0x75, + 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x74, 0x61, 0x64, + 0x64, 0x72, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x17, 0x73, 0x61, 0x70, 0x6c, 0x69, + 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x73, 0x61, 0x70, 0x6c, 0x69, 0x6e, + 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, + 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x49, 0x64, 0x12, + 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, 0x79, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, 0x6c, 0x74, + 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6c, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x61, 0x72, 0x69, 0x7a, + 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6e, 0x6f, 0x74, 0x61, 0x72, 0x69, + 0x7a, 0x65, 0x64, 0x22, 0x96, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, + 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x12, 0x16, + 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x16, + 0x0a, 0x06, 0x7a, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, + 0x7a, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x2e, 0x0a, 0x12, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x70, 0x0a, 0x1d, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x25, + 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x5a, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x5a, 0x61, 0x74, 0x22, 0x1d, 0x0a, 0x07, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, + 0x74, 0x78, 0x69, 0x64, 0x32, 0xfd, 0x06, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, + 0x54, 0x78, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1e, 0x2e, 0x68, + 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x1a, 0x1c, 0x2e, 0x68, + 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x08, + 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x1a, 0x21, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, + 0x70, 0x61, 0x63, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0d, 0x47, + 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x68, + 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x1a, 0x21, 0x2e, + 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x61, 0x77, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0f, + 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x23, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, + 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x78, 0x69, 0x64, 0x73, 0x12, 0x32, 0x2e, 0x68, + 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x1a, 0x23, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, + 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x4c, 0x69, 0x67, 0x68, 0x74, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x68, 0x75, 0x73, + 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x67, + 0x68, 0x74, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x2e, 0x68, 0x75, 0x73, + 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1f, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, + 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0c, 0x47, 0x65, 0x74, + 0x4d, 0x65, 0x6d, 0x70, 0x6f, 0x6f, 0x6c, 0x54, 0x78, 0x12, 0x1c, 0x2e, 0x68, 0x75, 0x73, 0x68, + 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x1a, 0x1e, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, + 0x6d, 0x70, 0x61, 0x63, 0x74, 0x54, 0x78, 0x22, 0x00, 0x30, 0x01, 0x12, 0x57, 0x0a, 0x10, 0x47, + 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, + 0x1a, 0x2e, 0x68, 0x75, 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, + 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x23, 0x2e, 0x68, 0x75, + 0x73, 0x68, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x30, 0x01, 0x42, 0x0b, 0x5a, 0x09, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, + 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_service_proto_rawDescOnce sync.Once + file_service_proto_rawDescData = file_service_proto_rawDesc +) -var _CompactTxStreamer_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cash.z.wallet.sdk.rpc.CompactTxStreamer", - HandlerType: (*CompactTxStreamerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLatestBlock", - Handler: _CompactTxStreamer_GetLatestBlock_Handler, - }, - { - MethodName: "GetBlock", - Handler: _CompactTxStreamer_GetBlock_Handler, - }, - { - MethodName: "GetTransaction", - Handler: _CompactTxStreamer_GetTransaction_Handler, - }, - { - MethodName: "SendTransaction", - Handler: _CompactTxStreamer_SendTransaction_Handler, - }, - { - MethodName: "GetLightdInfo", - Handler: _CompactTxStreamer_GetLightdInfo_Handler, - }, - { - MethodName: "GetCoinsupply", - Handler: _CompactTxStreamer_GetCoinsupply_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "GetBlockRange", - Handler: _CompactTxStreamer_GetBlockRange_Handler, - ServerStreams: true, - }, - { - StreamName: "GetAddressTxids", - Handler: _CompactTxStreamer_GetAddressTxids_Handler, - ServerStreams: true, +func file_service_proto_rawDescGZIP() []byte { + file_service_proto_rawDescOnce.Do(func() { + file_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_proto_rawDescData) + }) + return file_service_proto_rawDescData +} + +var file_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_service_proto_goTypes = []interface{}{ + (*BlockID)(nil), // 0: hush.wallet.sdk.rpc.BlockID + (*BlockRange)(nil), // 1: hush.wallet.sdk.rpc.BlockRange + (*TxFilter)(nil), // 2: hush.wallet.sdk.rpc.TxFilter + (*RawTransaction)(nil), // 3: hush.wallet.sdk.rpc.RawTransaction + (*SendResponse)(nil), // 4: hush.wallet.sdk.rpc.SendResponse + (*ChainSpec)(nil), // 5: hush.wallet.sdk.rpc.ChainSpec + (*Empty)(nil), // 6: hush.wallet.sdk.rpc.Empty + (*LightdInfo)(nil), // 7: hush.wallet.sdk.rpc.LightdInfo + (*Coinsupply)(nil), // 8: hush.wallet.sdk.rpc.Coinsupply + (*TransparentAddress)(nil), // 9: hush.wallet.sdk.rpc.TransparentAddress + (*TransparentAddressBlockFilter)(nil), // 10: hush.wallet.sdk.rpc.TransparentAddressBlockFilter + (*Balance)(nil), // 11: hush.wallet.sdk.rpc.Balance + (*Exclude)(nil), // 12: hush.wallet.sdk.rpc.Exclude + (*CompactBlock)(nil), // 13: hush.wallet.sdk.rpc.CompactBlock + (*CompactTx)(nil), // 14: hush.wallet.sdk.rpc.CompactTx +} +var file_service_proto_depIdxs = []int32{ + 0, // 0: hush.wallet.sdk.rpc.BlockRange.start:type_name -> hush.wallet.sdk.rpc.BlockID + 0, // 1: hush.wallet.sdk.rpc.BlockRange.end:type_name -> hush.wallet.sdk.rpc.BlockID + 0, // 2: hush.wallet.sdk.rpc.TxFilter.block:type_name -> hush.wallet.sdk.rpc.BlockID + 1, // 3: hush.wallet.sdk.rpc.TransparentAddressBlockFilter.range:type_name -> hush.wallet.sdk.rpc.BlockRange + 5, // 4: hush.wallet.sdk.rpc.CompactTxStreamer.GetLatestBlock:input_type -> hush.wallet.sdk.rpc.ChainSpec + 0, // 5: hush.wallet.sdk.rpc.CompactTxStreamer.GetBlock:input_type -> hush.wallet.sdk.rpc.BlockID + 1, // 6: hush.wallet.sdk.rpc.CompactTxStreamer.GetBlockRange:input_type -> hush.wallet.sdk.rpc.BlockRange + 2, // 7: hush.wallet.sdk.rpc.CompactTxStreamer.GetTransaction:input_type -> hush.wallet.sdk.rpc.TxFilter + 3, // 8: hush.wallet.sdk.rpc.CompactTxStreamer.SendTransaction:input_type -> hush.wallet.sdk.rpc.RawTransaction + 10, // 9: hush.wallet.sdk.rpc.CompactTxStreamer.GetAddressTxids:input_type -> hush.wallet.sdk.rpc.TransparentAddressBlockFilter + 6, // 10: hush.wallet.sdk.rpc.CompactTxStreamer.GetLightdInfo:input_type -> hush.wallet.sdk.rpc.Empty + 6, // 11: hush.wallet.sdk.rpc.CompactTxStreamer.GetCoinsupply:input_type -> hush.wallet.sdk.rpc.Empty + 12, // 12: hush.wallet.sdk.rpc.CompactTxStreamer.GetMempoolTx:input_type -> hush.wallet.sdk.rpc.Exclude + 6, // 13: hush.wallet.sdk.rpc.CompactTxStreamer.GetMempoolStream:input_type -> hush.wallet.sdk.rpc.Empty + 0, // 14: hush.wallet.sdk.rpc.CompactTxStreamer.GetLatestBlock:output_type -> hush.wallet.sdk.rpc.BlockID + 13, // 15: hush.wallet.sdk.rpc.CompactTxStreamer.GetBlock:output_type -> hush.wallet.sdk.rpc.CompactBlock + 13, // 16: hush.wallet.sdk.rpc.CompactTxStreamer.GetBlockRange:output_type -> hush.wallet.sdk.rpc.CompactBlock + 3, // 17: hush.wallet.sdk.rpc.CompactTxStreamer.GetTransaction:output_type -> hush.wallet.sdk.rpc.RawTransaction + 4, // 18: hush.wallet.sdk.rpc.CompactTxStreamer.SendTransaction:output_type -> hush.wallet.sdk.rpc.SendResponse + 3, // 19: hush.wallet.sdk.rpc.CompactTxStreamer.GetAddressTxids:output_type -> hush.wallet.sdk.rpc.RawTransaction + 7, // 20: hush.wallet.sdk.rpc.CompactTxStreamer.GetLightdInfo:output_type -> hush.wallet.sdk.rpc.LightdInfo + 8, // 21: hush.wallet.sdk.rpc.CompactTxStreamer.GetCoinsupply:output_type -> hush.wallet.sdk.rpc.Coinsupply + 14, // 22: hush.wallet.sdk.rpc.CompactTxStreamer.GetMempoolTx:output_type -> hush.wallet.sdk.rpc.CompactTx + 3, // 23: hush.wallet.sdk.rpc.CompactTxStreamer.GetMempoolStream:output_type -> hush.wallet.sdk.rpc.RawTransaction + 14, // [14:24] is the sub-list for method output_type + 4, // [4:14] 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_compact_formats_proto_init() + if !protoimpl.UnsafeEnabled { + file_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TxFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawTransaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Empty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LightdInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Coinsupply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransparentAddress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransparentAddressBlockFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Balance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Exclude); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, }, - }, - Metadata: "service.proto", + GoTypes: file_service_proto_goTypes, + DependencyIndexes: file_service_proto_depIdxs, + MessageInfos: file_service_proto_msgTypes, + }.Build() + File_service_proto = out.File + file_service_proto_rawDesc = nil + file_service_proto_goTypes = nil + file_service_proto_depIdxs = nil }