@ -1,117 +1,134 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.14.0
// source: compact_formats.proto
package walletrpc
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto . Marshal
var _ = fmt . Errorf
var _ = math . Inf
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto . ProtoPackageIsVersion3 // please upgrade the proto package
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto . ProtoPackageIsVersion4
// 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 {
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 ( m * CompactBlock ) Reset ( ) { * m = CompactBlock { } }
func ( m * CompactBlock ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * CompactBlock ) ProtoMessage ( ) { }
func ( * CompactBlock ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_dce29fee3ee34899 , [ ] int { 0 }
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" `
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" ` // (hash, prevHash, and time) OR (full header)
Vtx [ ] * CompactTx ` protobuf:"bytes,7,rep,name=vtx,proto3" json:"vtx,omitempty" ` // compact transactions from this block
}
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 ( 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 ( x * CompactBlock ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( m * CompactBlock ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_CompactBlock . DiscardUnknown ( m )
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 )
}
var xxx_messageInfo_CompactBlock proto . InternalMessageInfo
// Deprecated: Use CompactBlock.ProtoReflect.Descriptor instead.
func ( * CompactBlock ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_compact_formats_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
func ( m * CompactBlock ) GetProtoVersion ( ) uint32 {
if m != nil {
return m . ProtoVersion
func ( x * CompactBlock ) GetProtoVersion ( ) uint32 {
if x != nil {
return x . ProtoVersion
}
return 0
}
func ( m * CompactBlock ) GetHeight ( ) uint64 {
if m != nil {
return m . Height
func ( x * CompactBlock ) GetHeight ( ) uint64 {
if x != nil {
return x . Height
}
return 0
}
func ( m * CompactBlock ) GetHash ( ) [ ] byte {
if m != nil {
return m . Hash
func ( x * CompactBlock ) GetHash ( ) [ ] byte {
if x != nil {
return x . Hash
}
return nil
}
func ( m * CompactBlock ) GetPrevHash ( ) [ ] byte {
if m != nil {
return m . PrevHash
func ( x * CompactBlock ) GetPrevHash ( ) [ ] byte {
if x != nil {
return x . PrevHash
}
return nil
}
func ( m * CompactBlock ) GetTime ( ) uint32 {
if m != nil {
return m . Time
func ( x * CompactBlock ) GetTime ( ) uint32 {
if x != nil {
return x . Time
}
return 0
}
func ( m * CompactBlock ) GetHeader ( ) [ ] byte {
if m != nil {
return m . Header
func ( x * CompactBlock ) GetHeader ( ) [ ] byte {
if x != nil {
return x . Header
}
return nil
}
func ( m * CompactBlock ) GetVtx ( ) [ ] * CompactTx {
if m != nil {
return m . Vtx
func ( x * CompactBlock ) GetVtx ( ) [ ] * CompactTx {
if x != nil {
return x . Vtx
}
return nil
}
type CompactTx struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Index and hash will allow the receiver to call out to chain
// explorers or other data structures to retrieve more information
// about this transaction.
@ -122,199 +139,332 @@ type CompactTx struct {
// 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 [ ] * CompactSpend ` protobuf:"bytes,4,rep,name=spends,proto3" json:"spends,omitempty" `
Outputs [ ] * CompactOutput ` protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
Fee uint32 ` protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty" `
Spends [ ] * CompactSpend ` protobuf:"bytes,4,rep,name=spends,proto3" json:"spends,omitempty" `
Outputs [ ] * CompactOutput ` protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty" `
}
func ( m * CompactTx ) Reset ( ) { * m = CompactTx { } }
func ( m * CompactTx ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * CompactTx ) ProtoMessage ( ) { }
func ( * CompactTx ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_dce29fee3ee34899 , [ ] int { 1 }
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 ( 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 ( x * CompactTx ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
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 )
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 )
}
var xxx_messageInfo_CompactTx proto . InternalMessageInfo
// Deprecated: Use CompactTx.ProtoReflect.Descriptor instead.
func ( * CompactTx ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_compact_formats_proto_rawDescGZIP ( ) , [ ] int { 1 }
}
func ( m * CompactTx ) GetIndex ( ) uint64 {
if m != nil {
return m . Index
func ( x * CompactTx ) GetIndex ( ) uint64 {
if x != nil {
return x . Index
}
return 0
}
func ( m * CompactTx ) GetHash ( ) [ ] byte {
if m != nil {
return m . Hash
func ( x * CompactTx ) GetHash ( ) [ ] byte {
if x != nil {
return x . Hash
}
return nil
}
func ( m * CompactTx ) GetFee ( ) uint32 {
if m != nil {
return m . Fee
func ( x * CompactTx ) GetFee ( ) uint32 {
if x != nil {
return x . Fee
}
return 0
}
func ( m * CompactTx ) GetSpends ( ) [ ] * CompactSpend {
if m != nil {
return m . Spends
func ( x * CompactTx ) GetSpends ( ) [ ] * CompactSpend {
if x != nil {
return x . Spends
}
return nil
}
func ( m * CompactTx ) GetOutputs ( ) [ ] * CompactOutput {
if m != nil {
return m . Outputs
func ( x * CompactTx ) GetOutputs ( ) [ ] * CompactOutput {
if x != nil {
return x . Outputs
}
return nil
}
type CompactSpend struct {
Nf [ ] byte ` protobuf:"bytes,1,opt,name=nf,proto3" json:"nf,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
func ( m * CompactSpend ) Reset ( ) { * m = CompactSpend { } }
func ( m * CompactSpend ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * CompactSpend ) ProtoMessage ( ) { }
func ( * CompactSpend ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_dce29fee3ee34899 , [ ] int { 2 }
Nf [ ] byte ` protobuf:"bytes,1,opt,name=nf,proto3" json:"nf,omitempty" `
}
func ( m * CompactSpend ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_CompactSpend . Unmarshal ( m , b )
}
func ( m * CompactSpend ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_CompactSpend . Marshal ( b , m , deterministic )
}
func ( m * CompactSpend ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_CompactSpend . Merge ( m , src )
func ( x * CompactSpend ) Reset ( ) {
* x = CompactSpend { }
if protoimpl . UnsafeEnabled {
mi := & file_compact_formats_proto_msgTypes [ 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( m * CompactSpend ) XXX_Size ( ) int {
return xxx_messageInfo_CompactSpend . Size ( m )
func ( x * CompactSpend ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( m * CompactSpend ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_CompactSpend . DiscardUnknown ( m )
func ( * CompactSpend ) ProtoMessage ( ) { }
func ( x * CompactSpend ) 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 )
}
var xxx_messageInfo_CompactSpend proto . InternalMessageInfo
// Deprecated: Use CompactSpend.ProtoReflect.Descriptor instead.
func ( * CompactSpend ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_compact_formats_proto_rawDescGZIP ( ) , [ ] int { 2 }
}
func ( m * CompactSpend ) GetNf ( ) [ ] byte {
if m != nil {
return m . Nf
func ( x * CompactSpend ) GetNf ( ) [ ] byte {
if x != nil {
return x . Nf
}
return nil
}
type CompactOutput struct {
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:"-" `
}
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
func ( m * CompactOutput ) Reset ( ) { * m = CompactOutput { } }
func ( m * CompactOutput ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * CompactOutput ) ProtoMessage ( ) { }
func ( * CompactOutput ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_dce29fee3ee34899 , [ ] int { 3 }
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" `
}
func ( m * CompactOutput ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_CompactOutput . Unmarshal ( m , b )
}
func ( m * CompactOutput ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_CompactOutput . Marshal ( b , m , deterministic )
}
func ( m * CompactOutput ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_CompactOutput . Merge ( m , src )
func ( x * CompactOutput ) Reset ( ) {
* x = CompactOutput { }
if protoimpl . UnsafeEnabled {
mi := & file_compact_formats_proto_msgTypes [ 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( m * CompactOutput ) XXX_Size ( ) int {
return xxx_messageInfo_CompactOutput . Size ( m )
func ( x * CompactOutput ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( m * CompactOutput ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_CompactOutput . DiscardUnknown ( m )
func ( * CompactOutput ) ProtoMessage ( ) { }
func ( x * CompactOutput ) 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 )
}
var xxx_messageInfo_CompactOutput proto . InternalMessageInfo
// Deprecated: Use CompactOutput.ProtoReflect.Descriptor instead.
func ( * CompactOutput ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_compact_formats_proto_rawDescGZIP ( ) , [ ] int { 3 }
}
func ( m * CompactOutput ) GetCmu ( ) [ ] byte {
if m != nil {
return m . Cmu
func ( x * CompactOutput ) GetCmu ( ) [ ] byte {
if x != nil {
return x . Cmu
}
return nil
}
func ( m * CompactOutput ) GetEpk ( ) [ ] byte {
if m != nil {
return m . Epk
func ( x * CompactOutput ) GetEpk ( ) [ ] byte {
if x != nil {
return x . Epk
}
return nil
}
func ( m * CompactOutput ) GetCiphertext ( ) [ ] byte {
if m != nil {
return m . Ciphertext
func ( x * CompactOutput ) GetCiphertext ( ) [ ] byte {
if x != nil {
return x . Ciphertext
}
return nil
}
func init ( ) {
proto . RegisterType ( ( * CompactBlock ) ( nil ) , "cash.z.wallet.sdk.rpc.CompactBlock" )
proto . RegisterType ( ( * CompactTx ) ( nil ) , "cash.z.wallet.sdk.rpc.CompactTx" )
proto . RegisterType ( ( * CompactSpend ) ( nil ) , "cash.z.wallet.sdk.rpc.CompactSpend" )
proto . RegisterType ( ( * CompactOutput ) ( nil ) , "cash.z.wallet.sdk.rpc.CompactOutput" )
}
func init ( ) { proto . RegisterFile ( "compact_formats.proto" , fileDescriptor_dce29fee3ee34899 ) }
var fileDescriptor_dce29fee3ee34899 = [ ] byte {
// 346 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0x7c , 0x51 , 0xbf , 0x4e , 0xf3 , 0x30 ,
0x1c , 0x54 , 0xfe , 0x34 , 0xfd , 0xfa , 0x6b , 0xfa , 0x09 , 0x59 , 0x14 , 0x59 , 0x0c , 0x55 , 0x14 , 0x18 ,
0x32 , 0x65 , 0x28 , 0x23 , 0x12 , 0x43 , 0x59 , 0xd8 , 0x90 , 0x5c , 0xc4 , 0xc0 , 0x82 , 0x82 , 0xe3 , 0x90 ,
0xa8 , 0x4d , 0x62 , 0xd9 , 0x6e , 0x89 , 0x78 , 0x3e , 0x9e , 0x82 , 0xa7 , 0x41 , 0x76 , 0x4c , 0xd4 , 0x4a ,
0xa8 , 0xdb , 0xdd , 0xe9 , 0xce , 0xbe , 0xd3 , 0x0f , 0xe6 , 0xb4 , 0xad , 0x79 , 0x46 , 0xd5 , 0x6b , 0xd1 ,
0x8a , 0x3a , 0x53 , 0x32 , 0xe5 , 0xa2 , 0x55 , 0x2d , 0x9a , 0xd3 , 0x4c , 0x96 , 0xe9 , 0x67 , 0xfa , 0x91 ,
0x6d , 0xb7 , 0x4c , 0xa5 , 0x32 , 0xdf , 0xa4 , 0x82 , 0xd3 , 0xf8 , 0xdb , 0x81 , 0xf0 , 0xbe , 0x0f , 0xac ,
0xb6 , 0x2d , 0xdd , 0xa0 , 0x18 , 0x42 , 0x13 , 0x78 , 0x66 , 0x42 , 0x56 , 0x6d , 0x83 , 0x9d , 0xc8 , 0x49 ,
0x66 , 0xe4 , 0x48 , 0x43 , 0x17 , 0x10 , 0x94 , 0xac , 0x7a , 0x2f , 0x15 , 0x76 , 0x23 , 0x27 , 0xf1 , 0x89 ,
0x65 , 0x08 , 0x81 , 0x5f , 0x66 , 0xb2 , 0xc4 , 0x5e , 0xe4 , 0x24 , 0x21 , 0x31 , 0x18 , 0x5d , 0xc2 , 0x3f ,
0x2e , 0xd8 , 0xfe , 0x41 , 0xeb , 0xbe , 0xd1 , 0x07 , 0xae , 0xfd , 0xaa , 0xaa , 0x19 , 0x1e , 0x99 , 0x3f ,
0x0c , 0xee , 0xdf , 0xce , 0x72 , 0x26 , 0x70 , 0x60 , 0xdc , 0x96 , 0xa1 , 0x25 , 0x78 , 0x7b , 0xd5 , 0xe1 ,
0x71 , 0xe4 , 0x25 , 0xd3 , 0x65 , 0x94 , 0xfe , 0xb9 , 0x26 , 0xb5 , 0x4b , 0x9e , 0x3a , 0xa2 , 0xcd , 0xf1 ,
0x97 , 0x03 , 0x93 , 0x41 , 0x42 , 0xe7 , 0x30 , 0xaa , 0x9a , 0x9c , 0x75 , 0x66 , 0x92 , 0x4f , 0x7a , 0x32 ,
0x74 , 0x76 , 0x0f , 0x3a , 0x9f , 0x81 , 0x57 , 0x30 , 0x66 , 0x66 , 0xcc , 0x88 , 0x86 , 0xe8 , 0x16 , 0x02 ,
0xc9 , 0x59 , 0x93 , 0x4b , 0xec , 0x9b , 0x02 , 0x57 , 0xa7 , 0x0b , 0xac , 0xb5 , 0x97 , 0xd8 , 0x08 , 0xba ,
0x83 , 0x71 , 0xbb , 0x53 , 0x7c , 0xa7 , 0x24 , 0x1e , 0x99 , 0xf4 , 0xf5 , 0xe9 , 0xf4 , 0xa3 , 0x31 , 0x93 ,
0xdf , 0x50 , 0xbc , 0x18 , 0x4e , 0x64 , 0xde , 0x45 , 0xff , 0xc1 , 0x6d , 0x0a , 0xb3 , 0x22 , 0x24 , 0x6e ,
0x53 , 0xc4 , 0x6b , 0x98 , 0x1d , 0x25 , 0x75 , 0x7f , 0x5a , 0xef , 0xac , 0x43 , 0x43 , 0xad , 0x30 , 0xbe ,
0xb1 , 0x23 , 0x35 , 0x44 , 0x0b , 0x00 , 0x5a , 0xf1 , 0x92 , 0x09 , 0xc5 , 0x3a , 0x65 , 0x2f , 0x76 , 0xa0 ,
0xac , 0xa6 , 0x2f , 0x93 , 0xbe , 0x9d , 0xe0 , 0xf4 , 0x2d , 0x30 , 0xe7 , 0xbf , 0xf9 , 0x09 , 0x00 , 0x00 ,
0xff , 0xff , 0x22 , 0x92 , 0x05 , 0x70 , 0x5c , 0x02 , 0x00 , 0x00 ,
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 , 0x13 , 0x68 , 0x75 , 0x73 , 0x68 , 0x2e , 0x77 , 0x61 ,
0x6c , 0x6c , 0x65 , 0x74 , 0x2e , 0x73 , 0x64 , 0x6b , 0x2e , 0x72 , 0x70 , 0x63 , 0x22 , 0xd8 , 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 , 0x30 , 0x0a , 0x03 , 0x76 , 0x74 , 0x78 , 0x18 , 0x07 , 0x20 , 0x03 ,
0x28 , 0x0b , 0x32 , 0x1e , 0x2e , 0x68 , 0x75 , 0x73 , 0x68 , 0x2e , 0x77 , 0x61 , 0x6c , 0x6c , 0x65 , 0x74 ,
0x2e , 0x73 , 0x64 , 0x6b , 0x2e , 0x72 , 0x70 , 0x63 , 0x2e , 0x43 , 0x6f , 0x6d , 0x70 , 0x61 , 0x63 , 0x74 ,
0x54 , 0x78 , 0x52 , 0x03 , 0x76 , 0x74 , 0x78 , 0x22 , 0xc0 , 0x01 , 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 , 0x39 , 0x0a , 0x06 , 0x73 , 0x70 , 0x65 , 0x6e , 0x64 , 0x73 , 0x18 , 0x04 , 0x20 , 0x03 , 0x28 ,
0x0b , 0x32 , 0x21 , 0x2e , 0x68 , 0x75 , 0x73 , 0x68 , 0x2e , 0x77 , 0x61 , 0x6c , 0x6c , 0x65 , 0x74 , 0x2e ,
0x73 , 0x64 , 0x6b , 0x2e , 0x72 , 0x70 , 0x63 , 0x2e , 0x43 , 0x6f , 0x6d , 0x70 , 0x61 , 0x63 , 0x74 , 0x53 ,
0x70 , 0x65 , 0x6e , 0x64 , 0x52 , 0x06 , 0x73 , 0x70 , 0x65 , 0x6e , 0x64 , 0x73 , 0x12 , 0x3c , 0x0a , 0x07 ,
0x6f , 0x75 , 0x74 , 0x70 , 0x75 , 0x74 , 0x73 , 0x18 , 0x05 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x22 , 0x2e ,
0x68 , 0x75 , 0x73 , 0x68 , 0x2e , 0x77 , 0x61 , 0x6c , 0x6c , 0x65 , 0x74 , 0x2e , 0x73 , 0x64 , 0x6b , 0x2e ,
0x72 , 0x70 , 0x63 , 0x2e , 0x43 , 0x6f , 0x6d , 0x70 , 0x61 , 0x63 , 0x74 , 0x4f , 0x75 , 0x74 , 0x70 , 0x75 ,
0x74 , 0x52 , 0x07 , 0x6f , 0x75 , 0x74 , 0x70 , 0x75 , 0x74 , 0x73 , 0x22 , 0x1e , 0x0a , 0x0c , 0x43 , 0x6f ,
0x6d , 0x70 , 0x61 , 0x63 , 0x74 , 0x53 , 0x70 , 0x65 , 0x6e , 0x64 , 0x12 , 0x0e , 0x0a , 0x02 , 0x6e , 0x66 ,
0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0c , 0x52 , 0x02 , 0x6e , 0x66 , 0x22 , 0x53 , 0x0a , 0x0d , 0x43 , 0x6f ,
0x6d , 0x70 , 0x61 , 0x63 , 0x74 , 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 , 0x42 ,
0x0b , 0x5a , 0x09 , 0x77 , 0x61 , 0x6c , 0x6c , 0x65 , 0x74 , 0x72 , 0x70 , 0x63 , 0x62 , 0x06 , 0x70 , 0x72 ,
0x6f , 0x74 , 0x6f , 0x33 ,
}
var (
file_compact_formats_proto_rawDescOnce sync . Once
file_compact_formats_proto_rawDescData = file_compact_formats_proto_rawDesc
)
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 , 4 )
var file_compact_formats_proto_goTypes = [ ] interface { } {
( * CompactBlock ) ( nil ) , // 0: hush.wallet.sdk.rpc.CompactBlock
( * CompactTx ) ( nil ) , // 1: hush.wallet.sdk.rpc.CompactTx
( * CompactSpend ) ( nil ) , // 2: hush.wallet.sdk.rpc.CompactSpend
( * CompactOutput ) ( nil ) , // 3: hush.wallet.sdk.rpc.CompactOutput
}
var file_compact_formats_proto_depIdxs = [ ] int32 {
1 , // 0: hush.wallet.sdk.rpc.CompactBlock.vtx:type_name -> hush.wallet.sdk.rpc.CompactTx
2 , // 1: hush.wallet.sdk.rpc.CompactTx.spends:type_name -> hush.wallet.sdk.rpc.CompactSpend
3 , // 2: hush.wallet.sdk.rpc.CompactTx.outputs:type_name -> hush.wallet.sdk.rpc.CompactOutput
3 , // [3:3] is the sub-list for method output_type
3 , // [3:3] is the sub-list for method input_type
3 , // [3:3] is the sub-list for extension type_name
3 , // [3:3] is the sub-list for extension extendee
0 , // [0:3] 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 . ( * CompactSpend ) ; 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 . ( * CompactOutput ) ; 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 : 4 ,
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
}