recompile protos

This commit is contained in:
Aditya Kulkarni 2022-05-18 11:42:57 -05:00
parent e7e9530349
commit 4c9e75e28f
6 changed files with 1379 additions and 2456 deletions

View File

@ -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)
}
}

View File

@ -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,
}

View File

@ -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,
}

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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