diff --git a/frontend/service.go b/frontend/service.go index 72d06d0..f124733 100644 --- a/frontend/service.go +++ b/frontend/service.go @@ -623,7 +623,7 @@ func (s *lwdStreamer) GetMempoolTx(exclude *walletrpc.Exclude, resp walletrpc.Co return errors.New("extra data deserializing transaction") } newmempoolMap[txidstr] = &walletrpc.CompactTx{} - if tx.HasSaplingElements() { + if tx.HasShieldedElements() { newmempoolMap[txidstr] = tx.ToCompact( /* height */ 0) } } diff --git a/walletrpc/compact_formats.pb.go b/walletrpc/compact_formats.pb.go index d9fcb69..583bfe9 100644 --- a/walletrpc/compact_formats.pb.go +++ b/walletrpc/compact_formats.pb.go @@ -1,124 +1,112 @@ -// Copyright (c) 2019-2020 The Zcash developers -// Distributed under the MIT software license, see the accompanying -// file COPYING or https://www.opensource.org/licenses/mit-license.php . - // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.6.1 // source: compact_formats.proto package walletrpc import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// 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 // CompactBlock is a packaging of ONLY the data from a block that's needed to: // 1. Detect a payment to your shielded Sapling address // 2. Detect a spend of your shielded Sapling notes // 3. Update your witnesses to generate new Sapling spend proofs. type CompactBlock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProtoVersion uint32 `protobuf:"varint,1,opt,name=protoVersion,proto3" json:"protoVersion,omitempty"` // the version of this wire format, for storage - Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // the height of this block - Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // the ID (hash) of this block, same as in block explorers - PrevHash []byte `protobuf:"bytes,4,opt,name=prevHash,proto3" json:"prevHash,omitempty"` // the ID (hash) of this block's predecessor - Time uint32 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"` // Unix epoch time when the block was mined - Header []byte `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"` // (hash, prevHash, and time) OR (full header) - Vtx []*CompactTx `protobuf:"bytes,7,rep,name=vtx,proto3" json:"vtx,omitempty"` // zero or more compact transactions from this block + ProtoVersion uint32 `protobuf:"varint,1,opt,name=protoVersion,proto3" json:"protoVersion,omitempty"` + Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` + Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` + PrevHash []byte `protobuf:"bytes,4,opt,name=prevHash,proto3" json:"prevHash,omitempty"` + Time uint32 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"` + Header []byte `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"` + Vtx []*CompactTx `protobuf:"bytes,7,rep,name=vtx,proto3" json:"vtx,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CompactBlock) Reset() { - *x = CompactBlock{} - if protoimpl.UnsafeEnabled { - mi := &file_compact_formats_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CompactBlock) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompactBlock) ProtoMessage() {} - -func (x *CompactBlock) ProtoReflect() protoreflect.Message { - mi := &file_compact_formats_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) -} - -// Deprecated: Use CompactBlock.ProtoReflect.Descriptor instead. +func (m *CompactBlock) Reset() { *m = CompactBlock{} } +func (m *CompactBlock) String() string { return proto.CompactTextString(m) } +func (*CompactBlock) ProtoMessage() {} func (*CompactBlock) Descriptor() ([]byte, []int) { - return file_compact_formats_proto_rawDescGZIP(), []int{0} + return fileDescriptor_dce29fee3ee34899, []int{0} } -func (x *CompactBlock) GetProtoVersion() uint32 { - if x != nil { - return x.ProtoVersion +func (m *CompactBlock) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompactBlock.Unmarshal(m, b) +} +func (m *CompactBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompactBlock.Marshal(b, m, deterministic) +} +func (m *CompactBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompactBlock.Merge(m, src) +} +func (m *CompactBlock) XXX_Size() int { + return xxx_messageInfo_CompactBlock.Size(m) +} +func (m *CompactBlock) XXX_DiscardUnknown() { + xxx_messageInfo_CompactBlock.DiscardUnknown(m) +} + +var xxx_messageInfo_CompactBlock proto.InternalMessageInfo + +func (m *CompactBlock) GetProtoVersion() uint32 { + if m != nil { + return m.ProtoVersion } return 0 } -func (x *CompactBlock) GetHeight() uint64 { - if x != nil { - return x.Height +func (m *CompactBlock) GetHeight() uint64 { + if m != nil { + return m.Height } return 0 } -func (x *CompactBlock) GetHash() []byte { - if x != nil { - return x.Hash +func (m *CompactBlock) GetHash() []byte { + if m != nil { + return m.Hash } return nil } -func (x *CompactBlock) GetPrevHash() []byte { - if x != nil { - return x.PrevHash +func (m *CompactBlock) GetPrevHash() []byte { + if m != nil { + return m.PrevHash } return nil } -func (x *CompactBlock) GetTime() uint32 { - if x != nil { - return x.Time +func (m *CompactBlock) GetTime() uint32 { + if m != nil { + return m.Time } return 0 } -func (x *CompactBlock) GetHeader() []byte { - if x != nil { - return x.Header +func (m *CompactBlock) GetHeader() []byte { + if m != nil { + return m.Header } return nil } -func (x *CompactBlock) GetVtx() []*CompactTx { - if x != nil { - return x.Vtx +func (m *CompactBlock) GetVtx() []*CompactTx { + if m != nil { + return m.Vtx } return nil } @@ -127,93 +115,85 @@ func (x *CompactBlock) GetVtx() []*CompactTx { // is relevant to it (either pays to it or spends from it) via shielded elements // only. This message will not encode a transparent-to-transparent transaction. type CompactTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // the index within the full block - Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // the ID (hash) of this transaction, same as in block explorers + Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // The transaction fee: present if server can provide. In the case of a // stateless server and a transaction with transparent inputs, this will be // unset because the calculation requires reference to prior transactions. // in a pure-Sapling context, the fee will be calculable as: // valueBalance + (sum(vPubNew) - sum(vPubOld) - sum(tOut)) - Fee uint32 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` - Spends []*CompactSaplingSpend `protobuf:"bytes,4,rep,name=spends,proto3" json:"spends,omitempty"` // inputs - Outputs []*CompactSaplingOutput `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` // outputs - Actions []*CompactOrchardAction `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"` + Fee uint32 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` + Spends []*CompactSaplingSpend `protobuf:"bytes,4,rep,name=spends,proto3" json:"spends,omitempty"` + Outputs []*CompactSaplingOutput `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` + Actions []*CompactOrchardAction `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CompactTx) Reset() { - *x = CompactTx{} - if protoimpl.UnsafeEnabled { - mi := &file_compact_formats_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CompactTx) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompactTx) ProtoMessage() {} - -func (x *CompactTx) ProtoReflect() protoreflect.Message { - mi := &file_compact_formats_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) -} - -// Deprecated: Use CompactTx.ProtoReflect.Descriptor instead. +func (m *CompactTx) Reset() { *m = CompactTx{} } +func (m *CompactTx) String() string { return proto.CompactTextString(m) } +func (*CompactTx) ProtoMessage() {} func (*CompactTx) Descriptor() ([]byte, []int) { - return file_compact_formats_proto_rawDescGZIP(), []int{1} + return fileDescriptor_dce29fee3ee34899, []int{1} } -func (x *CompactTx) GetIndex() uint64 { - if x != nil { - return x.Index +func (m *CompactTx) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompactTx.Unmarshal(m, b) +} +func (m *CompactTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompactTx.Marshal(b, m, deterministic) +} +func (m *CompactTx) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompactTx.Merge(m, src) +} +func (m *CompactTx) XXX_Size() int { + return xxx_messageInfo_CompactTx.Size(m) +} +func (m *CompactTx) XXX_DiscardUnknown() { + xxx_messageInfo_CompactTx.DiscardUnknown(m) +} + +var xxx_messageInfo_CompactTx proto.InternalMessageInfo + +func (m *CompactTx) GetIndex() uint64 { + if m != nil { + return m.Index } return 0 } -func (x *CompactTx) GetHash() []byte { - if x != nil { - return x.Hash +func (m *CompactTx) GetHash() []byte { + if m != nil { + return m.Hash } return nil } -func (x *CompactTx) GetFee() uint32 { - if x != nil { - return x.Fee +func (m *CompactTx) GetFee() uint32 { + if m != nil { + return m.Fee } return 0 } -func (x *CompactTx) GetSpends() []*CompactSaplingSpend { - if x != nil { - return x.Spends +func (m *CompactTx) GetSpends() []*CompactSaplingSpend { + if m != nil { + return m.Spends } return nil } -func (x *CompactTx) GetOutputs() []*CompactSaplingOutput { - if x != nil { - return x.Outputs +func (m *CompactTx) GetOutputs() []*CompactSaplingOutput { + if m != nil { + return m.Outputs } return nil } -func (x *CompactTx) GetActions() []*CompactOrchardAction { - if x != nil { - return x.Actions +func (m *CompactTx) GetActions() []*CompactOrchardAction { + if m != nil { + return m.Actions } return nil } @@ -221,48 +201,40 @@ func (x *CompactTx) GetActions() []*CompactOrchardAction { // CompactSaplingSpend is a Sapling Spend Description as described in 7.3 of the Zcash // protocol specification. type CompactSaplingSpend struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Nf []byte `protobuf:"bytes,1,opt,name=nf,proto3" json:"nf,omitempty"` // nullifier (see the Zcash protocol specification) + Nf []byte `protobuf:"bytes,1,opt,name=nf,proto3" json:"nf,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CompactSaplingSpend) Reset() { - *x = CompactSaplingSpend{} - if protoimpl.UnsafeEnabled { - mi := &file_compact_formats_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CompactSaplingSpend) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompactSaplingSpend) ProtoMessage() {} - -func (x *CompactSaplingSpend) ProtoReflect() protoreflect.Message { - mi := &file_compact_formats_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) -} - -// Deprecated: Use CompactSaplingSpend.ProtoReflect.Descriptor instead. +func (m *CompactSaplingSpend) Reset() { *m = CompactSaplingSpend{} } +func (m *CompactSaplingSpend) String() string { return proto.CompactTextString(m) } +func (*CompactSaplingSpend) ProtoMessage() {} func (*CompactSaplingSpend) Descriptor() ([]byte, []int) { - return file_compact_formats_proto_rawDescGZIP(), []int{2} + return fileDescriptor_dce29fee3ee34899, []int{2} } -func (x *CompactSaplingSpend) GetNf() []byte { - if x != nil { - return x.Nf +func (m *CompactSaplingSpend) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompactSaplingSpend.Unmarshal(m, b) +} +func (m *CompactSaplingSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompactSaplingSpend.Marshal(b, m, deterministic) +} +func (m *CompactSaplingSpend) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompactSaplingSpend.Merge(m, src) +} +func (m *CompactSaplingSpend) XXX_Size() int { + return xxx_messageInfo_CompactSaplingSpend.Size(m) +} +func (m *CompactSaplingSpend) XXX_DiscardUnknown() { + xxx_messageInfo_CompactSaplingSpend.DiscardUnknown(m) +} + +var xxx_messageInfo_CompactSaplingSpend proto.InternalMessageInfo + +func (m *CompactSaplingSpend) GetNf() []byte { + if m != nil { + return m.Nf } return nil } @@ -270,64 +242,56 @@ func (x *CompactSaplingSpend) GetNf() []byte { // output is a Sapling Output Description as described in section 7.4 of the // Zcash protocol spec. Total size is 948. type CompactSaplingOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cmu []byte `protobuf:"bytes,1,opt,name=cmu,proto3" json:"cmu,omitempty"` // note commitment u-coordinate - Epk []byte `protobuf:"bytes,2,opt,name=epk,proto3" json:"epk,omitempty"` // ephemeral public key - Ciphertext []byte `protobuf:"bytes,3,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` // first 52 bytes of ciphertext + Cmu []byte `protobuf:"bytes,1,opt,name=cmu,proto3" json:"cmu,omitempty"` + Epk []byte `protobuf:"bytes,2,opt,name=epk,proto3" json:"epk,omitempty"` + Ciphertext []byte `protobuf:"bytes,3,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CompactSaplingOutput) Reset() { - *x = CompactSaplingOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_compact_formats_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CompactSaplingOutput) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompactSaplingOutput) ProtoMessage() {} - -func (x *CompactSaplingOutput) ProtoReflect() protoreflect.Message { - mi := &file_compact_formats_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) -} - -// Deprecated: Use CompactSaplingOutput.ProtoReflect.Descriptor instead. +func (m *CompactSaplingOutput) Reset() { *m = CompactSaplingOutput{} } +func (m *CompactSaplingOutput) String() string { return proto.CompactTextString(m) } +func (*CompactSaplingOutput) ProtoMessage() {} func (*CompactSaplingOutput) Descriptor() ([]byte, []int) { - return file_compact_formats_proto_rawDescGZIP(), []int{3} + return fileDescriptor_dce29fee3ee34899, []int{3} } -func (x *CompactSaplingOutput) GetCmu() []byte { - if x != nil { - return x.Cmu +func (m *CompactSaplingOutput) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompactSaplingOutput.Unmarshal(m, b) +} +func (m *CompactSaplingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompactSaplingOutput.Marshal(b, m, deterministic) +} +func (m *CompactSaplingOutput) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompactSaplingOutput.Merge(m, src) +} +func (m *CompactSaplingOutput) XXX_Size() int { + return xxx_messageInfo_CompactSaplingOutput.Size(m) +} +func (m *CompactSaplingOutput) XXX_DiscardUnknown() { + xxx_messageInfo_CompactSaplingOutput.DiscardUnknown(m) +} + +var xxx_messageInfo_CompactSaplingOutput proto.InternalMessageInfo + +func (m *CompactSaplingOutput) GetCmu() []byte { + if m != nil { + return m.Cmu } return nil } -func (x *CompactSaplingOutput) GetEpk() []byte { - if x != nil { - return x.Epk +func (m *CompactSaplingOutput) GetEpk() []byte { + if m != nil { + return m.Epk } return nil } -func (x *CompactSaplingOutput) GetCiphertext() []byte { - if x != nil { - return x.Ciphertext +func (m *CompactSaplingOutput) GetCiphertext() []byte { + if m != nil { + return m.Ciphertext } return nil } @@ -335,250 +299,106 @@ func (x *CompactSaplingOutput) GetCiphertext() []byte { // https://github.com/zcash/zips/blob/main/zip-0225.rst#orchard-action-description-orchardaction // (but not all fields are needed) type CompactOrchardAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Nullifier []byte `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // [32] The nullifier of the input note - Cmx []byte `protobuf:"bytes,2,opt,name=cmx,proto3" json:"cmx,omitempty"` // [32] The x-coordinate of the note commitment for the output note - EphemeralKey []byte `protobuf:"bytes,3,opt,name=ephemeralKey,proto3" json:"ephemeralKey,omitempty"` // [32] An encoding of an ephemeral Pallas public key - Ciphertext []byte `protobuf:"bytes,4,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` // [52] The note plaintext component of the encCiphertext field + Nullifier []byte `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Cmx []byte `protobuf:"bytes,2,opt,name=cmx,proto3" json:"cmx,omitempty"` + EphemeralKey []byte `protobuf:"bytes,3,opt,name=ephemeralKey,proto3" json:"ephemeralKey,omitempty"` + Ciphertext []byte `protobuf:"bytes,4,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CompactOrchardAction) Reset() { - *x = CompactOrchardAction{} - if protoimpl.UnsafeEnabled { - mi := &file_compact_formats_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CompactOrchardAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompactOrchardAction) ProtoMessage() {} - -func (x *CompactOrchardAction) ProtoReflect() protoreflect.Message { - mi := &file_compact_formats_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) -} - -// Deprecated: Use CompactOrchardAction.ProtoReflect.Descriptor instead. +func (m *CompactOrchardAction) Reset() { *m = CompactOrchardAction{} } +func (m *CompactOrchardAction) String() string { return proto.CompactTextString(m) } +func (*CompactOrchardAction) ProtoMessage() {} func (*CompactOrchardAction) Descriptor() ([]byte, []int) { - return file_compact_formats_proto_rawDescGZIP(), []int{4} + return fileDescriptor_dce29fee3ee34899, []int{4} } -func (x *CompactOrchardAction) GetNullifier() []byte { - if x != nil { - return x.Nullifier +func (m *CompactOrchardAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompactOrchardAction.Unmarshal(m, b) +} +func (m *CompactOrchardAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompactOrchardAction.Marshal(b, m, deterministic) +} +func (m *CompactOrchardAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompactOrchardAction.Merge(m, src) +} +func (m *CompactOrchardAction) XXX_Size() int { + return xxx_messageInfo_CompactOrchardAction.Size(m) +} +func (m *CompactOrchardAction) XXX_DiscardUnknown() { + xxx_messageInfo_CompactOrchardAction.DiscardUnknown(m) +} + +var xxx_messageInfo_CompactOrchardAction proto.InternalMessageInfo + +func (m *CompactOrchardAction) GetNullifier() []byte { + if m != nil { + return m.Nullifier } return nil } -func (x *CompactOrchardAction) GetCmx() []byte { - if x != nil { - return x.Cmx +func (m *CompactOrchardAction) GetCmx() []byte { + if m != nil { + return m.Cmx } return nil } -func (x *CompactOrchardAction) GetEphemeralKey() []byte { - if x != nil { - return x.EphemeralKey +func (m *CompactOrchardAction) GetEphemeralKey() []byte { + if m != nil { + return m.EphemeralKey } return nil } -func (x *CompactOrchardAction) GetCiphertext() []byte { - if x != nil { - return x.Ciphertext +func (m *CompactOrchardAction) GetCiphertext() []byte { + if m != nil { + return m.Ciphertext } return nil } -var File_compact_formats_proto protoreflect.FileDescriptor - -var file_compact_formats_proto_rawDesc = []byte{ - 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x22, 0xda, - 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, - 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x76, 0x48, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x70, 0x72, 0x65, 0x76, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x03, 0x76, 0x74, 0x78, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x52, 0x03, 0x76, 0x74, 0x78, 0x22, 0x99, 0x02, 0x0a, 0x09, - 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x54, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, - 0x61, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, - 0x6d, 0x70, 0x61, 0x63, 0x74, 0x53, 0x61, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x52, 0x06, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x45, 0x0a, 0x07, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x61, 0x73, - 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x53, 0x61, 0x70, 0x6c, 0x69, 0x6e, - 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x12, 0x45, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, - 0x74, 0x4f, 0x72, 0x63, 0x68, 0x61, 0x72, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x61, - 0x63, 0x74, 0x53, 0x61, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x0e, - 0x0a, 0x02, 0x6e, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x66, 0x22, 0x5a, - 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x53, 0x61, 0x70, 0x6c, 0x69, 0x6e, 0x67, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6d, 0x75, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x6d, 0x75, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x70, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x69, - 0x70, 0x68, 0x65, 0x72, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, - 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x74, 0x65, 0x78, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x43, - 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x4f, 0x72, 0x63, 0x68, 0x61, 0x72, 0x64, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6d, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x63, 0x6d, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, - 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x65, 0x70, 0x68, 0x65, 0x6d, - 0x65, 0x72, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, - 0x72, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x69, 0x70, - 0x68, 0x65, 0x72, 0x74, 0x65, 0x78, 0x74, 0x42, 0x1b, 0x5a, 0x16, 0x6c, 0x69, 0x67, 0x68, 0x74, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x64, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, - 0x63, 0xba, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*CompactBlock)(nil), "cash.z.wallet.sdk.rpc.CompactBlock") + proto.RegisterType((*CompactTx)(nil), "cash.z.wallet.sdk.rpc.CompactTx") + proto.RegisterType((*CompactSaplingSpend)(nil), "cash.z.wallet.sdk.rpc.CompactSaplingSpend") + proto.RegisterType((*CompactSaplingOutput)(nil), "cash.z.wallet.sdk.rpc.CompactSaplingOutput") + proto.RegisterType((*CompactOrchardAction)(nil), "cash.z.wallet.sdk.rpc.CompactOrchardAction") } -var ( - file_compact_formats_proto_rawDescOnce sync.Once - file_compact_formats_proto_rawDescData = file_compact_formats_proto_rawDesc -) +func init() { proto.RegisterFile("compact_formats.proto", fileDescriptor_dce29fee3ee34899) } -func file_compact_formats_proto_rawDescGZIP() []byte { - file_compact_formats_proto_rawDescOnce.Do(func() { - file_compact_formats_proto_rawDescData = protoimpl.X.CompressGZIP(file_compact_formats_proto_rawDescData) - }) - return file_compact_formats_proto_rawDescData -} - -var file_compact_formats_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_compact_formats_proto_goTypes = []interface{}{ - (*CompactBlock)(nil), // 0: cash.z.wallet.sdk.rpc.CompactBlock - (*CompactTx)(nil), // 1: cash.z.wallet.sdk.rpc.CompactTx - (*CompactSaplingSpend)(nil), // 2: cash.z.wallet.sdk.rpc.CompactSaplingSpend - (*CompactSaplingOutput)(nil), // 3: cash.z.wallet.sdk.rpc.CompactSaplingOutput - (*CompactOrchardAction)(nil), // 4: cash.z.wallet.sdk.rpc.CompactOrchardAction -} -var file_compact_formats_proto_depIdxs = []int32{ - 1, // 0: cash.z.wallet.sdk.rpc.CompactBlock.vtx:type_name -> cash.z.wallet.sdk.rpc.CompactTx - 2, // 1: cash.z.wallet.sdk.rpc.CompactTx.spends:type_name -> cash.z.wallet.sdk.rpc.CompactSaplingSpend - 3, // 2: cash.z.wallet.sdk.rpc.CompactTx.outputs:type_name -> cash.z.wallet.sdk.rpc.CompactSaplingOutput - 4, // 3: cash.z.wallet.sdk.rpc.CompactTx.actions:type_name -> cash.z.wallet.sdk.rpc.CompactOrchardAction - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] 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_compact_formats_proto_init() } -func file_compact_formats_proto_init() { - if File_compact_formats_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_compact_formats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompactBlock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_compact_formats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompactTx); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_compact_formats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompactSaplingSpend); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_compact_formats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompactSaplingOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_compact_formats_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompactOrchardAction); 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_compact_formats_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_compact_formats_proto_goTypes, - DependencyIndexes: file_compact_formats_proto_depIdxs, - MessageInfos: file_compact_formats_proto_msgTypes, - }.Build() - File_compact_formats_proto = out.File - file_compact_formats_proto_rawDesc = nil - file_compact_formats_proto_goTypes = nil - file_compact_formats_proto_depIdxs = nil +var fileDescriptor_dce29fee3ee34899 = []byte{ + // 440 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0x14, 0x31, + 0x14, 0x76, 0x66, 0x67, 0xa7, 0xf6, 0xb8, 0x15, 0x89, 0x6d, 0x09, 0x2a, 0x32, 0x0c, 0x08, 0x8b, + 0xc2, 0x08, 0xf5, 0x09, 0x5c, 0x11, 0x04, 0x2f, 0x0a, 0xa9, 0x78, 0xd1, 0x1b, 0x89, 0x99, 0x33, + 0x9d, 0xb0, 0xf3, 0x13, 0x92, 0x6c, 0x1d, 0x7d, 0x04, 0xdf, 0xc0, 0x57, 0xf1, 0x51, 0x7c, 0x1a, + 0x49, 0x26, 0x3b, 0x76, 0xcb, 0x22, 0xbd, 0xca, 0xc9, 0xc7, 0xf9, 0x7e, 0xce, 0xe1, 0xc0, 0x89, + 0xe8, 0x5b, 0xc5, 0x85, 0xfd, 0x52, 0xf5, 0xba, 0xe5, 0xd6, 0x14, 0x4a, 0xf7, 0xb6, 0x27, 0x27, + 0x82, 0x9b, 0xba, 0xf8, 0x51, 0x7c, 0xe3, 0x4d, 0x83, 0xb6, 0x30, 0xe5, 0xba, 0xd0, 0x4a, 0xe4, + 0x7f, 0x22, 0x58, 0xbc, 0x1b, 0x09, 0xab, 0xa6, 0x17, 0x6b, 0x92, 0xc3, 0xc2, 0x13, 0x3e, 0xa3, + 0x36, 0xb2, 0xef, 0x68, 0x94, 0x45, 0xcb, 0x23, 0xb6, 0x83, 0x91, 0x53, 0x48, 0x6b, 0x94, 0x57, + 0xb5, 0xa5, 0x71, 0x16, 0x2d, 0x13, 0x16, 0x7e, 0x84, 0x40, 0x52, 0x73, 0x53, 0xd3, 0x59, 0x16, + 0x2d, 0x17, 0xcc, 0xd7, 0xe4, 0x09, 0xdc, 0x57, 0x1a, 0xaf, 0x3f, 0x38, 0x3c, 0xf1, 0xf8, 0xf4, + 0x77, 0xfd, 0x56, 0xb6, 0x48, 0xe7, 0xde, 0xc3, 0xd7, 0xa3, 0x36, 0x2f, 0x51, 0xd3, 0xd4, 0x77, + 0x87, 0x1f, 0x39, 0x83, 0xd9, 0xb5, 0x1d, 0xe8, 0x41, 0x36, 0x5b, 0x3e, 0x38, 0xcb, 0x8a, 0xbd, + 0xd3, 0x14, 0x61, 0x92, 0x4f, 0x03, 0x73, 0xcd, 0xf9, 0xaf, 0x18, 0x0e, 0x27, 0x88, 0x1c, 0xc3, + 0x5c, 0x76, 0x25, 0x0e, 0x7e, 0xa4, 0x84, 0x8d, 0x9f, 0x29, 0x73, 0x7c, 0x23, 0xf3, 0x23, 0x98, + 0x55, 0x88, 0x7e, 0x8c, 0x23, 0xe6, 0x4a, 0xb2, 0x82, 0xd4, 0x28, 0xec, 0x4a, 0x43, 0x13, 0x1f, + 0xe0, 0xe5, 0xff, 0x03, 0x5c, 0x70, 0xd5, 0xc8, 0xee, 0xea, 0xc2, 0x51, 0x58, 0x60, 0x92, 0xf7, + 0x70, 0xd0, 0x6f, 0xac, 0xda, 0x58, 0x43, 0xe7, 0x5e, 0xe4, 0xd5, 0x9d, 0x44, 0xce, 0x3d, 0x87, + 0x6d, 0xb9, 0x4e, 0x86, 0x0b, 0x2b, 0xfb, 0xce, 0xd0, 0xf4, 0x2e, 0x32, 0xe7, 0x5a, 0xd4, 0x5c, + 0x97, 0x6f, 0x3d, 0x87, 0x6d, 0xb9, 0xf9, 0x0b, 0x78, 0xbc, 0x27, 0x2c, 0x79, 0x08, 0x71, 0x57, + 0xf9, 0x0d, 0x2d, 0x58, 0xdc, 0x55, 0xf9, 0x25, 0x1c, 0xef, 0x8b, 0xe3, 0x56, 0x24, 0xda, 0x4d, + 0x68, 0x74, 0xa5, 0x43, 0x50, 0xad, 0xc3, 0x1e, 0x5d, 0x49, 0x9e, 0x03, 0x08, 0xa9, 0x6a, 0xd4, + 0x16, 0x07, 0x1b, 0x8e, 0xe2, 0x06, 0x92, 0xff, 0x8c, 0x26, 0xf1, 0x9d, 0x90, 0xe4, 0x19, 0x1c, + 0x76, 0x9b, 0xa6, 0x91, 0x95, 0x44, 0x1d, 0x2c, 0xfe, 0x01, 0xa3, 0xf5, 0xb0, 0x35, 0x12, 0xed, + 0xe0, 0x6e, 0x16, 0x55, 0x8d, 0x2d, 0x6a, 0xde, 0x7c, 0xc4, 0xef, 0xc1, 0x6a, 0x07, 0xbb, 0x15, + 0x26, 0xb9, 0x1d, 0x66, 0xf5, 0xf4, 0xf2, 0xb4, 0x71, 0x47, 0x3c, 0x2e, 0xb1, 0x7c, 0x3d, 0xbe, + 0x5a, 0x89, 0xdf, 0xf1, 0xbd, 0xaf, 0xa9, 0x3f, 0xff, 0x37, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, + 0x97, 0xbc, 0xe4, 0x62, 0x5c, 0x03, 0x00, 0x00, } diff --git a/walletrpc/darkside.pb.go b/walletrpc/darkside.pb.go index 91b2737..cbb096e 100644 --- a/walletrpc/darkside.pb.go +++ b/walletrpc/darkside.pb.go @@ -1,136 +1,116 @@ -// Copyright (c) 2019-2020 The Zcash developers -// Distributed under the MIT software license, see the accompanying -// file COPYING or https://www.opensource.org/licenses/mit-license.php . - // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.1 -// protoc v3.15.7 // source: darkside.proto package walletrpc import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// 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 type DarksideMetaState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SaplingActivation int32 `protobuf:"varint,1,opt,name=saplingActivation,proto3" json:"saplingActivation,omitempty"` - BranchID string `protobuf:"bytes,2,opt,name=branchID,proto3" json:"branchID,omitempty"` - ChainName string `protobuf:"bytes,3,opt,name=chainName,proto3" json:"chainName,omitempty"` + SaplingActivation int32 `protobuf:"varint,1,opt,name=saplingActivation,proto3" json:"saplingActivation,omitempty"` + BranchID string `protobuf:"bytes,2,opt,name=branchID,proto3" json:"branchID,omitempty"` + ChainName string `protobuf:"bytes,3,opt,name=chainName,proto3" json:"chainName,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DarksideMetaState) Reset() { - *x = DarksideMetaState{} - if protoimpl.UnsafeEnabled { - mi := &file_darkside_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DarksideMetaState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DarksideMetaState) ProtoMessage() {} - -func (x *DarksideMetaState) ProtoReflect() protoreflect.Message { - mi := &file_darkside_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) -} - -// Deprecated: Use DarksideMetaState.ProtoReflect.Descriptor instead. +func (m *DarksideMetaState) Reset() { *m = DarksideMetaState{} } +func (m *DarksideMetaState) String() string { return proto.CompactTextString(m) } +func (*DarksideMetaState) ProtoMessage() {} func (*DarksideMetaState) Descriptor() ([]byte, []int) { - return file_darkside_proto_rawDescGZIP(), []int{0} + return fileDescriptor_5ea18aa1b2b1f163, []int{0} } -func (x *DarksideMetaState) GetSaplingActivation() int32 { - if x != nil { - return x.SaplingActivation +func (m *DarksideMetaState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DarksideMetaState.Unmarshal(m, b) +} +func (m *DarksideMetaState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DarksideMetaState.Marshal(b, m, deterministic) +} +func (m *DarksideMetaState) XXX_Merge(src proto.Message) { + xxx_messageInfo_DarksideMetaState.Merge(m, src) +} +func (m *DarksideMetaState) XXX_Size() int { + return xxx_messageInfo_DarksideMetaState.Size(m) +} +func (m *DarksideMetaState) XXX_DiscardUnknown() { + xxx_messageInfo_DarksideMetaState.DiscardUnknown(m) +} + +var xxx_messageInfo_DarksideMetaState proto.InternalMessageInfo + +func (m *DarksideMetaState) GetSaplingActivation() int32 { + if m != nil { + return m.SaplingActivation } return 0 } -func (x *DarksideMetaState) GetBranchID() string { - if x != nil { - return x.BranchID +func (m *DarksideMetaState) GetBranchID() string { + if m != nil { + return m.BranchID } return "" } -func (x *DarksideMetaState) GetChainName() string { - if x != nil { - return x.ChainName +func (m *DarksideMetaState) GetChainName() string { + if m != nil { + return m.ChainName } return "" } // A block is a hex-encoded string. type DarksideBlock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DarksideBlock) Reset() { - *x = DarksideBlock{} - if protoimpl.UnsafeEnabled { - mi := &file_darkside_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DarksideBlock) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DarksideBlock) ProtoMessage() {} - -func (x *DarksideBlock) ProtoReflect() protoreflect.Message { - mi := &file_darkside_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) -} - -// Deprecated: Use DarksideBlock.ProtoReflect.Descriptor instead. +func (m *DarksideBlock) Reset() { *m = DarksideBlock{} } +func (m *DarksideBlock) String() string { return proto.CompactTextString(m) } +func (*DarksideBlock) ProtoMessage() {} func (*DarksideBlock) Descriptor() ([]byte, []int) { - return file_darkside_proto_rawDescGZIP(), []int{1} + return fileDescriptor_5ea18aa1b2b1f163, []int{1} } -func (x *DarksideBlock) GetBlock() string { - if x != nil { - return x.Block +func (m *DarksideBlock) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DarksideBlock.Unmarshal(m, b) +} +func (m *DarksideBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DarksideBlock.Marshal(b, m, deterministic) +} +func (m *DarksideBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_DarksideBlock.Merge(m, src) +} +func (m *DarksideBlock) XXX_Size() int { + return xxx_messageInfo_DarksideBlock.Size(m) +} +func (m *DarksideBlock) XXX_DiscardUnknown() { + xxx_messageInfo_DarksideBlock.DiscardUnknown(m) +} + +var xxx_messageInfo_DarksideBlock proto.InternalMessageInfo + +func (m *DarksideBlock) GetBlock() string { + if m != nil { + return m.Block } return "" } @@ -138,48 +118,40 @@ func (x *DarksideBlock) GetBlock() string { // DarksideBlocksURL is typically something like: // https://raw.githubusercontent.com/zcash-hackworks/darksidewalletd-test-data/master/basic-reorg/before-reorg.txt type DarksideBlocksURL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DarksideBlocksURL) Reset() { - *x = DarksideBlocksURL{} - if protoimpl.UnsafeEnabled { - mi := &file_darkside_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DarksideBlocksURL) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DarksideBlocksURL) ProtoMessage() {} - -func (x *DarksideBlocksURL) ProtoReflect() protoreflect.Message { - mi := &file_darkside_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) -} - -// Deprecated: Use DarksideBlocksURL.ProtoReflect.Descriptor instead. +func (m *DarksideBlocksURL) Reset() { *m = DarksideBlocksURL{} } +func (m *DarksideBlocksURL) String() string { return proto.CompactTextString(m) } +func (*DarksideBlocksURL) ProtoMessage() {} func (*DarksideBlocksURL) Descriptor() ([]byte, []int) { - return file_darkside_proto_rawDescGZIP(), []int{2} + return fileDescriptor_5ea18aa1b2b1f163, []int{2} } -func (x *DarksideBlocksURL) GetUrl() string { - if x != nil { - return x.Url +func (m *DarksideBlocksURL) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DarksideBlocksURL.Unmarshal(m, b) +} +func (m *DarksideBlocksURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DarksideBlocksURL.Marshal(b, m, deterministic) +} +func (m *DarksideBlocksURL) XXX_Merge(src proto.Message) { + xxx_messageInfo_DarksideBlocksURL.Merge(m, src) +} +func (m *DarksideBlocksURL) XXX_Size() int { + return xxx_messageInfo_DarksideBlocksURL.Size(m) +} +func (m *DarksideBlocksURL) XXX_DiscardUnknown() { + xxx_messageInfo_DarksideBlocksURL.DiscardUnknown(m) +} + +var xxx_messageInfo_DarksideBlocksURL proto.InternalMessageInfo + +func (m *DarksideBlocksURL) GetUrl() string { + if m != nil { + return m.Url } return "" } @@ -188,405 +160,187 @@ func (x *DarksideBlocksURL) GetUrl() string { // of hex-encoded transactions, one per line, that are to be associated // with the given height (fake-mined into the block at that height) type DarksideTransactionsURL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DarksideTransactionsURL) Reset() { - *x = DarksideTransactionsURL{} - if protoimpl.UnsafeEnabled { - mi := &file_darkside_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DarksideTransactionsURL) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DarksideTransactionsURL) ProtoMessage() {} - -func (x *DarksideTransactionsURL) ProtoReflect() protoreflect.Message { - mi := &file_darkside_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) -} - -// Deprecated: Use DarksideTransactionsURL.ProtoReflect.Descriptor instead. +func (m *DarksideTransactionsURL) Reset() { *m = DarksideTransactionsURL{} } +func (m *DarksideTransactionsURL) String() string { return proto.CompactTextString(m) } +func (*DarksideTransactionsURL) ProtoMessage() {} func (*DarksideTransactionsURL) Descriptor() ([]byte, []int) { - return file_darkside_proto_rawDescGZIP(), []int{3} + return fileDescriptor_5ea18aa1b2b1f163, []int{3} } -func (x *DarksideTransactionsURL) GetHeight() int32 { - if x != nil { - return x.Height +func (m *DarksideTransactionsURL) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DarksideTransactionsURL.Unmarshal(m, b) +} +func (m *DarksideTransactionsURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DarksideTransactionsURL.Marshal(b, m, deterministic) +} +func (m *DarksideTransactionsURL) XXX_Merge(src proto.Message) { + xxx_messageInfo_DarksideTransactionsURL.Merge(m, src) +} +func (m *DarksideTransactionsURL) XXX_Size() int { + return xxx_messageInfo_DarksideTransactionsURL.Size(m) +} +func (m *DarksideTransactionsURL) XXX_DiscardUnknown() { + xxx_messageInfo_DarksideTransactionsURL.DiscardUnknown(m) +} + +var xxx_messageInfo_DarksideTransactionsURL proto.InternalMessageInfo + +func (m *DarksideTransactionsURL) GetHeight() int32 { + if m != nil { + return m.Height } return 0 } -func (x *DarksideTransactionsURL) GetUrl() string { - if x != nil { - return x.Url +func (m *DarksideTransactionsURL) GetUrl() string { + if m != nil { + return m.Url } return "" } type DarksideHeight struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DarksideHeight) Reset() { - *x = DarksideHeight{} - if protoimpl.UnsafeEnabled { - mi := &file_darkside_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DarksideHeight) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DarksideHeight) ProtoMessage() {} - -func (x *DarksideHeight) ProtoReflect() protoreflect.Message { - mi := &file_darkside_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) -} - -// Deprecated: Use DarksideHeight.ProtoReflect.Descriptor instead. +func (m *DarksideHeight) Reset() { *m = DarksideHeight{} } +func (m *DarksideHeight) String() string { return proto.CompactTextString(m) } +func (*DarksideHeight) ProtoMessage() {} func (*DarksideHeight) Descriptor() ([]byte, []int) { - return file_darkside_proto_rawDescGZIP(), []int{4} + return fileDescriptor_5ea18aa1b2b1f163, []int{4} } -func (x *DarksideHeight) GetHeight() int32 { - if x != nil { - return x.Height +func (m *DarksideHeight) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DarksideHeight.Unmarshal(m, b) +} +func (m *DarksideHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DarksideHeight.Marshal(b, m, deterministic) +} +func (m *DarksideHeight) XXX_Merge(src proto.Message) { + xxx_messageInfo_DarksideHeight.Merge(m, src) +} +func (m *DarksideHeight) XXX_Size() int { + return xxx_messageInfo_DarksideHeight.Size(m) +} +func (m *DarksideHeight) XXX_DiscardUnknown() { + xxx_messageInfo_DarksideHeight.DiscardUnknown(m) +} + +var xxx_messageInfo_DarksideHeight proto.InternalMessageInfo + +func (m *DarksideHeight) GetHeight() int32 { + if m != nil { + return m.Height } return 0 } type DarksideEmptyBlocks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - Nonce int32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` + Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + Nonce int32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DarksideEmptyBlocks) Reset() { - *x = DarksideEmptyBlocks{} - if protoimpl.UnsafeEnabled { - mi := &file_darkside_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DarksideEmptyBlocks) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DarksideEmptyBlocks) ProtoMessage() {} - -func (x *DarksideEmptyBlocks) ProtoReflect() protoreflect.Message { - mi := &file_darkside_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) -} - -// Deprecated: Use DarksideEmptyBlocks.ProtoReflect.Descriptor instead. +func (m *DarksideEmptyBlocks) Reset() { *m = DarksideEmptyBlocks{} } +func (m *DarksideEmptyBlocks) String() string { return proto.CompactTextString(m) } +func (*DarksideEmptyBlocks) ProtoMessage() {} func (*DarksideEmptyBlocks) Descriptor() ([]byte, []int) { - return file_darkside_proto_rawDescGZIP(), []int{5} + return fileDescriptor_5ea18aa1b2b1f163, []int{5} } -func (x *DarksideEmptyBlocks) GetHeight() int32 { - if x != nil { - return x.Height +func (m *DarksideEmptyBlocks) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DarksideEmptyBlocks.Unmarshal(m, b) +} +func (m *DarksideEmptyBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DarksideEmptyBlocks.Marshal(b, m, deterministic) +} +func (m *DarksideEmptyBlocks) XXX_Merge(src proto.Message) { + xxx_messageInfo_DarksideEmptyBlocks.Merge(m, src) +} +func (m *DarksideEmptyBlocks) XXX_Size() int { + return xxx_messageInfo_DarksideEmptyBlocks.Size(m) +} +func (m *DarksideEmptyBlocks) XXX_DiscardUnknown() { + xxx_messageInfo_DarksideEmptyBlocks.DiscardUnknown(m) +} + +var xxx_messageInfo_DarksideEmptyBlocks proto.InternalMessageInfo + +func (m *DarksideEmptyBlocks) GetHeight() int32 { + if m != nil { + return m.Height } return 0 } -func (x *DarksideEmptyBlocks) GetNonce() int32 { - if x != nil { - return x.Nonce +func (m *DarksideEmptyBlocks) GetNonce() int32 { + if m != nil { + return m.Nonce } return 0 } -func (x *DarksideEmptyBlocks) GetCount() int32 { - if x != nil { - return x.Count +func (m *DarksideEmptyBlocks) GetCount() int32 { + if m != nil { + return m.Count } return 0 } -var File_darkside_proto protoreflect.FileDescriptor - -var file_darkside_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x64, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x15, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, - 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x11, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, - 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x73, - 0x61, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x73, 0x61, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x25, 0x0a, 0x11, 0x44, 0x61, - 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x55, 0x52, 0x4c, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x22, 0x43, 0x0a, 0x17, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x55, 0x52, 0x4c, 0x12, 0x16, 0x0a, 0x06, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, - 0x64, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x22, 0x59, 0x0a, 0x13, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xda, 0x06, 0x0a, 0x10, - 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, - 0x12, 0x51, 0x0a, 0x05, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x63, 0x61, 0x73, 0x68, - 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x67, 0x65, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x24, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, - 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x1c, - 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, - 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x28, 0x01, - 0x12, 0x57, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x67, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, - 0x28, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, - 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x55, 0x52, 0x4c, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, - 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x11, 0x53, 0x74, 0x61, - 0x67, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, - 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, - 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x61, 0x72, 0x6b, 0x73, 0x69, 0x64, 0x65, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x73, - 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x17, 0x53, 0x74, - 0x61, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x1c, 0x2e, 0x63, - 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x28, 0x01, 0x12, 0x63, - 0x0a, 0x11, 0x53, 0x74, 0x61, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x61, 0x72, 0x6b, - 0x73, 0x69, 0x64, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x55, 0x52, 0x4c, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, - 0x65, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x61, 0x72, 0x6b, 0x73, - 0x69, 0x64, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, - 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x17, 0x47, 0x65, 0x74, - 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x59, 0x0a, - 0x19, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x63, 0x61, 0x73, - 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, - 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x1b, 0x5a, 0x16, 0x6c, 0x69, 0x67, 0x68, - 0x74, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x64, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, - 0x70, 0x63, 0xba, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*DarksideMetaState)(nil), "cash.z.wallet.sdk.rpc.DarksideMetaState") + proto.RegisterType((*DarksideBlock)(nil), "cash.z.wallet.sdk.rpc.DarksideBlock") + proto.RegisterType((*DarksideBlocksURL)(nil), "cash.z.wallet.sdk.rpc.DarksideBlocksURL") + proto.RegisterType((*DarksideTransactionsURL)(nil), "cash.z.wallet.sdk.rpc.DarksideTransactionsURL") + proto.RegisterType((*DarksideHeight)(nil), "cash.z.wallet.sdk.rpc.DarksideHeight") + proto.RegisterType((*DarksideEmptyBlocks)(nil), "cash.z.wallet.sdk.rpc.DarksideEmptyBlocks") } -var ( - file_darkside_proto_rawDescOnce sync.Once - file_darkside_proto_rawDescData = file_darkside_proto_rawDesc -) +func init() { proto.RegisterFile("darkside.proto", fileDescriptor_5ea18aa1b2b1f163) } -func file_darkside_proto_rawDescGZIP() []byte { - file_darkside_proto_rawDescOnce.Do(func() { - file_darkside_proto_rawDescData = protoimpl.X.CompressGZIP(file_darkside_proto_rawDescData) - }) - return file_darkside_proto_rawDescData -} - -var file_darkside_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_darkside_proto_goTypes = []interface{}{ - (*DarksideMetaState)(nil), // 0: cash.z.wallet.sdk.rpc.DarksideMetaState - (*DarksideBlock)(nil), // 1: cash.z.wallet.sdk.rpc.DarksideBlock - (*DarksideBlocksURL)(nil), // 2: cash.z.wallet.sdk.rpc.DarksideBlocksURL - (*DarksideTransactionsURL)(nil), // 3: cash.z.wallet.sdk.rpc.DarksideTransactionsURL - (*DarksideHeight)(nil), // 4: cash.z.wallet.sdk.rpc.DarksideHeight - (*DarksideEmptyBlocks)(nil), // 5: cash.z.wallet.sdk.rpc.DarksideEmptyBlocks - (*RawTransaction)(nil), // 6: cash.z.wallet.sdk.rpc.RawTransaction - (*Empty)(nil), // 7: cash.z.wallet.sdk.rpc.Empty -} -var file_darkside_proto_depIdxs = []int32{ - 0, // 0: cash.z.wallet.sdk.rpc.DarksideStreamer.Reset:input_type -> cash.z.wallet.sdk.rpc.DarksideMetaState - 1, // 1: cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksStream:input_type -> cash.z.wallet.sdk.rpc.DarksideBlock - 2, // 2: cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocks:input_type -> cash.z.wallet.sdk.rpc.DarksideBlocksURL - 5, // 3: cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksCreate:input_type -> cash.z.wallet.sdk.rpc.DarksideEmptyBlocks - 6, // 4: cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactionsStream:input_type -> cash.z.wallet.sdk.rpc.RawTransaction - 3, // 5: cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactions:input_type -> cash.z.wallet.sdk.rpc.DarksideTransactionsURL - 4, // 6: cash.z.wallet.sdk.rpc.DarksideStreamer.ApplyStaged:input_type -> cash.z.wallet.sdk.rpc.DarksideHeight - 7, // 7: cash.z.wallet.sdk.rpc.DarksideStreamer.GetIncomingTransactions:input_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 8: cash.z.wallet.sdk.rpc.DarksideStreamer.ClearIncomingTransactions:input_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 9: cash.z.wallet.sdk.rpc.DarksideStreamer.Reset:output_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 10: cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksStream:output_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 11: cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocks:output_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 12: cash.z.wallet.sdk.rpc.DarksideStreamer.StageBlocksCreate:output_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 13: cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactionsStream:output_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 14: cash.z.wallet.sdk.rpc.DarksideStreamer.StageTransactions:output_type -> cash.z.wallet.sdk.rpc.Empty - 7, // 15: cash.z.wallet.sdk.rpc.DarksideStreamer.ApplyStaged:output_type -> cash.z.wallet.sdk.rpc.Empty - 6, // 16: cash.z.wallet.sdk.rpc.DarksideStreamer.GetIncomingTransactions:output_type -> cash.z.wallet.sdk.rpc.RawTransaction - 7, // 17: cash.z.wallet.sdk.rpc.DarksideStreamer.ClearIncomingTransactions:output_type -> cash.z.wallet.sdk.rpc.Empty - 9, // [9:18] is the sub-list for method output_type - 0, // [0:9] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_darkside_proto_init() } -func file_darkside_proto_init() { - if File_darkside_proto != nil { - return - } - file_service_proto_init() - if !protoimpl.UnsafeEnabled { - file_darkside_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DarksideMetaState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_darkside_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DarksideBlock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_darkside_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DarksideBlocksURL); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_darkside_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DarksideTransactionsURL); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_darkside_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DarksideHeight); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_darkside_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DarksideEmptyBlocks); 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_darkside_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_darkside_proto_goTypes, - DependencyIndexes: file_darkside_proto_depIdxs, - MessageInfos: file_darkside_proto_msgTypes, - }.Build() - File_darkside_proto = out.File - file_darkside_proto_rawDesc = nil - file_darkside_proto_goTypes = nil - file_darkside_proto_depIdxs = nil +var fileDescriptor_5ea18aa1b2b1f163 = []byte{ + // 478 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xed, 0x6e, 0xd3, 0x30, + 0x14, 0x6d, 0x3a, 0xa5, 0xa2, 0x77, 0xda, 0xb4, 0x9a, 0xb1, 0x95, 0xb2, 0x1f, 0x53, 0x44, 0xa5, + 0x08, 0xa1, 0x80, 0xe0, 0x09, 0xb6, 0x0e, 0xc1, 0x24, 0x40, 0x22, 0x1d, 0x42, 0x83, 0x1f, 0xe8, + 0xd6, 0xb1, 0x9a, 0xa8, 0x89, 0x13, 0x39, 0xde, 0xa6, 0xc1, 0x9b, 0xf1, 0x28, 0x3c, 0x0d, 0x8a, + 0xed, 0xac, 0x29, 0x25, 0xb8, 0xda, 0xaf, 0xf8, 0xda, 0xe7, 0x9e, 0x73, 0xee, 0x87, 0x02, 0xbb, + 0x11, 0x8a, 0x45, 0x99, 0x44, 0x2c, 0x28, 0x44, 0x2e, 0x73, 0xf2, 0x88, 0x62, 0x19, 0x07, 0x3f, + 0x82, 0x1b, 0x4c, 0x53, 0x26, 0x83, 0x32, 0x5a, 0x04, 0xa2, 0xa0, 0xa3, 0x9d, 0x92, 0x89, 0xeb, + 0x84, 0x1a, 0x94, 0xf7, 0x13, 0x06, 0x67, 0x26, 0xef, 0x03, 0x93, 0x38, 0x95, 0x28, 0x19, 0x79, + 0x0e, 0x83, 0x12, 0x8b, 0x34, 0xe1, 0xf3, 0x13, 0x2a, 0x93, 0x6b, 0x94, 0x49, 0xce, 0x87, 0xce, + 0xb1, 0xe3, 0xbb, 0xe1, 0xfa, 0x03, 0x19, 0xc1, 0x83, 0x99, 0x40, 0x4e, 0xe3, 0xf3, 0xb3, 0x61, + 0xf7, 0xd8, 0xf1, 0xfb, 0xe1, 0x5d, 0x4c, 0x8e, 0xa0, 0x4f, 0x63, 0x4c, 0xf8, 0x47, 0xcc, 0xd8, + 0x70, 0x4b, 0x3d, 0x2e, 0x2f, 0xbc, 0x31, 0xec, 0xd4, 0xe2, 0xa7, 0x69, 0x4e, 0x17, 0x64, 0x1f, + 0xdc, 0x59, 0x75, 0x50, 0x62, 0xfd, 0x50, 0x07, 0xde, 0x78, 0xe9, 0x51, 0xc1, 0xca, 0xcf, 0xe1, + 0x7b, 0xb2, 0x07, 0x5b, 0x57, 0x22, 0x35, 0xc0, 0xea, 0xe8, 0x4d, 0xe0, 0xb0, 0x86, 0x5d, 0x08, + 0xe4, 0x25, 0xd2, 0xca, 0x9e, 0x02, 0x1f, 0x40, 0x2f, 0x66, 0xc9, 0x3c, 0x96, 0xa6, 0x0a, 0x13, + 0xd5, 0x24, 0xdd, 0x25, 0x89, 0x0f, 0xbb, 0x35, 0xc9, 0x3b, 0x8d, 0x69, 0xc9, 0xf5, 0x2e, 0xe1, + 0x61, 0x8d, 0x7c, 0x93, 0x15, 0xf2, 0x56, 0x5b, 0x6b, 0x95, 0xda, 0x07, 0x97, 0xe7, 0x9c, 0x32, + 0x25, 0xe6, 0x86, 0x3a, 0xa8, 0x6e, 0x69, 0x7e, 0xc5, 0xa5, 0xea, 0x8d, 0x1b, 0xea, 0xe0, 0xd5, + 0xef, 0x1e, 0xec, 0xd5, 0xdc, 0x53, 0x29, 0x18, 0x66, 0x4c, 0x90, 0x4f, 0xe0, 0x86, 0xac, 0x64, + 0x92, 0xf8, 0xc1, 0x3f, 0x27, 0x1b, 0xac, 0xcd, 0x71, 0x74, 0xd4, 0x82, 0x54, 0x7e, 0xbd, 0x0e, + 0xf9, 0x06, 0x83, 0xa9, 0xc4, 0xb9, 0xe9, 0xaa, 0x56, 0x22, 0x4f, 0x2d, 0xf4, 0x0a, 0x6c, 0xa3, + 0xf6, 0x1d, 0xf2, 0x05, 0xb6, 0x1b, 0xe4, 0x56, 0xd7, 0x77, 0x93, 0xb5, 0xba, 0xfe, 0xbe, 0xe2, + 0x7a, 0x22, 0x58, 0xb5, 0xb2, 0xcf, 0x2c, 0xf4, 0x8d, 0x11, 0x59, 0x05, 0x66, 0x70, 0xa8, 0x04, + 0x9a, 0x5b, 0x64, 0x9a, 0x33, 0x6e, 0x49, 0x0d, 0xf1, 0xa6, 0x81, 0xde, 0xa0, 0x3b, 0xd4, 0x14, + 0xd1, 0xd4, 0x20, 0x81, 0xa5, 0x88, 0xbf, 0xd6, 0xda, 0x5a, 0xc8, 0x05, 0x6c, 0x9f, 0x14, 0x45, + 0x7a, 0xab, 0x94, 0xa2, 0x56, 0xf3, 0xab, 0x0b, 0xbf, 0x49, 0x7b, 0xde, 0x32, 0x79, 0xce, 0x69, + 0x9e, 0x25, 0x7c, 0xbe, 0x52, 0xc0, 0x7f, 0x53, 0x47, 0x9b, 0x35, 0xcf, 0xeb, 0xbc, 0x74, 0xc8, + 0x25, 0x3c, 0x9e, 0xa4, 0x0c, 0xc5, 0x3d, 0x54, 0x2c, 0xf6, 0x4f, 0x9f, 0x7c, 0x3d, 0x48, 0xab, + 0x3a, 0xf5, 0x73, 0xf4, 0x42, 0x7f, 0x45, 0x41, 0x7f, 0x75, 0x3b, 0xb3, 0x9e, 0xfa, 0x2b, 0xbe, + 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xe7, 0x29, 0xf3, 0x4d, 0x05, 0x00, 0x00, } diff --git a/walletrpc/darkside_grpc.pb.go b/walletrpc/darkside_grpc.pb.go index 4ebd58f..532df32 100644 --- a/walletrpc/darkside_grpc.pb.go +++ b/walletrpc/darkside_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.11.4 +// source: darkside.proto package walletrpc diff --git a/walletrpc/service.pb.go b/walletrpc/service.pb.go index cdabf4e..926fa35 100644 --- a/walletrpc/service.pb.go +++ b/walletrpc/service.pb.go @@ -1,82 +1,70 @@ -// Copyright (c) 2019-2020 The Zcash developers -// Distributed under the MIT software license, see the accompanying -// file COPYING or https://www.opensource.org/licenses/mit-license.php . - // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.6.1 // source: service.proto package walletrpc import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -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) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// 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 // A BlockID message contains identifiers to select a block: a height or a // hash. Specification by hash is not implemented, but may be in the future. type BlockID struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` + 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:"-"` } -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 (x *BlockID) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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) -} - -// Deprecated: Use BlockID.ProtoReflect.Descriptor instead. +func (m *BlockID) Reset() { *m = BlockID{} } +func (m *BlockID) String() string { return proto.CompactTextString(m) } +func (*BlockID) ProtoMessage() {} func (*BlockID) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{0} + return fileDescriptor_a0b84a42fa06f626, []int{0} } -func (x *BlockID) GetHeight() uint64 { - if x != nil { - return x.Height +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 (m *BlockID) XXX_Size() int { + return xxx_messageInfo_BlockID.Size(m) +} +func (m *BlockID) XXX_DiscardUnknown() { + xxx_messageInfo_BlockID.DiscardUnknown(m) +} + +var xxx_messageInfo_BlockID proto.InternalMessageInfo + +func (m *BlockID) GetHeight() uint64 { + if m != nil { + return m.Height } return 0 } -func (x *BlockID) GetHash() []byte { - if x != nil { - return x.Hash +func (m *BlockID) GetHash() []byte { + if m != nil { + return m.Hash } return nil } @@ -84,56 +72,48 @@ func (x *BlockID) GetHash() []byte { // BlockRange specifies a series of blocks from start to end inclusive. // Both BlockIDs must be heights; specification by hash is not yet supported. type BlockRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Start *BlockID `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *BlockID `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` + 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:"-"` } -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 (x *BlockRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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) -} - -// Deprecated: Use BlockRange.ProtoReflect.Descriptor instead. +func (m *BlockRange) Reset() { *m = BlockRange{} } +func (m *BlockRange) String() string { return proto.CompactTextString(m) } +func (*BlockRange) ProtoMessage() {} func (*BlockRange) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{1} + return fileDescriptor_a0b84a42fa06f626, []int{1} } -func (x *BlockRange) GetStart() *BlockID { - if x != nil { - return x.Start +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 (m *BlockRange) XXX_Size() int { + return xxx_messageInfo_BlockRange.Size(m) +} +func (m *BlockRange) XXX_DiscardUnknown() { + xxx_messageInfo_BlockRange.DiscardUnknown(m) +} + +var xxx_messageInfo_BlockRange proto.InternalMessageInfo + +func (m *BlockRange) GetStart() *BlockID { + if m != nil { + return m.Start } return nil } -func (x *BlockRange) GetEnd() *BlockID { - if x != nil { - return x.End +func (m *BlockRange) GetEnd() *BlockID { + if m != nil { + return m.End } return nil } @@ -142,64 +122,56 @@ func (x *BlockRange) GetEnd() *BlockID { // transaction: either a block and an index, or a direct transaction hash. // Currently, only specification by hash is supported. type TxFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Block *BlockID `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // block identifier, height or hash - Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // index within the block - Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // transaction ID (hash, txid) + 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:"-"` } -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 (x *TxFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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) -} - -// Deprecated: Use TxFilter.ProtoReflect.Descriptor instead. +func (m *TxFilter) Reset() { *m = TxFilter{} } +func (m *TxFilter) String() string { return proto.CompactTextString(m) } +func (*TxFilter) ProtoMessage() {} func (*TxFilter) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{2} + return fileDescriptor_a0b84a42fa06f626, []int{2} } -func (x *TxFilter) GetBlock() *BlockID { - if x != nil { - return x.Block +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 (m *TxFilter) XXX_Size() int { + return xxx_messageInfo_TxFilter.Size(m) +} +func (m *TxFilter) XXX_DiscardUnknown() { + xxx_messageInfo_TxFilter.DiscardUnknown(m) +} + +var xxx_messageInfo_TxFilter proto.InternalMessageInfo + +func (m *TxFilter) GetBlock() *BlockID { + if m != nil { + return m.Block } return nil } -func (x *TxFilter) GetIndex() uint64 { - if x != nil { - return x.Index +func (m *TxFilter) GetIndex() uint64 { + if m != nil { + return m.Index } return 0 } -func (x *TxFilter) GetHash() []byte { - if x != nil { - return x.Hash +func (m *TxFilter) GetHash() []byte { + if m != nil { + return m.Hash } return nil } @@ -207,56 +179,48 @@ func (x *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 { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // exact data returned by Zcash 'getrawtransaction' - Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // height that the transaction was mined (or -1) + 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:"-"` } -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 (x *RawTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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) -} - -// Deprecated: Use RawTransaction.ProtoReflect.Descriptor instead. +func (m *RawTransaction) Reset() { *m = RawTransaction{} } +func (m *RawTransaction) String() string { return proto.CompactTextString(m) } +func (*RawTransaction) ProtoMessage() {} func (*RawTransaction) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{3} + return fileDescriptor_a0b84a42fa06f626, []int{3} } -func (x *RawTransaction) GetData() []byte { - if x != nil { - return x.Data +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 (m *RawTransaction) XXX_Size() int { + return xxx_messageInfo_RawTransaction.Size(m) +} +func (m *RawTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_RawTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_RawTransaction proto.InternalMessageInfo + +func (m *RawTransaction) GetData() []byte { + if m != nil { + return m.Data } return nil } -func (x *RawTransaction) GetHeight() uint64 { - if x != nil { - return x.Height +func (m *RawTransaction) GetHeight() uint64 { + if m != nil { + return m.Height } return 0 } @@ -265,287 +229,257 @@ func (x *RawTransaction) GetHeight() uint64 { // only by SendTransaction(). If error code is zero, the operation was // successful; if non-zero, it and the message specify the failure. type SendResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrorCode int32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"` - ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` + 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:"-"` } -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 (x *SendResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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) -} - -// Deprecated: Use SendResponse.ProtoReflect.Descriptor instead. +func (m *SendResponse) Reset() { *m = SendResponse{} } +func (m *SendResponse) String() string { return proto.CompactTextString(m) } +func (*SendResponse) ProtoMessage() {} func (*SendResponse) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{4} + return fileDescriptor_a0b84a42fa06f626, []int{4} } -func (x *SendResponse) GetErrorCode() int32 { - if x != nil { - return x.ErrorCode +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 (m *SendResponse) XXX_Size() int { + return xxx_messageInfo_SendResponse.Size(m) +} +func (m *SendResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SendResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SendResponse proto.InternalMessageInfo + +func (m *SendResponse) GetErrorCode() int32 { + if m != nil { + return m.ErrorCode } return 0 } -func (x *SendResponse) GetErrorMessage() string { - if x != nil { - return x.ErrorMessage +func (m *SendResponse) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage } return "" } // Chainspec is a placeholder to allow specification of a particular chain fork. type ChainSpec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -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 (x *ChainSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChainSpec) ProtoMessage() {} - -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) -} - -// Deprecated: Use ChainSpec.ProtoReflect.Descriptor instead. +func (m *ChainSpec) Reset() { *m = ChainSpec{} } +func (m *ChainSpec) String() string { return proto.CompactTextString(m) } +func (*ChainSpec) ProtoMessage() {} func (*ChainSpec) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{5} + return fileDescriptor_a0b84a42fa06f626, []int{5} } +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) +} + +var xxx_messageInfo_ChainSpec proto.InternalMessageInfo + // Empty is for gRPCs that take no arguments, currently only GetLightdInfo. type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -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 (x *Empty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Empty) ProtoMessage() {} - -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) -} - -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (m *Empty) Reset() { *m = Empty{} } +func (m *Empty) String() string { return proto.CompactTextString(m) } +func (*Empty) ProtoMessage() {} func (*Empty) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{6} + return fileDescriptor_a0b84a42fa06f626, []int{6} } +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) +} +func (m *Empty) XXX_Size() int { + return xxx_messageInfo_Empty.Size(m) +} +func (m *Empty) XXX_DiscardUnknown() { + xxx_messageInfo_Empty.DiscardUnknown(m) +} + +var xxx_messageInfo_Empty proto.InternalMessageInfo + // LightdInfo returns various information about this lightwalletd instance // and the state of the blockchain. 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"` // true - ChainName string `protobuf:"bytes,4,opt,name=chainName,proto3" json:"chainName,omitempty"` // either "main" or "test" - SaplingActivationHeight uint64 `protobuf:"varint,5,opt,name=saplingActivationHeight,proto3" json:"saplingActivationHeight,omitempty"` // depends on mainnet or testnet - ConsensusBranchId string `protobuf:"bytes,6,opt,name=consensusBranchId,proto3" json:"consensusBranchId,omitempty"` // protocol identifier, see consensus/upgrades.cpp - BlockHeight uint64 `protobuf:"varint,7,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` // latest block on the best chain - GitCommit string `protobuf:"bytes,8,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"` - Branch string `protobuf:"bytes,9,opt,name=branch,proto3" json:"branch,omitempty"` - BuildDate string `protobuf:"bytes,10,opt,name=buildDate,proto3" json:"buildDate,omitempty"` - BuildUser string `protobuf:"bytes,11,opt,name=buildUser,proto3" json:"buildUser,omitempty"` - EstimatedHeight uint64 `protobuf:"varint,12,opt,name=estimatedHeight,proto3" json:"estimatedHeight,omitempty"` // less than tip height if zcashd is syncing - ZcashdBuild string `protobuf:"bytes,13,opt,name=zcashdBuild,proto3" json:"zcashdBuild,omitempty"` // example: "v4.1.1-877212414" - ZcashdSubversion string `protobuf:"bytes,14,opt,name=zcashdSubversion,proto3" json:"zcashdSubversion,omitempty"` // example: "/MagicBean:4.1.1/" + 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"` + GitCommit string `protobuf:"bytes,8,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"` + Branch string `protobuf:"bytes,9,opt,name=branch,proto3" json:"branch,omitempty"` + BuildDate string `protobuf:"bytes,10,opt,name=buildDate,proto3" json:"buildDate,omitempty"` + BuildUser string `protobuf:"bytes,11,opt,name=buildUser,proto3" json:"buildUser,omitempty"` + EstimatedHeight uint64 `protobuf:"varint,12,opt,name=estimatedHeight,proto3" json:"estimatedHeight,omitempty"` + ZcashdBuild string `protobuf:"bytes,13,opt,name=zcashdBuild,proto3" json:"zcashdBuild,omitempty"` + ZcashdSubversion string `protobuf:"bytes,14,opt,name=zcashdSubversion,proto3" json:"zcashdSubversion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -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 (x *LightdInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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) -} - -// Deprecated: Use LightdInfo.ProtoReflect.Descriptor instead. +func (m *LightdInfo) Reset() { *m = LightdInfo{} } +func (m *LightdInfo) String() string { return proto.CompactTextString(m) } +func (*LightdInfo) ProtoMessage() {} func (*LightdInfo) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{7} + return fileDescriptor_a0b84a42fa06f626, []int{7} } -func (x *LightdInfo) GetVersion() string { - if x != nil { - return x.Version +func (m *LightdInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LightdInfo.Unmarshal(m, b) +} +func (m *LightdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LightdInfo.Marshal(b, m, deterministic) +} +func (m *LightdInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_LightdInfo.Merge(m, src) +} +func (m *LightdInfo) XXX_Size() int { + return xxx_messageInfo_LightdInfo.Size(m) +} +func (m *LightdInfo) XXX_DiscardUnknown() { + xxx_messageInfo_LightdInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_LightdInfo proto.InternalMessageInfo + +func (m *LightdInfo) GetVersion() string { + if m != nil { + return m.Version } return "" } -func (x *LightdInfo) GetVendor() string { - if x != nil { - return x.Vendor +func (m *LightdInfo) GetVendor() string { + if m != nil { + return m.Vendor } return "" } -func (x *LightdInfo) GetTaddrSupport() bool { - if x != nil { - return x.TaddrSupport +func (m *LightdInfo) GetTaddrSupport() bool { + if m != nil { + return m.TaddrSupport } return false } -func (x *LightdInfo) GetChainName() string { - if x != nil { - return x.ChainName +func (m *LightdInfo) GetChainName() string { + if m != nil { + return m.ChainName } return "" } -func (x *LightdInfo) GetSaplingActivationHeight() uint64 { - if x != nil { - return x.SaplingActivationHeight +func (m *LightdInfo) GetSaplingActivationHeight() uint64 { + if m != nil { + return m.SaplingActivationHeight } return 0 } -func (x *LightdInfo) GetConsensusBranchId() string { - if x != nil { - return x.ConsensusBranchId +func (m *LightdInfo) GetConsensusBranchId() string { + if m != nil { + return m.ConsensusBranchId } return "" } -func (x *LightdInfo) GetBlockHeight() uint64 { - if x != nil { - return x.BlockHeight +func (m *LightdInfo) GetBlockHeight() uint64 { + if m != nil { + return m.BlockHeight } return 0 } -func (x *LightdInfo) GetGitCommit() string { - if x != nil { - return x.GitCommit +func (m *LightdInfo) GetGitCommit() string { + if m != nil { + return m.GitCommit } return "" } -func (x *LightdInfo) GetBranch() string { - if x != nil { - return x.Branch +func (m *LightdInfo) GetBranch() string { + if m != nil { + return m.Branch } return "" } -func (x *LightdInfo) GetBuildDate() string { - if x != nil { - return x.BuildDate +func (m *LightdInfo) GetBuildDate() string { + if m != nil { + return m.BuildDate } return "" } -func (x *LightdInfo) GetBuildUser() string { - if x != nil { - return x.BuildUser +func (m *LightdInfo) GetBuildUser() string { + if m != nil { + return m.BuildUser } return "" } -func (x *LightdInfo) GetEstimatedHeight() uint64 { - if x != nil { - return x.EstimatedHeight +func (m *LightdInfo) GetEstimatedHeight() uint64 { + if m != nil { + return m.EstimatedHeight } return 0 } -func (x *LightdInfo) GetZcashdBuild() string { - if x != nil { - return x.ZcashdBuild +func (m *LightdInfo) GetZcashdBuild() string { + if m != nil { + return m.ZcashdBuild } return "" } -func (x *LightdInfo) GetZcashdSubversion() string { - if x != nil { - return x.ZcashdSubversion +func (m *LightdInfo) GetZcashdSubversion() string { + if m != nil { + return m.ZcashdSubversion } return "" } @@ -553,56 +487,48 @@ func (x *LightdInfo) GetZcashdSubversion() string { // TransparentAddressBlockFilter restricts the results to the given address // or block range. type TransparentAddressBlockFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // t-address - Range *BlockRange `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"` // start, end heights + 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 (x *TransparentAddressBlockFilter) Reset() { - *x = TransparentAddressBlockFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransparentAddressBlockFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransparentAddressBlockFilter) ProtoMessage() {} - -func (x *TransparentAddressBlockFilter) 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) -} - -// Deprecated: Use TransparentAddressBlockFilter.ProtoReflect.Descriptor instead. +func (m *TransparentAddressBlockFilter) Reset() { *m = TransparentAddressBlockFilter{} } +func (m *TransparentAddressBlockFilter) String() string { return proto.CompactTextString(m) } +func (*TransparentAddressBlockFilter) ProtoMessage() {} func (*TransparentAddressBlockFilter) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{8} + return fileDescriptor_a0b84a42fa06f626, []int{8} } -func (x *TransparentAddressBlockFilter) GetAddress() string { - if x != nil { - return x.Address +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) +} + +var xxx_messageInfo_TransparentAddressBlockFilter proto.InternalMessageInfo + +func (m *TransparentAddressBlockFilter) GetAddress() string { + if m != nil { + return m.Address } return "" } -func (x *TransparentAddressBlockFilter) GetRange() *BlockRange { - if x != nil { - return x.Range +func (m *TransparentAddressBlockFilter) GetRange() *BlockRange { + if m != nil { + return m.Range } return nil } @@ -611,48 +537,40 @@ func (x *TransparentAddressBlockFilter) GetRange() *BlockRange { // can simulate a delay, to create many simultaneous connections. Units // are microseconds. type Duration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntervalUs int64 `protobuf:"varint,1,opt,name=intervalUs,proto3" json:"intervalUs,omitempty"` + IntervalUs int64 `protobuf:"varint,1,opt,name=intervalUs,proto3" json:"intervalUs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Duration) Reset() { - *x = Duration{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Duration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Duration) ProtoMessage() {} - -func (x *Duration) 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 mi.MessageOf(x) -} - -// Deprecated: Use Duration.ProtoReflect.Descriptor instead. +func (m *Duration) Reset() { *m = Duration{} } +func (m *Duration) String() string { return proto.CompactTextString(m) } +func (*Duration) ProtoMessage() {} func (*Duration) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{9} + return fileDescriptor_a0b84a42fa06f626, []int{9} } -func (x *Duration) GetIntervalUs() int64 { - if x != nil { - return x.IntervalUs +func (m *Duration) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Duration.Unmarshal(m, b) +} +func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Duration.Marshal(b, m, deterministic) +} +func (m *Duration) XXX_Merge(src proto.Message) { + xxx_messageInfo_Duration.Merge(m, src) +} +func (m *Duration) XXX_Size() int { + return xxx_messageInfo_Duration.Size(m) +} +func (m *Duration) XXX_DiscardUnknown() { + xxx_messageInfo_Duration.DiscardUnknown(m) +} + +var xxx_messageInfo_Duration proto.InternalMessageInfo + +func (m *Duration) GetIntervalUs() int64 { + if m != nil { + return m.IntervalUs } return 0 } @@ -661,332 +579,284 @@ func (x *Duration) GetIntervalUs() int64 { // are executing upon entry and upon exit (after the delay). // This rpc is used for testing only. type PingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Entry int64 `protobuf:"varint,1,opt,name=entry,proto3" json:"entry,omitempty"` - Exit int64 `protobuf:"varint,2,opt,name=exit,proto3" json:"exit,omitempty"` + Entry int64 `protobuf:"varint,1,opt,name=entry,proto3" json:"entry,omitempty"` + Exit int64 `protobuf:"varint,2,opt,name=exit,proto3" json:"exit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PingResponse) Reset() { - *x = PingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PingResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PingResponse) ProtoMessage() {} - -func (x *PingResponse) 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 mi.MessageOf(x) -} - -// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. +func (m *PingResponse) Reset() { *m = PingResponse{} } +func (m *PingResponse) String() string { return proto.CompactTextString(m) } +func (*PingResponse) ProtoMessage() {} func (*PingResponse) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{10} + return fileDescriptor_a0b84a42fa06f626, []int{10} } -func (x *PingResponse) GetEntry() int64 { - if x != nil { - return x.Entry +func (m *PingResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PingResponse.Unmarshal(m, b) +} +func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) +} +func (m *PingResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PingResponse.Merge(m, src) +} +func (m *PingResponse) XXX_Size() int { + return xxx_messageInfo_PingResponse.Size(m) +} +func (m *PingResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PingResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PingResponse proto.InternalMessageInfo + +func (m *PingResponse) GetEntry() int64 { + if m != nil { + return m.Entry } return 0 } -func (x *PingResponse) GetExit() int64 { - if x != nil { - return x.Exit +func (m *PingResponse) GetExit() int64 { + if m != nil { + return m.Exit } return 0 } type Address struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Address) Reset() { - *x = Address{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Address) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Address) ProtoMessage() {} - -func (x *Address) 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 - } - return mi.MessageOf(x) -} - -// Deprecated: Use Address.ProtoReflect.Descriptor instead. +func (m *Address) Reset() { *m = Address{} } +func (m *Address) String() string { return proto.CompactTextString(m) } +func (*Address) ProtoMessage() {} func (*Address) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{11} + return fileDescriptor_a0b84a42fa06f626, []int{11} } -func (x *Address) GetAddress() string { - if x != nil { - return x.Address +func (m *Address) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Address.Unmarshal(m, b) +} +func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Address.Marshal(b, m, deterministic) +} +func (m *Address) XXX_Merge(src proto.Message) { + xxx_messageInfo_Address.Merge(m, src) +} +func (m *Address) XXX_Size() int { + return xxx_messageInfo_Address.Size(m) +} +func (m *Address) XXX_DiscardUnknown() { + xxx_messageInfo_Address.DiscardUnknown(m) +} + +var xxx_messageInfo_Address proto.InternalMessageInfo + +func (m *Address) GetAddress() string { + if m != nil { + return m.Address } return "" } type AddressList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` + Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AddressList) Reset() { - *x = AddressList{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddressList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddressList) ProtoMessage() {} - -func (x *AddressList) 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) -} - -// Deprecated: Use AddressList.ProtoReflect.Descriptor instead. +func (m *AddressList) Reset() { *m = AddressList{} } +func (m *AddressList) String() string { return proto.CompactTextString(m) } +func (*AddressList) ProtoMessage() {} func (*AddressList) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{12} + return fileDescriptor_a0b84a42fa06f626, []int{12} } -func (x *AddressList) GetAddresses() []string { - if x != nil { - return x.Addresses +func (m *AddressList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddressList.Unmarshal(m, b) +} +func (m *AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddressList.Marshal(b, m, deterministic) +} +func (m *AddressList) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddressList.Merge(m, src) +} +func (m *AddressList) XXX_Size() int { + return xxx_messageInfo_AddressList.Size(m) +} +func (m *AddressList) XXX_DiscardUnknown() { + xxx_messageInfo_AddressList.DiscardUnknown(m) +} + +var xxx_messageInfo_AddressList proto.InternalMessageInfo + +func (m *AddressList) GetAddresses() []string { + if m != nil { + return m.Addresses } return nil } type Balance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValueZat int64 `protobuf:"varint,1,opt,name=valueZat,proto3" json:"valueZat,omitempty"` + ValueZat int64 `protobuf:"varint,1,opt,name=valueZat,proto3" json:"valueZat,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Balance) Reset() { - *x = Balance{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Balance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Balance) ProtoMessage() {} - -func (x *Balance) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[13] - 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) -} - -// Deprecated: Use Balance.ProtoReflect.Descriptor instead. +func (m *Balance) Reset() { *m = Balance{} } +func (m *Balance) String() string { return proto.CompactTextString(m) } +func (*Balance) ProtoMessage() {} func (*Balance) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{13} + return fileDescriptor_a0b84a42fa06f626, []int{13} } -func (x *Balance) GetValueZat() int64 { - if x != nil { - return x.ValueZat +func (m *Balance) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Balance.Unmarshal(m, b) +} +func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Balance.Marshal(b, m, deterministic) +} +func (m *Balance) XXX_Merge(src proto.Message) { + xxx_messageInfo_Balance.Merge(m, src) +} +func (m *Balance) XXX_Size() int { + return xxx_messageInfo_Balance.Size(m) +} +func (m *Balance) XXX_DiscardUnknown() { + xxx_messageInfo_Balance.DiscardUnknown(m) +} + +var xxx_messageInfo_Balance proto.InternalMessageInfo + +func (m *Balance) GetValueZat() int64 { + if m != nil { + return m.ValueZat } return 0 } type Exclude struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Txid [][]byte `protobuf:"bytes,1,rep,name=txid,proto3" json:"txid,omitempty"` + Txid [][]byte `protobuf:"bytes,1,rep,name=txid,proto3" json:"txid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Exclude) Reset() { - *x = Exclude{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Exclude) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Exclude) ProtoMessage() {} - -func (x *Exclude) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[14] - 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) -} - -// Deprecated: Use Exclude.ProtoReflect.Descriptor instead. +func (m *Exclude) Reset() { *m = Exclude{} } +func (m *Exclude) String() string { return proto.CompactTextString(m) } +func (*Exclude) ProtoMessage() {} func (*Exclude) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{14} + return fileDescriptor_a0b84a42fa06f626, []int{14} } -func (x *Exclude) GetTxid() [][]byte { - if x != nil { - return x.Txid +func (m *Exclude) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Exclude.Unmarshal(m, b) +} +func (m *Exclude) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Exclude.Marshal(b, m, deterministic) +} +func (m *Exclude) XXX_Merge(src proto.Message) { + xxx_messageInfo_Exclude.Merge(m, src) +} +func (m *Exclude) XXX_Size() int { + return xxx_messageInfo_Exclude.Size(m) +} +func (m *Exclude) XXX_DiscardUnknown() { + xxx_messageInfo_Exclude.DiscardUnknown(m) +} + +var xxx_messageInfo_Exclude proto.InternalMessageInfo + +func (m *Exclude) GetTxid() [][]byte { + if m != nil { + return m.Txid } return nil } // The TreeState is derived from the Zcash z_gettreestate rpc. type TreeState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // "main" or "test" - Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // block height - Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // block id - Time uint32 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` // Unix epoch time when the block was mined - SaplingTree string `protobuf:"bytes,5,opt,name=saplingTree,proto3" json:"saplingTree,omitempty"` // sapling commitment tree state - OrchardTree string `protobuf:"bytes,6,opt,name=orchardTree,proto3" json:"orchardTree,omitempty"` // orchard commitment tree state + Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` + Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` + Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` + Time uint32 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` + SaplingTree string `protobuf:"bytes,5,opt,name=saplingTree,proto3" json:"saplingTree,omitempty"` + OrchardTree string `protobuf:"bytes,6,opt,name=orchardTree,proto3" json:"orchardTree,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TreeState) Reset() { - *x = TreeState{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TreeState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TreeState) ProtoMessage() {} - -func (x *TreeState) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[15] - 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) -} - -// Deprecated: Use TreeState.ProtoReflect.Descriptor instead. +func (m *TreeState) Reset() { *m = TreeState{} } +func (m *TreeState) String() string { return proto.CompactTextString(m) } +func (*TreeState) ProtoMessage() {} func (*TreeState) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{15} + return fileDescriptor_a0b84a42fa06f626, []int{15} } -func (x *TreeState) GetNetwork() string { - if x != nil { - return x.Network +func (m *TreeState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TreeState.Unmarshal(m, b) +} +func (m *TreeState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TreeState.Marshal(b, m, deterministic) +} +func (m *TreeState) XXX_Merge(src proto.Message) { + xxx_messageInfo_TreeState.Merge(m, src) +} +func (m *TreeState) XXX_Size() int { + return xxx_messageInfo_TreeState.Size(m) +} +func (m *TreeState) XXX_DiscardUnknown() { + xxx_messageInfo_TreeState.DiscardUnknown(m) +} + +var xxx_messageInfo_TreeState proto.InternalMessageInfo + +func (m *TreeState) GetNetwork() string { + if m != nil { + return m.Network } return "" } -func (x *TreeState) GetHeight() uint64 { - if x != nil { - return x.Height +func (m *TreeState) GetHeight() uint64 { + if m != nil { + return m.Height } return 0 } -func (x *TreeState) GetHash() string { - if x != nil { - return x.Hash +func (m *TreeState) GetHash() string { + if m != nil { + return m.Hash } return "" } -func (x *TreeState) GetTime() uint32 { - if x != nil { - return x.Time +func (m *TreeState) GetTime() uint32 { + if m != nil { + return m.Time } return 0 } -func (x *TreeState) GetSaplingTree() string { - if x != nil { - return x.SaplingTree +func (m *TreeState) GetSaplingTree() string { + if m != nil { + return m.SaplingTree } return "" } -func (x *TreeState) GetOrchardTree() string { - if x != nil { - return x.OrchardTree +func (m *TreeState) GetOrchardTree() string { + if m != nil { + return m.OrchardTree } return "" } @@ -994,925 +864,392 @@ func (x *TreeState) GetOrchardTree() string { // Results are sorted by height, which makes it easy to issue another // request that picks up from where the previous left off. type GetAddressUtxosArg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` - StartHeight uint64 `protobuf:"varint,2,opt,name=startHeight,proto3" json:"startHeight,omitempty"` - MaxEntries uint32 `protobuf:"varint,3,opt,name=maxEntries,proto3" json:"maxEntries,omitempty"` // zero means unlimited + Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` + StartHeight uint64 `protobuf:"varint,2,opt,name=startHeight,proto3" json:"startHeight,omitempty"` + MaxEntries uint32 `protobuf:"varint,3,opt,name=maxEntries,proto3" json:"maxEntries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAddressUtxosArg) Reset() { - *x = GetAddressUtxosArg{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAddressUtxosArg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAddressUtxosArg) ProtoMessage() {} - -func (x *GetAddressUtxosArg) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[16] - 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) -} - -// Deprecated: Use GetAddressUtxosArg.ProtoReflect.Descriptor instead. +func (m *GetAddressUtxosArg) Reset() { *m = GetAddressUtxosArg{} } +func (m *GetAddressUtxosArg) String() string { return proto.CompactTextString(m) } +func (*GetAddressUtxosArg) ProtoMessage() {} func (*GetAddressUtxosArg) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{16} + return fileDescriptor_a0b84a42fa06f626, []int{16} } -func (x *GetAddressUtxosArg) GetAddresses() []string { - if x != nil { - return x.Addresses +func (m *GetAddressUtxosArg) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAddressUtxosArg.Unmarshal(m, b) +} +func (m *GetAddressUtxosArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAddressUtxosArg.Marshal(b, m, deterministic) +} +func (m *GetAddressUtxosArg) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAddressUtxosArg.Merge(m, src) +} +func (m *GetAddressUtxosArg) XXX_Size() int { + return xxx_messageInfo_GetAddressUtxosArg.Size(m) +} +func (m *GetAddressUtxosArg) XXX_DiscardUnknown() { + xxx_messageInfo_GetAddressUtxosArg.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAddressUtxosArg proto.InternalMessageInfo + +func (m *GetAddressUtxosArg) GetAddresses() []string { + if m != nil { + return m.Addresses } return nil } -func (x *GetAddressUtxosArg) GetStartHeight() uint64 { - if x != nil { - return x.StartHeight +func (m *GetAddressUtxosArg) GetStartHeight() uint64 { + if m != nil { + return m.StartHeight } return 0 } -func (x *GetAddressUtxosArg) GetMaxEntries() uint32 { - if x != nil { - return x.MaxEntries +func (m *GetAddressUtxosArg) GetMaxEntries() uint32 { + if m != nil { + return m.MaxEntries } return 0 } type GetAddressUtxosReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` - Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` - Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - Script []byte `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` - ValueZat int64 `protobuf:"varint,4,opt,name=valueZat,proto3" json:"valueZat,omitempty"` - Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` + Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + Script []byte `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` + ValueZat int64 `protobuf:"varint,4,opt,name=valueZat,proto3" json:"valueZat,omitempty"` + Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAddressUtxosReply) Reset() { - *x = GetAddressUtxosReply{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAddressUtxosReply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAddressUtxosReply) ProtoMessage() {} - -func (x *GetAddressUtxosReply) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[17] - 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) -} - -// Deprecated: Use GetAddressUtxosReply.ProtoReflect.Descriptor instead. +func (m *GetAddressUtxosReply) Reset() { *m = GetAddressUtxosReply{} } +func (m *GetAddressUtxosReply) String() string { return proto.CompactTextString(m) } +func (*GetAddressUtxosReply) ProtoMessage() {} func (*GetAddressUtxosReply) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{17} + return fileDescriptor_a0b84a42fa06f626, []int{17} } -func (x *GetAddressUtxosReply) GetAddress() string { - if x != nil { - return x.Address +func (m *GetAddressUtxosReply) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAddressUtxosReply.Unmarshal(m, b) +} +func (m *GetAddressUtxosReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAddressUtxosReply.Marshal(b, m, deterministic) +} +func (m *GetAddressUtxosReply) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAddressUtxosReply.Merge(m, src) +} +func (m *GetAddressUtxosReply) XXX_Size() int { + return xxx_messageInfo_GetAddressUtxosReply.Size(m) +} +func (m *GetAddressUtxosReply) XXX_DiscardUnknown() { + xxx_messageInfo_GetAddressUtxosReply.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAddressUtxosReply proto.InternalMessageInfo + +func (m *GetAddressUtxosReply) GetAddress() string { + if m != nil { + return m.Address } return "" } -func (x *GetAddressUtxosReply) GetTxid() []byte { - if x != nil { - return x.Txid +func (m *GetAddressUtxosReply) GetTxid() []byte { + if m != nil { + return m.Txid } return nil } -func (x *GetAddressUtxosReply) GetIndex() int32 { - if x != nil { - return x.Index +func (m *GetAddressUtxosReply) GetIndex() int32 { + if m != nil { + return m.Index } return 0 } -func (x *GetAddressUtxosReply) GetScript() []byte { - if x != nil { - return x.Script +func (m *GetAddressUtxosReply) GetScript() []byte { + if m != nil { + return m.Script } return nil } -func (x *GetAddressUtxosReply) GetValueZat() int64 { - if x != nil { - return x.ValueZat +func (m *GetAddressUtxosReply) GetValueZat() int64 { + if m != nil { + return m.ValueZat } return 0 } -func (x *GetAddressUtxosReply) GetHeight() uint64 { - if x != nil { - return x.Height +func (m *GetAddressUtxosReply) GetHeight() uint64 { + if m != nil { + return m.Height } return 0 } type GetAddressUtxosReplyList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AddressUtxos []*GetAddressUtxosReply `protobuf:"bytes,1,rep,name=addressUtxos,proto3" json:"addressUtxos,omitempty"` + AddressUtxos []*GetAddressUtxosReply `protobuf:"bytes,1,rep,name=addressUtxos,proto3" json:"addressUtxos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GetAddressUtxosReplyList) Reset() { - *x = GetAddressUtxosReplyList{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAddressUtxosReplyList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAddressUtxosReplyList) ProtoMessage() {} - -func (x *GetAddressUtxosReplyList) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[18] - 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) -} - -// Deprecated: Use GetAddressUtxosReplyList.ProtoReflect.Descriptor instead. +func (m *GetAddressUtxosReplyList) Reset() { *m = GetAddressUtxosReplyList{} } +func (m *GetAddressUtxosReplyList) String() string { return proto.CompactTextString(m) } +func (*GetAddressUtxosReplyList) ProtoMessage() {} func (*GetAddressUtxosReplyList) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{18} + return fileDescriptor_a0b84a42fa06f626, []int{18} } -func (x *GetAddressUtxosReplyList) GetAddressUtxos() []*GetAddressUtxosReply { - if x != nil { - return x.AddressUtxos +func (m *GetAddressUtxosReplyList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAddressUtxosReplyList.Unmarshal(m, b) +} +func (m *GetAddressUtxosReplyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAddressUtxosReplyList.Marshal(b, m, deterministic) +} +func (m *GetAddressUtxosReplyList) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAddressUtxosReplyList.Merge(m, src) +} +func (m *GetAddressUtxosReplyList) XXX_Size() int { + return xxx_messageInfo_GetAddressUtxosReplyList.Size(m) +} +func (m *GetAddressUtxosReplyList) XXX_DiscardUnknown() { + xxx_messageInfo_GetAddressUtxosReplyList.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAddressUtxosReplyList proto.InternalMessageInfo + +func (m *GetAddressUtxosReplyList) GetAddressUtxos() []*GetAddressUtxosReply { + if m != nil { + return m.AddressUtxos } return nil } type PriceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // List of timestamps(in sec) at which the price is being requested Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 3 letter currency-code - Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` + Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PriceRequest) Reset() { - *x = PriceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PriceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PriceRequest) ProtoMessage() {} - -func (x *PriceRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[19] - 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) -} - -// Deprecated: Use PriceRequest.ProtoReflect.Descriptor instead. +func (m *PriceRequest) Reset() { *m = PriceRequest{} } +func (m *PriceRequest) String() string { return proto.CompactTextString(m) } +func (*PriceRequest) ProtoMessage() {} func (*PriceRequest) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{19} + return fileDescriptor_a0b84a42fa06f626, []int{19} } -func (x *PriceRequest) GetTimestamp() uint64 { - if x != nil { - return x.Timestamp +func (m *PriceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PriceRequest.Unmarshal(m, b) +} +func (m *PriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PriceRequest.Marshal(b, m, deterministic) +} +func (m *PriceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PriceRequest.Merge(m, src) +} +func (m *PriceRequest) XXX_Size() int { + return xxx_messageInfo_PriceRequest.Size(m) +} +func (m *PriceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PriceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PriceRequest proto.InternalMessageInfo + +func (m *PriceRequest) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *PriceRequest) GetCurrency() string { - if x != nil { - return x.Currency +func (m *PriceRequest) GetCurrency() string { + if m != nil { + return m.Currency } return "" } type PriceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Timestamp at which this price quote was fetched. Note, this may not be the same // as the request timestamp, but the server will respond with the closest timestamp that it has/can fetch Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 3-letter currency code, matching the request Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` // price of ZEC - Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"` + Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PriceResponse) Reset() { - *x = PriceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PriceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PriceResponse) ProtoMessage() {} - -func (x *PriceResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_proto_msgTypes[20] - 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) -} - -// Deprecated: Use PriceResponse.ProtoReflect.Descriptor instead. +func (m *PriceResponse) Reset() { *m = PriceResponse{} } +func (m *PriceResponse) String() string { return proto.CompactTextString(m) } +func (*PriceResponse) ProtoMessage() {} func (*PriceResponse) Descriptor() ([]byte, []int) { - return file_service_proto_rawDescGZIP(), []int{20} + return fileDescriptor_a0b84a42fa06f626, []int{20} } -func (x *PriceResponse) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *PriceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PriceResponse.Unmarshal(m, b) +} +func (m *PriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PriceResponse.Marshal(b, m, deterministic) +} +func (m *PriceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PriceResponse.Merge(m, src) +} +func (m *PriceResponse) XXX_Size() int { + return xxx_messageInfo_PriceResponse.Size(m) +} +func (m *PriceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PriceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PriceResponse proto.InternalMessageInfo + +func (m *PriceResponse) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *PriceResponse) GetCurrency() string { - if x != nil { - return x.Currency +func (m *PriceResponse) GetCurrency() string { + if m != nil { + return m.Currency } return "" } -func (x *PriceResponse) GetPrice() float64 { - if x != nil { - return x.Price +func (m *PriceResponse) GetPrice() float64 { + if m != nil { + return m.Price } return 0 } -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, - 0x15, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x74, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x61, 0x6e, - 0x67, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x30, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x6a, 0x0a, 0x08, 0x54, 0x78, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0xf4, 0x03, 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, 0x1c, 0x0a, 0x09, 0x67, 0x69, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x69, - 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, - 0x1c, 0x0a, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x73, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x65, - 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x48, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x7a, 0x63, 0x61, 0x73, 0x68, 0x64, 0x42, - 0x75, 0x69, 0x6c, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x7a, 0x63, 0x61, 0x73, - 0x68, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x7a, 0x63, 0x61, 0x73, 0x68, - 0x64, 0x53, 0x75, 0x62, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x10, 0x7a, 0x63, 0x61, 0x73, 0x68, 0x64, 0x53, 0x75, 0x62, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x72, 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, 0x37, - 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x2a, 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x55, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, - 0x6c, 0x55, 0x73, 0x22, 0x38, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x78, 0x69, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x65, 0x78, 0x69, 0x74, 0x22, 0x23, 0x0a, - 0x07, 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, 0x2b, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 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, 0x22, 0x79, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x16, 0x0a, 0x06, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x72, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x72, 0x65, 0x65, - 0x22, 0x74, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, - 0x78, 0x6f, 0x73, 0x41, 0x72, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x48, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x45, 0x6e, 0x74, - 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x45, - 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x5a, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x5a, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, - 0x6b, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, - 0x6f, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0c, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x0c, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x22, 0x48, 0x0a, 0x0c, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, - 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, - 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x5f, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x32, 0xd0, 0x0c, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x70, - 0x61, 0x63, 0x74, 0x54, 0x78, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x12, 0x54, 0x0a, - 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x20, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x51, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, - 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x1a, - 0x23, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x5b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, - 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, 0x23, 0x2e, 0x63, 0x61, 0x73, - 0x68, 0x2e, 0x7a, 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, 0x5a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x5a, 0x45, 0x43, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, - 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5a, 0x45, 0x43, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x1a, 0x24, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0e, 0x47, - 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, - 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x25, - 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x5f, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x63, 0x61, 0x73, - 0x68, 0x2e, 0x7a, 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, 0x23, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x73, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x78, 0x69, 0x64, 0x73, 0x12, 0x34, 0x2e, 0x63, - 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x25, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x5a, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, - 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x00, 0x28, 0x01, 0x12, 0x54, 0x0a, 0x0c, 0x47, 0x65, 0x74, - 0x4d, 0x65, 0x6d, 0x70, 0x6f, 0x6f, 0x6c, 0x54, 0x78, 0x12, 0x1e, 0x2e, 0x63, 0x61, 0x73, 0x68, - 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x1a, 0x20, 0x2e, 0x63, 0x61, 0x73, 0x68, - 0x2e, 0x7a, 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, - 0x5b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x12, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x1a, 0x25, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x52, 0x0a, 0x0c, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x63, - 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x44, 0x1a, 0x20, 0x2e, 0x63, - 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x00, - 0x12, 0x6f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, - 0x78, 0x6f, 0x73, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x41, 0x72, 0x67, 0x1a, 0x2f, - 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, - 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x00, 0x12, 0x73, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, - 0x74, 0x78, 0x6f, 0x73, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x29, 0x2e, 0x63, 0x61, 0x73, - 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, - 0x6f, 0x73, 0x41, 0x72, 0x67, 0x1a, 0x2b, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x70, - 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x67, - 0x68, 0x74, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, - 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x21, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 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, 0x04, 0x50, 0x69, - 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x1a, 0x23, 0x2e, 0x63, 0x61, 0x73, 0x68, 0x2e, 0x7a, 0x2e, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x1b, 0x5a, 0x16, 0x6c, 0x69, - 0x67, 0x68, 0x74, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x64, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x72, 0x70, 0x63, 0xba, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +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((*TransparentAddressBlockFilter)(nil), "cash.z.wallet.sdk.rpc.TransparentAddressBlockFilter") + proto.RegisterType((*Duration)(nil), "cash.z.wallet.sdk.rpc.Duration") + proto.RegisterType((*PingResponse)(nil), "cash.z.wallet.sdk.rpc.PingResponse") + proto.RegisterType((*Address)(nil), "cash.z.wallet.sdk.rpc.Address") + proto.RegisterType((*AddressList)(nil), "cash.z.wallet.sdk.rpc.AddressList") + proto.RegisterType((*Balance)(nil), "cash.z.wallet.sdk.rpc.Balance") + proto.RegisterType((*Exclude)(nil), "cash.z.wallet.sdk.rpc.Exclude") + proto.RegisterType((*TreeState)(nil), "cash.z.wallet.sdk.rpc.TreeState") + proto.RegisterType((*GetAddressUtxosArg)(nil), "cash.z.wallet.sdk.rpc.GetAddressUtxosArg") + proto.RegisterType((*GetAddressUtxosReply)(nil), "cash.z.wallet.sdk.rpc.GetAddressUtxosReply") + proto.RegisterType((*GetAddressUtxosReplyList)(nil), "cash.z.wallet.sdk.rpc.GetAddressUtxosReplyList") + proto.RegisterType((*PriceRequest)(nil), "cash.z.wallet.sdk.rpc.PriceRequest") + proto.RegisterType((*PriceResponse)(nil), "cash.z.wallet.sdk.rpc.PriceResponse") } -var ( - file_service_proto_rawDescOnce sync.Once - file_service_proto_rawDescData = file_service_proto_rawDesc -) +func init() { proto.RegisterFile("service.proto", fileDescriptor_a0b84a42fa06f626) } -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, 21) -var file_service_proto_goTypes = []interface{}{ - (*BlockID)(nil), // 0: cash.z.wallet.sdk.rpc.BlockID - (*BlockRange)(nil), // 1: cash.z.wallet.sdk.rpc.BlockRange - (*TxFilter)(nil), // 2: cash.z.wallet.sdk.rpc.TxFilter - (*RawTransaction)(nil), // 3: cash.z.wallet.sdk.rpc.RawTransaction - (*SendResponse)(nil), // 4: cash.z.wallet.sdk.rpc.SendResponse - (*ChainSpec)(nil), // 5: cash.z.wallet.sdk.rpc.ChainSpec - (*Empty)(nil), // 6: cash.z.wallet.sdk.rpc.Empty - (*LightdInfo)(nil), // 7: cash.z.wallet.sdk.rpc.LightdInfo - (*TransparentAddressBlockFilter)(nil), // 8: cash.z.wallet.sdk.rpc.TransparentAddressBlockFilter - (*Duration)(nil), // 9: cash.z.wallet.sdk.rpc.Duration - (*PingResponse)(nil), // 10: cash.z.wallet.sdk.rpc.PingResponse - (*Address)(nil), // 11: cash.z.wallet.sdk.rpc.Address - (*AddressList)(nil), // 12: cash.z.wallet.sdk.rpc.AddressList - (*Balance)(nil), // 13: cash.z.wallet.sdk.rpc.Balance - (*Exclude)(nil), // 14: cash.z.wallet.sdk.rpc.Exclude - (*TreeState)(nil), // 15: cash.z.wallet.sdk.rpc.TreeState - (*GetAddressUtxosArg)(nil), // 16: cash.z.wallet.sdk.rpc.GetAddressUtxosArg - (*GetAddressUtxosReply)(nil), // 17: cash.z.wallet.sdk.rpc.GetAddressUtxosReply - (*GetAddressUtxosReplyList)(nil), // 18: cash.z.wallet.sdk.rpc.GetAddressUtxosReplyList - (*PriceRequest)(nil), // 19: cash.z.wallet.sdk.rpc.PriceRequest - (*PriceResponse)(nil), // 20: cash.z.wallet.sdk.rpc.PriceResponse - (*CompactBlock)(nil), // 21: cash.z.wallet.sdk.rpc.CompactBlock - (*CompactTx)(nil), // 22: cash.z.wallet.sdk.rpc.CompactTx -} -var file_service_proto_depIdxs = []int32{ - 0, // 0: cash.z.wallet.sdk.rpc.BlockRange.start:type_name -> cash.z.wallet.sdk.rpc.BlockID - 0, // 1: cash.z.wallet.sdk.rpc.BlockRange.end:type_name -> cash.z.wallet.sdk.rpc.BlockID - 0, // 2: cash.z.wallet.sdk.rpc.TxFilter.block:type_name -> cash.z.wallet.sdk.rpc.BlockID - 1, // 3: cash.z.wallet.sdk.rpc.TransparentAddressBlockFilter.range:type_name -> cash.z.wallet.sdk.rpc.BlockRange - 17, // 4: cash.z.wallet.sdk.rpc.GetAddressUtxosReplyList.addressUtxos:type_name -> cash.z.wallet.sdk.rpc.GetAddressUtxosReply - 5, // 5: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLatestBlock:input_type -> cash.z.wallet.sdk.rpc.ChainSpec - 0, // 6: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlock:input_type -> cash.z.wallet.sdk.rpc.BlockID - 1, // 7: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockRange:input_type -> cash.z.wallet.sdk.rpc.BlockRange - 19, // 8: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetZECPrice:input_type -> cash.z.wallet.sdk.rpc.PriceRequest - 6, // 9: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetCurrentZECPrice:input_type -> cash.z.wallet.sdk.rpc.Empty - 2, // 10: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTransaction:input_type -> cash.z.wallet.sdk.rpc.TxFilter - 3, // 11: cash.z.wallet.sdk.rpc.CompactTxStreamer.SendTransaction:input_type -> cash.z.wallet.sdk.rpc.RawTransaction - 8, // 12: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressTxids:input_type -> cash.z.wallet.sdk.rpc.TransparentAddressBlockFilter - 12, // 13: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalance:input_type -> cash.z.wallet.sdk.rpc.AddressList - 11, // 14: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalanceStream:input_type -> cash.z.wallet.sdk.rpc.Address - 14, // 15: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolTx:input_type -> cash.z.wallet.sdk.rpc.Exclude - 6, // 16: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolStream:input_type -> cash.z.wallet.sdk.rpc.Empty - 0, // 17: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTreeState:input_type -> cash.z.wallet.sdk.rpc.BlockID - 16, // 18: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxos:input_type -> cash.z.wallet.sdk.rpc.GetAddressUtxosArg - 16, // 19: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxosStream:input_type -> cash.z.wallet.sdk.rpc.GetAddressUtxosArg - 6, // 20: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLightdInfo:input_type -> cash.z.wallet.sdk.rpc.Empty - 9, // 21: cash.z.wallet.sdk.rpc.CompactTxStreamer.Ping:input_type -> cash.z.wallet.sdk.rpc.Duration - 0, // 22: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLatestBlock:output_type -> cash.z.wallet.sdk.rpc.BlockID - 21, // 23: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlock:output_type -> cash.z.wallet.sdk.rpc.CompactBlock - 21, // 24: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetBlockRange:output_type -> cash.z.wallet.sdk.rpc.CompactBlock - 20, // 25: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetZECPrice:output_type -> cash.z.wallet.sdk.rpc.PriceResponse - 20, // 26: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetCurrentZECPrice:output_type -> cash.z.wallet.sdk.rpc.PriceResponse - 3, // 27: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTransaction:output_type -> cash.z.wallet.sdk.rpc.RawTransaction - 4, // 28: cash.z.wallet.sdk.rpc.CompactTxStreamer.SendTransaction:output_type -> cash.z.wallet.sdk.rpc.SendResponse - 3, // 29: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressTxids:output_type -> cash.z.wallet.sdk.rpc.RawTransaction - 13, // 30: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalance:output_type -> cash.z.wallet.sdk.rpc.Balance - 13, // 31: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTaddressBalanceStream:output_type -> cash.z.wallet.sdk.rpc.Balance - 22, // 32: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolTx:output_type -> cash.z.wallet.sdk.rpc.CompactTx - 3, // 33: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetMempoolStream:output_type -> cash.z.wallet.sdk.rpc.RawTransaction - 15, // 34: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetTreeState:output_type -> cash.z.wallet.sdk.rpc.TreeState - 18, // 35: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxos:output_type -> cash.z.wallet.sdk.rpc.GetAddressUtxosReplyList - 17, // 36: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetAddressUtxosStream:output_type -> cash.z.wallet.sdk.rpc.GetAddressUtxosReply - 7, // 37: cash.z.wallet.sdk.rpc.CompactTxStreamer.GetLightdInfo:output_type -> cash.z.wallet.sdk.rpc.LightdInfo - 10, // 38: cash.z.wallet.sdk.rpc.CompactTxStreamer.Ping:output_type -> cash.z.wallet.sdk.rpc.PingResponse - 22, // [22:39] is the sub-list for method output_type - 5, // [5:22] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] 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.(*TransparentAddressBlockFilter); 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.(*Duration); 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.(*PingResponse); 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.(*Address); 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.(*AddressList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[13].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[14].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 - } - } - file_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TreeState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAddressUtxosArg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAddressUtxosReply); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAddressUtxosReplyList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PriceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PriceResponse); 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: 21, - 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_rawDesc = nil - file_service_proto_goTypes = nil - file_service_proto_depIdxs = nil +var fileDescriptor_a0b84a42fa06f626 = []byte{ + // 1270 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0x6d, 0x6f, 0x13, 0xc7, + 0x13, 0xb7, 0x71, 0x1c, 0xc7, 0x63, 0x87, 0x87, 0x15, 0xf0, 0x3f, 0xf9, 0x0f, 0x34, 0x5d, 0x8a, + 0x94, 0x42, 0x65, 0x10, 0xa5, 0x2a, 0x2f, 0xfa, 0x26, 0x09, 0x69, 0x40, 0x02, 0x4a, 0x37, 0xe6, + 0x4d, 0x90, 0x8a, 0x36, 0x77, 0x83, 0x7d, 0xcd, 0xf9, 0xee, 0xba, 0xbb, 0x0e, 0x0e, 0x1f, 0xa8, + 0x52, 0xbf, 0x42, 0x3f, 0x45, 0x3f, 0x4c, 0x3f, 0x40, 0xb5, 0xb3, 0x6b, 0xfb, 0x1c, 0x38, 0xdb, + 0x79, 0xe5, 0x9b, 0xd9, 0xd9, 0xdf, 0xcc, 0xce, 0xb3, 0x61, 0x53, 0xa3, 0x3a, 0x8d, 0x43, 0xec, + 0xe6, 0x2a, 0x33, 0x19, 0xbb, 0x11, 0x4a, 0x3d, 0xe8, 0x7e, 0xea, 0x7e, 0x94, 0x49, 0x82, 0xa6, + 0xab, 0xa3, 0x93, 0xae, 0xca, 0xc3, 0xce, 0x8d, 0x30, 0x1b, 0xe6, 0x32, 0x34, 0xef, 0x3f, 0x64, + 0x6a, 0x28, 0x8d, 0x76, 0xd2, 0xfc, 0x07, 0x68, 0xec, 0x26, 0x59, 0x78, 0xf2, 0xe2, 0x19, 0xbb, + 0x09, 0xeb, 0x03, 0x8c, 0xfb, 0x03, 0x13, 0x54, 0xb7, 0xaa, 0xdb, 0x6b, 0xc2, 0x53, 0x8c, 0xc1, + 0xda, 0x40, 0xea, 0x41, 0x70, 0x69, 0xab, 0xba, 0xdd, 0x16, 0xf4, 0xcd, 0x0d, 0x00, 0x5d, 0x13, + 0x32, 0xed, 0x23, 0x7b, 0x02, 0x75, 0x6d, 0xa4, 0x72, 0x17, 0x5b, 0x8f, 0xef, 0x74, 0xbf, 0x68, + 0x42, 0xd7, 0x2b, 0x12, 0x4e, 0x98, 0x3d, 0x82, 0x1a, 0xa6, 0x11, 0xc1, 0x2e, 0xbf, 0x63, 0x45, + 0xf9, 0xef, 0xb0, 0xd1, 0x1b, 0xff, 0x1c, 0x27, 0x06, 0x95, 0xd5, 0x79, 0x6c, 0xcf, 0x56, 0xd5, + 0x49, 0xc2, 0xec, 0x3a, 0xd4, 0xe3, 0x34, 0xc2, 0x31, 0x69, 0x5d, 0x13, 0x8e, 0x98, 0xbe, 0xb0, + 0x56, 0x78, 0xe1, 0x4f, 0x70, 0x59, 0xc8, 0x8f, 0x3d, 0x25, 0x53, 0x2d, 0x43, 0x13, 0x67, 0xa9, + 0x95, 0x8a, 0xa4, 0x91, 0xa4, 0xb0, 0x2d, 0xe8, 0xbb, 0xe0, 0xb3, 0x4b, 0x45, 0x9f, 0xf1, 0x37, + 0xd0, 0x3e, 0xc4, 0x34, 0x12, 0xa8, 0xf3, 0x2c, 0xd5, 0xc8, 0x6e, 0x41, 0x13, 0x95, 0xca, 0xd4, + 0x5e, 0x16, 0x21, 0x01, 0xd4, 0xc5, 0x8c, 0xc1, 0x38, 0xb4, 0x89, 0x78, 0x85, 0x5a, 0xcb, 0x3e, + 0x12, 0x56, 0x53, 0xcc, 0xf1, 0x78, 0x0b, 0x9a, 0x7b, 0x03, 0x19, 0xa7, 0x87, 0x39, 0x86, 0xbc, + 0x01, 0xf5, 0xfd, 0x61, 0x6e, 0xce, 0xf8, 0xbf, 0x35, 0x80, 0x97, 0x56, 0x63, 0xf4, 0x22, 0xfd, + 0x90, 0xb1, 0x00, 0x1a, 0xa7, 0xa8, 0x74, 0x9c, 0xa5, 0xa4, 0xa4, 0x29, 0x26, 0xa4, 0x35, 0xf4, + 0x14, 0xd3, 0x28, 0x53, 0x1e, 0xdc, 0x53, 0x56, 0xb5, 0x91, 0x51, 0xa4, 0x0e, 0x47, 0x79, 0x9e, + 0x29, 0x43, 0x2e, 0xd8, 0x10, 0x73, 0x3c, 0x6b, 0x7c, 0x68, 0x55, 0xbf, 0x96, 0x43, 0x0c, 0xd6, + 0xe8, 0xfa, 0x8c, 0xc1, 0x9e, 0xc2, 0xff, 0xb4, 0xcc, 0x93, 0x38, 0xed, 0xef, 0x84, 0x26, 0x3e, + 0x95, 0xd6, 0x57, 0xcf, 0x9d, 0x4f, 0xea, 0xe4, 0x93, 0xb2, 0x63, 0xf6, 0x1d, 0x5c, 0x0b, 0xad, + 0x77, 0x52, 0x3d, 0xd2, 0xbb, 0x4a, 0xa6, 0xe1, 0xe0, 0x45, 0x14, 0xac, 0x13, 0xfe, 0xe7, 0x07, + 0x6c, 0x0b, 0x5a, 0x14, 0x43, 0x8f, 0xdd, 0x20, 0xec, 0x22, 0xcb, 0xda, 0xd9, 0x8f, 0xcd, 0x5e, + 0x36, 0x1c, 0xc6, 0x26, 0xd8, 0x70, 0x76, 0x4e, 0x19, 0xd6, 0x03, 0xc7, 0x84, 0x15, 0x34, 0x9d, + 0x07, 0x1c, 0x65, 0x6f, 0x1d, 0x8f, 0xe2, 0x24, 0x7a, 0x26, 0x0d, 0x06, 0xe0, 0x6e, 0x4d, 0x19, + 0xd3, 0xd3, 0xb7, 0x1a, 0x55, 0xd0, 0x2a, 0x9c, 0x5a, 0x06, 0xdb, 0x86, 0x2b, 0xa8, 0x4d, 0x3c, + 0x94, 0x06, 0x23, 0x6f, 0x57, 0x9b, 0xec, 0x3a, 0xcf, 0xb6, 0xd6, 0x7f, 0xb2, 0x19, 0x1a, 0xed, + 0xda, 0xcb, 0xc1, 0x26, 0x21, 0x15, 0x59, 0xec, 0x3e, 0x5c, 0x75, 0xe4, 0xe1, 0xe8, 0x78, 0x12, + 0xc4, 0xcb, 0x24, 0xf6, 0x19, 0x9f, 0x2b, 0xb8, 0x4d, 0x99, 0x99, 0x4b, 0x85, 0xa9, 0xd9, 0x89, + 0x22, 0x85, 0x5a, 0x53, 0xaa, 0xfb, 0xea, 0x08, 0xa0, 0x21, 0x1d, 0x77, 0x92, 0x08, 0x9e, 0x64, + 0x3f, 0x42, 0x5d, 0xd9, 0xa2, 0xf5, 0x75, 0xf7, 0xf5, 0xa2, 0xba, 0xa1, 0xea, 0x16, 0x4e, 0x9e, + 0xdf, 0x87, 0x8d, 0x67, 0x23, 0x45, 0xf1, 0x63, 0x77, 0x00, 0xe2, 0xd4, 0xa0, 0x3a, 0x95, 0xc9, + 0x5b, 0xa7, 0xa1, 0x26, 0x0a, 0x1c, 0xfe, 0x14, 0xda, 0x6f, 0xe2, 0xb4, 0x3f, 0x4d, 0xff, 0xeb, + 0x50, 0xc7, 0xd4, 0xa8, 0x33, 0x2f, 0xea, 0x08, 0x5b, 0x50, 0x38, 0x8e, 0x5d, 0xe9, 0xd4, 0x04, + 0x7d, 0xf3, 0xbb, 0xd0, 0xf0, 0xcf, 0x29, 0x7f, 0x03, 0x7f, 0x00, 0x2d, 0x2f, 0xf4, 0x32, 0xd6, + 0x14, 0x77, 0x7f, 0x82, 0x56, 0xb4, 0x66, 0x63, 0x34, 0x65, 0xf0, 0x7b, 0xd0, 0xd8, 0x95, 0x89, + 0x4c, 0x43, 0x64, 0x1d, 0xd8, 0x38, 0x95, 0xc9, 0x08, 0x8f, 0xa4, 0xf1, 0x96, 0x4c, 0x69, 0x7e, + 0x1b, 0x1a, 0xfb, 0xe3, 0x30, 0x19, 0x45, 0x68, 0xed, 0x32, 0xe3, 0x38, 0x22, 0xa8, 0xb6, 0xa0, + 0x6f, 0xfe, 0x57, 0x15, 0x9a, 0x3d, 0x85, 0x78, 0x68, 0x6c, 0x56, 0x04, 0xd0, 0x48, 0xd1, 0x7c, + 0xcc, 0xd4, 0xc9, 0xc4, 0x34, 0x4f, 0x96, 0x35, 0x84, 0xb9, 0x16, 0xd3, 0x74, 0x2d, 0x86, 0xf4, + 0xc4, 0xbe, 0xa4, 0x36, 0x05, 0x7d, 0xdb, 0x3c, 0xf1, 0xe5, 0x62, 0xb5, 0x51, 0x05, 0x35, 0x45, + 0x91, 0x65, 0x25, 0x32, 0x15, 0x0e, 0xa4, 0x8a, 0x48, 0xc2, 0xd5, 0x4b, 0x91, 0xc5, 0x0d, 0xb0, + 0x03, 0x9c, 0x64, 0xc5, 0x5b, 0x33, 0xce, 0xf4, 0x8e, 0xea, 0x2f, 0xf6, 0x12, 0xe9, 0xb5, 0x5d, + 0xf9, 0x79, 0xd1, 0xf8, 0x22, 0xcb, 0xc6, 0x7c, 0x28, 0xc7, 0xfb, 0xa9, 0x51, 0x31, 0x6a, 0x7a, + 0xc7, 0xa6, 0x28, 0x70, 0xf8, 0x9f, 0x55, 0xb8, 0x7e, 0x4e, 0xad, 0xc0, 0x3c, 0x39, 0x2b, 0xc6, + 0x71, 0x7d, 0x3e, 0x17, 0x67, 0x8e, 0xae, 0x4e, 0x1c, 0x3d, 0xdf, 0xa1, 0xeb, 0x93, 0x0e, 0x7d, + 0x13, 0xd6, 0x75, 0xa8, 0xe2, 0xdc, 0xf8, 0x1e, 0xed, 0xa9, 0xb9, 0x88, 0xae, 0xcd, 0x47, 0xb4, + 0x10, 0x8a, 0xfa, 0x5c, 0x6f, 0x3e, 0x81, 0xe0, 0x4b, 0x76, 0x52, 0x2a, 0xfd, 0x02, 0x6d, 0x59, + 0x38, 0x20, 0x3f, 0xb5, 0x1e, 0x3f, 0x28, 0x29, 0x92, 0x2f, 0xc1, 0x88, 0x39, 0x00, 0xfe, 0x1c, + 0xda, 0x6f, 0x54, 0x1c, 0xa2, 0xc0, 0x3f, 0x46, 0xe8, 0x72, 0xd5, 0xc6, 0x59, 0x1b, 0x39, 0xcc, + 0xfd, 0x9c, 0x9d, 0x31, 0xec, 0x73, 0xc2, 0x91, 0x52, 0x98, 0x86, 0x67, 0xbe, 0x4f, 0x4f, 0x69, + 0xfe, 0x1e, 0x36, 0x3d, 0xd2, 0x6c, 0xa6, 0xcc, 0x43, 0xd5, 0x56, 0x84, 0xb2, 0x3e, 0xce, 0x2d, + 0x14, 0x39, 0xb3, 0x2a, 0x1c, 0xf1, 0xf8, 0x9f, 0x36, 0x5c, 0xdb, 0x73, 0x4b, 0x42, 0x6f, 0x7c, + 0x68, 0x14, 0xca, 0x21, 0x2a, 0xd6, 0x83, 0xcb, 0x07, 0x68, 0x5e, 0x4a, 0x83, 0xda, 0x50, 0x53, + 0x60, 0x5b, 0x25, 0xde, 0x98, 0x8e, 0xa7, 0xce, 0x92, 0x61, 0xcc, 0x2b, 0xec, 0x57, 0xd8, 0x38, + 0x40, 0x8f, 0xb7, 0x44, 0xba, 0x73, 0xb7, 0x4c, 0x9f, 0xb3, 0x95, 0xc4, 0x78, 0x85, 0xbd, 0x83, + 0xcd, 0x09, 0xa4, 0xdb, 0x4a, 0x96, 0xb7, 0xb6, 0x15, 0xa1, 0x1f, 0x55, 0xd9, 0x11, 0xb4, 0x0e, + 0xd0, 0x1c, 0xed, 0xef, 0x51, 0x08, 0x58, 0xd9, 0xbd, 0x62, 0xa8, 0x3b, 0xdf, 0x2c, 0x16, 0x72, + 0x51, 0xe4, 0x15, 0x76, 0x44, 0xe5, 0xba, 0x47, 0xc1, 0x99, 0xa9, 0xb8, 0x55, 0x72, 0x9b, 0xe6, + 0xfe, 0x05, 0xb0, 0x6d, 0xf4, 0x8a, 0x5b, 0xcc, 0x57, 0x25, 0x37, 0x27, 0x8b, 0x55, 0xe7, 0x5e, + 0x89, 0xc0, 0xfc, 0x36, 0xc4, 0x2b, 0xec, 0x3d, 0x5c, 0xb1, 0x3b, 0x4e, 0x11, 0x7c, 0xb5, 0xbb, + 0xa5, 0x6e, 0x2f, 0xae, 0x4c, 0xbc, 0xc2, 0x34, 0x5c, 0xb5, 0xc6, 0xfb, 0x7a, 0xea, 0x8d, 0xe3, + 0x48, 0xb3, 0x27, 0x65, 0xe6, 0x2f, 0x1a, 0x87, 0x2b, 0xbf, 0x89, 0x22, 0xcd, 0x0a, 0x4a, 0x27, + 0x93, 0x83, 0x97, 0x00, 0x14, 0xc6, 0x50, 0x79, 0xd6, 0x3b, 0x0c, 0x5e, 0x61, 0xbf, 0x51, 0xe7, + 0x39, 0x87, 0xed, 0x2a, 0xad, 0xb4, 0x0a, 0xbc, 0x86, 0xe5, 0xe8, 0xdb, 0x55, 0xd6, 0x83, 0xf6, + 0x01, 0x9a, 0x57, 0x38, 0xcc, 0xb3, 0x2c, 0xe9, 0x8d, 0x4b, 0x31, 0xfd, 0xa0, 0xeb, 0x6c, 0x2d, + 0x4e, 0xff, 0xde, 0x98, 0x3c, 0xf2, 0x8e, 0xc2, 0xe0, 0x51, 0xbd, 0xb5, 0x8b, 0xb3, 0xf3, 0x02, + 0xee, 0x16, 0x64, 0xf2, 0x6c, 0xb2, 0x2e, 0x6b, 0x06, 0x5b, 0xa5, 0xf1, 0xf7, 0x08, 0xbc, 0xc2, + 0x32, 0xb8, 0x72, 0xae, 0x33, 0xb3, 0x6f, 0x57, 0xeb, 0xe0, 0x3b, 0xaa, 0xdf, 0x79, 0x78, 0x81, + 0x66, 0x6f, 0xe3, 0x4e, 0x89, 0x7a, 0xe3, 0xdc, 0xa9, 0x77, 0xd3, 0x05, 0xd4, 0x5e, 0x64, 0xc6, + 0x78, 0xcf, 0xd9, 0x7e, 0x57, 0x58, 0xfe, 0x17, 0xc7, 0xa4, 0xac, 0x1b, 0xce, 0x00, 0x78, 0x85, + 0xbd, 0x86, 0x35, 0xbb, 0xb7, 0x95, 0x36, 0x89, 0xc9, 0x02, 0x58, 0x5a, 0xc1, 0xc5, 0xad, 0x8f, + 0x57, 0x76, 0xff, 0x7f, 0x74, 0x33, 0xb1, 0xf8, 0x4e, 0x2a, 0x7a, 0xe8, 0x7e, 0x55, 0x1e, 0xfe, + 0x7d, 0xa9, 0x72, 0xbc, 0x4e, 0xff, 0x40, 0xbf, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x11, 0x60, + 0x23, 0xc8, 0xc0, 0x0e, 0x00, 0x00, } diff --git a/walletrpc/service_grpc.pb.go b/walletrpc/service_grpc.pb.go index 3500757..33b32ef 100644 --- a/walletrpc/service_grpc.pb.go +++ b/walletrpc/service_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.11.4 +// source: service.proto package walletrpc @@ -45,6 +49,8 @@ type CompactTxStreamerClient interface { // match a shortened txid, they are all sent (none is excluded). Transactions // in the exclude list that don't exist in the mempool are ignored. GetMempoolTx(ctx context.Context, in *Exclude, opts ...grpc.CallOption) (CompactTxStreamer_GetMempoolTxClient, error) + // Return a stream of current Mempool transactions. This will keep the output stream open while + // there are mempool transactions. It will close the returned stream when a new block is mined. GetMempoolStream(ctx context.Context, in *Empty, opts ...grpc.CallOption) (CompactTxStreamer_GetMempoolStreamClient, error) // GetTreeState returns the note commitment tree state corresponding to the given block. // See section 3.7 of the Zcash protocol specification. It returns several other useful @@ -391,6 +397,8 @@ type CompactTxStreamerServer interface { // match a shortened txid, they are all sent (none is excluded). Transactions // in the exclude list that don't exist in the mempool are ignored. GetMempoolTx(*Exclude, CompactTxStreamer_GetMempoolTxServer) error + // Return a stream of current Mempool transactions. This will keep the output stream open while + // there are mempool transactions. It will close the returned stream when a new block is mined. GetMempoolStream(*Empty, CompactTxStreamer_GetMempoolStreamServer) error // GetTreeState returns the note commitment tree state corresponding to the given block. // See section 3.7 of the Zcash protocol specification. It returns several other useful