Commit 05eef4b4 authored by jiangpeng's avatar jiangpeng Committed by vipwzw

modify privacy createTx param

parent c9d494d8
...@@ -124,7 +124,7 @@ func createPub2PrivTx(cmd *cobra.Command, args []string) { ...@@ -124,7 +124,7 @@ func createPub2PrivTx(cmd *cobra.Command, args []string) {
return return
} }
params := types.ReqCreateTransaction{ params := pty.ReqCreatePrivacyTx{
Tokenname: tokenname, Tokenname: tokenname,
Type: types.PrivacyTypePublic2Privacy, Type: types.PrivacyTypePublic2Privacy,
Amount: amount, Amount: amount,
...@@ -186,7 +186,7 @@ func createPriv2PrivTx(cmd *cobra.Command, args []string) { ...@@ -186,7 +186,7 @@ func createPriv2PrivTx(cmd *cobra.Command, args []string) {
return return
} }
params := types.ReqCreateTransaction{ params := pty.ReqCreatePrivacyTx{
Tokenname: tokenname, Tokenname: tokenname,
Type: types.PrivacyTypePrivacy2Privacy, Type: types.PrivacyTypePrivacy2Privacy,
Amount: amount, Amount: amount,
...@@ -250,7 +250,7 @@ func createPriv2PubTx(cmd *cobra.Command, args []string) { ...@@ -250,7 +250,7 @@ func createPriv2PubTx(cmd *cobra.Command, args []string) {
return return
} }
params := types.ReqCreateTransaction{ params := pty.ReqCreatePrivacyTx{
Tokenname: tokenname, Tokenname: tokenname,
Type: types.PrivacyTypePrivacy2Public, Type: types.PrivacyTypePrivacy2Public,
Amount: amount, Amount: amount,
......
...@@ -4,7 +4,6 @@ package types; ...@@ -4,7 +4,6 @@ package types;
import "common.proto"; import "common.proto";
import "transaction.proto"; import "transaction.proto";
import "wallet.proto";
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// message for Privacy // message for Privacy
...@@ -408,6 +407,26 @@ message WalletAccountPrivacy { ...@@ -408,6 +407,26 @@ message WalletAccountPrivacy {
bytes spendPrivKey = 4; bytes spendPrivKey = 4;
} }
// 创建隐私交易请求
message ReqCreatePrivacyTx {
string tokenname = 1;
// 构建交易类型
// 1:隐私交易 公开->隐私
// 2:隐私交易 隐私->隐私
// 3:隐私交易 隐私->公开
int32 type = 2;
int64 amount = 3;
string note = 4;
// 普通交易的发送方
string from = 5;
// 普通交易的接收方
string to = 6;
// 隐私交易,接收方的公钥对
string pubkeypair = 10;
int32 mixcount = 11;
int64 expire = 12;
}
service privacy { service privacy {
// Privacy Trading // Privacy Trading
// 显示指定地址的公钥对信息,可以作为后续交易参数 // 显示指定地址的公钥对信息,可以作为后续交易参数
...@@ -419,5 +438,5 @@ service privacy { ...@@ -419,5 +438,5 @@ service privacy {
// 使能隐私账户 // 使能隐私账户
rpc EnablePrivacy(ReqEnablePrivacy) returns (RepEnablePrivacy) {} rpc EnablePrivacy(ReqEnablePrivacy) returns (RepEnablePrivacy) {}
// 创建隐私交易 // 创建隐私交易
rpc CreateRawTransaction(ReqCreateTransaction) returns (Transaction) {} rpc CreateRawTransaction(ReqCreatePrivacyTx) returns (Transaction) {}
} }
\ No newline at end of file
...@@ -51,7 +51,7 @@ func (g *channelClient) EnablePrivacy(ctx context.Context, in *pty.ReqEnablePriv ...@@ -51,7 +51,7 @@ func (g *channelClient) EnablePrivacy(ctx context.Context, in *pty.ReqEnablePriv
return data.(*pty.RepEnablePrivacy), nil return data.(*pty.RepEnablePrivacy), nil
} }
func (g *channelClient) CreateRawTransaction(ctx context.Context, in *types.ReqCreateTransaction) (*types.Transaction, error) { func (g *channelClient) CreateRawTransaction(ctx context.Context, in *pty.ReqCreatePrivacyTx) (*types.Transaction, error) {
data, err := g.ExecWalletFunc(pty.PrivacyX, "CreateTransaction", in) data, err := g.ExecWalletFunc(pty.PrivacyX, "CreateTransaction", in)
if err != nil { if err != nil {
return nil, err return nil, err
...@@ -145,7 +145,7 @@ func (c *Jrpc) EnablePrivacy(in *pty.ReqEnablePrivacy, result *json.RawMessage) ...@@ -145,7 +145,7 @@ func (c *Jrpc) EnablePrivacy(in *pty.ReqEnablePrivacy, result *json.RawMessage)
} }
// CreateRawTransaction create raw trasaction for json rpc // CreateRawTransaction create raw trasaction for json rpc
func (c *Jrpc) CreateRawTransaction(in *types.ReqCreateTransaction, result *interface{}) error { func (c *Jrpc) CreateRawTransaction(in *pty.ReqCreatePrivacyTx, result *interface{}) error {
reply, err := c.cli.CreateRawTransaction(context.Background(), in) reply, err := c.cli.CreateRawTransaction(context.Background(), in)
if err != nil { if err != nil {
return err return err
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
package types package types
import ( import proto "github.com/golang/protobuf/proto"
context "context" import fmt "fmt"
fmt "fmt" import math "math"
math "math" import types "github.com/33cn/chain33/types"
types "github.com/33cn/chain33/types" import (
proto "github.com/golang/protobuf/proto" context "golang.org/x/net/context"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
) )
...@@ -24,10 +24,10 @@ var _ = math.Inf ...@@ -24,10 +24,10 @@ var _ = math.Inf
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
////////////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////////////
// message for Privacy // message for Privacy
// start///////////////////////////////////////////////////// // start/////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////////////
type PrivacyAction struct { type PrivacyAction struct {
// Types that are valid to be assigned to Value: // Types that are valid to be assigned to Value:
// *PrivacyAction_Public2Privacy // *PrivacyAction_Public2Privacy
...@@ -44,17 +44,16 @@ func (m *PrivacyAction) Reset() { *m = PrivacyAction{} } ...@@ -44,17 +44,16 @@ func (m *PrivacyAction) Reset() { *m = PrivacyAction{} }
func (m *PrivacyAction) String() string { return proto.CompactTextString(m) } func (m *PrivacyAction) String() string { return proto.CompactTextString(m) }
func (*PrivacyAction) ProtoMessage() {} func (*PrivacyAction) ProtoMessage() {}
func (*PrivacyAction) Descriptor() ([]byte, []int) { func (*PrivacyAction) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{0} return fileDescriptor_privacy_72b9788f10887058, []int{0}
} }
func (m *PrivacyAction) XXX_Unmarshal(b []byte) error { func (m *PrivacyAction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyAction.Unmarshal(m, b) return xxx_messageInfo_PrivacyAction.Unmarshal(m, b)
} }
func (m *PrivacyAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyAction.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyAction.Marshal(b, m, deterministic)
} }
func (m *PrivacyAction) XXX_Merge(src proto.Message) { func (dst *PrivacyAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyAction.Merge(m, src) xxx_messageInfo_PrivacyAction.Merge(dst, src)
} }
func (m *PrivacyAction) XXX_Size() int { func (m *PrivacyAction) XXX_Size() int {
return xxx_messageInfo_PrivacyAction.Size(m) return xxx_messageInfo_PrivacyAction.Size(m)
...@@ -229,17 +228,16 @@ func (m *Public2Privacy) Reset() { *m = Public2Privacy{} } ...@@ -229,17 +228,16 @@ func (m *Public2Privacy) Reset() { *m = Public2Privacy{} }
func (m *Public2Privacy) String() string { return proto.CompactTextString(m) } func (m *Public2Privacy) String() string { return proto.CompactTextString(m) }
func (*Public2Privacy) ProtoMessage() {} func (*Public2Privacy) ProtoMessage() {}
func (*Public2Privacy) Descriptor() ([]byte, []int) { func (*Public2Privacy) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{1} return fileDescriptor_privacy_72b9788f10887058, []int{1}
} }
func (m *Public2Privacy) XXX_Unmarshal(b []byte) error { func (m *Public2Privacy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Public2Privacy.Unmarshal(m, b) return xxx_messageInfo_Public2Privacy.Unmarshal(m, b)
} }
func (m *Public2Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Public2Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Public2Privacy.Marshal(b, m, deterministic) return xxx_messageInfo_Public2Privacy.Marshal(b, m, deterministic)
} }
func (m *Public2Privacy) XXX_Merge(src proto.Message) { func (dst *Public2Privacy) XXX_Merge(src proto.Message) {
xxx_messageInfo_Public2Privacy.Merge(m, src) xxx_messageInfo_Public2Privacy.Merge(dst, src)
} }
func (m *Public2Privacy) XXX_Size() int { func (m *Public2Privacy) XXX_Size() int {
return xxx_messageInfo_Public2Privacy.Size(m) return xxx_messageInfo_Public2Privacy.Size(m)
...@@ -293,17 +291,16 @@ func (m *Privacy2Privacy) Reset() { *m = Privacy2Privacy{} } ...@@ -293,17 +291,16 @@ func (m *Privacy2Privacy) Reset() { *m = Privacy2Privacy{} }
func (m *Privacy2Privacy) String() string { return proto.CompactTextString(m) } func (m *Privacy2Privacy) String() string { return proto.CompactTextString(m) }
func (*Privacy2Privacy) ProtoMessage() {} func (*Privacy2Privacy) ProtoMessage() {}
func (*Privacy2Privacy) Descriptor() ([]byte, []int) { func (*Privacy2Privacy) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{2} return fileDescriptor_privacy_72b9788f10887058, []int{2}
} }
func (m *Privacy2Privacy) XXX_Unmarshal(b []byte) error { func (m *Privacy2Privacy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Privacy2Privacy.Unmarshal(m, b) return xxx_messageInfo_Privacy2Privacy.Unmarshal(m, b)
} }
func (m *Privacy2Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Privacy2Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Privacy2Privacy.Marshal(b, m, deterministic) return xxx_messageInfo_Privacy2Privacy.Marshal(b, m, deterministic)
} }
func (m *Privacy2Privacy) XXX_Merge(src proto.Message) { func (dst *Privacy2Privacy) XXX_Merge(src proto.Message) {
xxx_messageInfo_Privacy2Privacy.Merge(m, src) xxx_messageInfo_Privacy2Privacy.Merge(dst, src)
} }
func (m *Privacy2Privacy) XXX_Size() int { func (m *Privacy2Privacy) XXX_Size() int {
return xxx_messageInfo_Privacy2Privacy.Size(m) return xxx_messageInfo_Privacy2Privacy.Size(m)
...@@ -365,17 +362,16 @@ func (m *Privacy2Public) Reset() { *m = Privacy2Public{} } ...@@ -365,17 +362,16 @@ func (m *Privacy2Public) Reset() { *m = Privacy2Public{} }
func (m *Privacy2Public) String() string { return proto.CompactTextString(m) } func (m *Privacy2Public) String() string { return proto.CompactTextString(m) }
func (*Privacy2Public) ProtoMessage() {} func (*Privacy2Public) ProtoMessage() {}
func (*Privacy2Public) Descriptor() ([]byte, []int) { func (*Privacy2Public) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{3} return fileDescriptor_privacy_72b9788f10887058, []int{3}
} }
func (m *Privacy2Public) XXX_Unmarshal(b []byte) error { func (m *Privacy2Public) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Privacy2Public.Unmarshal(m, b) return xxx_messageInfo_Privacy2Public.Unmarshal(m, b)
} }
func (m *Privacy2Public) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Privacy2Public) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Privacy2Public.Marshal(b, m, deterministic) return xxx_messageInfo_Privacy2Public.Marshal(b, m, deterministic)
} }
func (m *Privacy2Public) XXX_Merge(src proto.Message) { func (dst *Privacy2Public) XXX_Merge(src proto.Message) {
xxx_messageInfo_Privacy2Public.Merge(m, src) xxx_messageInfo_Privacy2Public.Merge(dst, src)
} }
func (m *Privacy2Public) XXX_Size() int { func (m *Privacy2Public) XXX_Size() int {
return xxx_messageInfo_Privacy2Public.Size(m) return xxx_messageInfo_Privacy2Public.Size(m)
...@@ -429,8 +425,8 @@ func (m *Privacy2Public) GetOutput() *PrivacyOutput { ...@@ -429,8 +425,8 @@ func (m *Privacy2Public) GetOutput() *PrivacyOutput {
} }
type UTXOGlobalIndex struct { type UTXOGlobalIndex struct {
// int64 height = 1; // int64 height = 1;
// int32 txindex = 2; // int32 txindex = 2;
Txhash []byte `protobuf:"bytes,3,opt,name=txhash,proto3" json:"txhash,omitempty"` Txhash []byte `protobuf:"bytes,3,opt,name=txhash,proto3" json:"txhash,omitempty"`
Outindex int32 `protobuf:"varint,4,opt,name=outindex,proto3" json:"outindex,omitempty"` Outindex int32 `protobuf:"varint,4,opt,name=outindex,proto3" json:"outindex,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
...@@ -442,17 +438,16 @@ func (m *UTXOGlobalIndex) Reset() { *m = UTXOGlobalIndex{} } ...@@ -442,17 +438,16 @@ func (m *UTXOGlobalIndex) Reset() { *m = UTXOGlobalIndex{} }
func (m *UTXOGlobalIndex) String() string { return proto.CompactTextString(m) } func (m *UTXOGlobalIndex) String() string { return proto.CompactTextString(m) }
func (*UTXOGlobalIndex) ProtoMessage() {} func (*UTXOGlobalIndex) ProtoMessage() {}
func (*UTXOGlobalIndex) Descriptor() ([]byte, []int) { func (*UTXOGlobalIndex) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{4} return fileDescriptor_privacy_72b9788f10887058, []int{4}
} }
func (m *UTXOGlobalIndex) XXX_Unmarshal(b []byte) error { func (m *UTXOGlobalIndex) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOGlobalIndex.Unmarshal(m, b) return xxx_messageInfo_UTXOGlobalIndex.Unmarshal(m, b)
} }
func (m *UTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOGlobalIndex.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOGlobalIndex.Marshal(b, m, deterministic)
} }
func (m *UTXOGlobalIndex) XXX_Merge(src proto.Message) { func (dst *UTXOGlobalIndex) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOGlobalIndex.Merge(m, src) xxx_messageInfo_UTXOGlobalIndex.Merge(dst, src)
} }
func (m *UTXOGlobalIndex) XXX_Size() int { func (m *UTXOGlobalIndex) XXX_Size() int {
return xxx_messageInfo_UTXOGlobalIndex.Size(m) return xxx_messageInfo_UTXOGlobalIndex.Size(m)
...@@ -491,17 +486,16 @@ func (m *KeyInput) Reset() { *m = KeyInput{} } ...@@ -491,17 +486,16 @@ func (m *KeyInput) Reset() { *m = KeyInput{} }
func (m *KeyInput) String() string { return proto.CompactTextString(m) } func (m *KeyInput) String() string { return proto.CompactTextString(m) }
func (*KeyInput) ProtoMessage() {} func (*KeyInput) ProtoMessage() {}
func (*KeyInput) Descriptor() ([]byte, []int) { func (*KeyInput) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{5} return fileDescriptor_privacy_72b9788f10887058, []int{5}
} }
func (m *KeyInput) XXX_Unmarshal(b []byte) error { func (m *KeyInput) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyInput.Unmarshal(m, b) return xxx_messageInfo_KeyInput.Unmarshal(m, b)
} }
func (m *KeyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *KeyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyInput.Marshal(b, m, deterministic) return xxx_messageInfo_KeyInput.Marshal(b, m, deterministic)
} }
func (m *KeyInput) XXX_Merge(src proto.Message) { func (dst *KeyInput) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyInput.Merge(m, src) xxx_messageInfo_KeyInput.Merge(dst, src)
} }
func (m *KeyInput) XXX_Size() int { func (m *KeyInput) XXX_Size() int {
return xxx_messageInfo_KeyInput.Size(m) return xxx_messageInfo_KeyInput.Size(m)
...@@ -544,17 +538,16 @@ func (m *PrivacyInput) Reset() { *m = PrivacyInput{} } ...@@ -544,17 +538,16 @@ func (m *PrivacyInput) Reset() { *m = PrivacyInput{} }
func (m *PrivacyInput) String() string { return proto.CompactTextString(m) } func (m *PrivacyInput) String() string { return proto.CompactTextString(m) }
func (*PrivacyInput) ProtoMessage() {} func (*PrivacyInput) ProtoMessage() {}
func (*PrivacyInput) Descriptor() ([]byte, []int) { func (*PrivacyInput) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{6} return fileDescriptor_privacy_72b9788f10887058, []int{6}
} }
func (m *PrivacyInput) XXX_Unmarshal(b []byte) error { func (m *PrivacyInput) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyInput.Unmarshal(m, b) return xxx_messageInfo_PrivacyInput.Unmarshal(m, b)
} }
func (m *PrivacyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyInput.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyInput.Marshal(b, m, deterministic)
} }
func (m *PrivacyInput) XXX_Merge(src proto.Message) { func (dst *PrivacyInput) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyInput.Merge(m, src) xxx_messageInfo_PrivacyInput.Merge(dst, src)
} }
func (m *PrivacyInput) XXX_Size() int { func (m *PrivacyInput) XXX_Size() int {
return xxx_messageInfo_PrivacyInput.Size(m) return xxx_messageInfo_PrivacyInput.Size(m)
...@@ -585,17 +578,16 @@ func (m *KeyOutput) Reset() { *m = KeyOutput{} } ...@@ -585,17 +578,16 @@ func (m *KeyOutput) Reset() { *m = KeyOutput{} }
func (m *KeyOutput) String() string { return proto.CompactTextString(m) } func (m *KeyOutput) String() string { return proto.CompactTextString(m) }
func (*KeyOutput) ProtoMessage() {} func (*KeyOutput) ProtoMessage() {}
func (*KeyOutput) Descriptor() ([]byte, []int) { func (*KeyOutput) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{7} return fileDescriptor_privacy_72b9788f10887058, []int{7}
} }
func (m *KeyOutput) XXX_Unmarshal(b []byte) error { func (m *KeyOutput) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyOutput.Unmarshal(m, b) return xxx_messageInfo_KeyOutput.Unmarshal(m, b)
} }
func (m *KeyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *KeyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyOutput.Marshal(b, m, deterministic) return xxx_messageInfo_KeyOutput.Marshal(b, m, deterministic)
} }
func (m *KeyOutput) XXX_Merge(src proto.Message) { func (dst *KeyOutput) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyOutput.Merge(m, src) xxx_messageInfo_KeyOutput.Merge(dst, src)
} }
func (m *KeyOutput) XXX_Size() int { func (m *KeyOutput) XXX_Size() int {
return xxx_messageInfo_KeyOutput.Size(m) return xxx_messageInfo_KeyOutput.Size(m)
...@@ -632,17 +624,16 @@ func (m *PrivacyOutput) Reset() { *m = PrivacyOutput{} } ...@@ -632,17 +624,16 @@ func (m *PrivacyOutput) Reset() { *m = PrivacyOutput{} }
func (m *PrivacyOutput) String() string { return proto.CompactTextString(m) } func (m *PrivacyOutput) String() string { return proto.CompactTextString(m) }
func (*PrivacyOutput) ProtoMessage() {} func (*PrivacyOutput) ProtoMessage() {}
func (*PrivacyOutput) Descriptor() ([]byte, []int) { func (*PrivacyOutput) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{8} return fileDescriptor_privacy_72b9788f10887058, []int{8}
} }
func (m *PrivacyOutput) XXX_Unmarshal(b []byte) error { func (m *PrivacyOutput) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyOutput.Unmarshal(m, b) return xxx_messageInfo_PrivacyOutput.Unmarshal(m, b)
} }
func (m *PrivacyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyOutput.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyOutput.Marshal(b, m, deterministic)
} }
func (m *PrivacyOutput) XXX_Merge(src proto.Message) { func (dst *PrivacyOutput) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyOutput.Merge(m, src) xxx_messageInfo_PrivacyOutput.Merge(dst, src)
} }
func (m *PrivacyOutput) XXX_Size() int { func (m *PrivacyOutput) XXX_Size() int {
return xxx_messageInfo_PrivacyOutput.Size(m) return xxx_messageInfo_PrivacyOutput.Size(m)
...@@ -679,17 +670,16 @@ func (m *GroupUTXOGlobalIndex) Reset() { *m = GroupUTXOGlobalIndex{} } ...@@ -679,17 +670,16 @@ func (m *GroupUTXOGlobalIndex) Reset() { *m = GroupUTXOGlobalIndex{} }
func (m *GroupUTXOGlobalIndex) String() string { return proto.CompactTextString(m) } func (m *GroupUTXOGlobalIndex) String() string { return proto.CompactTextString(m) }
func (*GroupUTXOGlobalIndex) ProtoMessage() {} func (*GroupUTXOGlobalIndex) ProtoMessage() {}
func (*GroupUTXOGlobalIndex) Descriptor() ([]byte, []int) { func (*GroupUTXOGlobalIndex) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{9} return fileDescriptor_privacy_72b9788f10887058, []int{9}
} }
func (m *GroupUTXOGlobalIndex) XXX_Unmarshal(b []byte) error { func (m *GroupUTXOGlobalIndex) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupUTXOGlobalIndex.Unmarshal(m, b) return xxx_messageInfo_GroupUTXOGlobalIndex.Unmarshal(m, b)
} }
func (m *GroupUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *GroupUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupUTXOGlobalIndex.Marshal(b, m, deterministic) return xxx_messageInfo_GroupUTXOGlobalIndex.Marshal(b, m, deterministic)
} }
func (m *GroupUTXOGlobalIndex) XXX_Merge(src proto.Message) { func (dst *GroupUTXOGlobalIndex) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupUTXOGlobalIndex.Merge(m, src) xxx_messageInfo_GroupUTXOGlobalIndex.Merge(dst, src)
} }
func (m *GroupUTXOGlobalIndex) XXX_Size() int { func (m *GroupUTXOGlobalIndex) XXX_Size() int {
return xxx_messageInfo_GroupUTXOGlobalIndex.Size(m) return xxx_messageInfo_GroupUTXOGlobalIndex.Size(m)
...@@ -729,17 +719,16 @@ func (m *LocalUTXOItem) Reset() { *m = LocalUTXOItem{} } ...@@ -729,17 +719,16 @@ func (m *LocalUTXOItem) Reset() { *m = LocalUTXOItem{} }
func (m *LocalUTXOItem) String() string { return proto.CompactTextString(m) } func (m *LocalUTXOItem) String() string { return proto.CompactTextString(m) }
func (*LocalUTXOItem) ProtoMessage() {} func (*LocalUTXOItem) ProtoMessage() {}
func (*LocalUTXOItem) Descriptor() ([]byte, []int) { func (*LocalUTXOItem) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{10} return fileDescriptor_privacy_72b9788f10887058, []int{10}
} }
func (m *LocalUTXOItem) XXX_Unmarshal(b []byte) error { func (m *LocalUTXOItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LocalUTXOItem.Unmarshal(m, b) return xxx_messageInfo_LocalUTXOItem.Unmarshal(m, b)
} }
func (m *LocalUTXOItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *LocalUTXOItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocalUTXOItem.Marshal(b, m, deterministic) return xxx_messageInfo_LocalUTXOItem.Marshal(b, m, deterministic)
} }
func (m *LocalUTXOItem) XXX_Merge(src proto.Message) { func (dst *LocalUTXOItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_LocalUTXOItem.Merge(m, src) xxx_messageInfo_LocalUTXOItem.Merge(dst, src)
} }
func (m *LocalUTXOItem) XXX_Size() int { func (m *LocalUTXOItem) XXX_Size() int {
return xxx_messageInfo_LocalUTXOItem.Size(m) return xxx_messageInfo_LocalUTXOItem.Size(m)
...@@ -797,17 +786,16 @@ func (m *ReqUTXOPubKeys) Reset() { *m = ReqUTXOPubKeys{} } ...@@ -797,17 +786,16 @@ func (m *ReqUTXOPubKeys) Reset() { *m = ReqUTXOPubKeys{} }
func (m *ReqUTXOPubKeys) String() string { return proto.CompactTextString(m) } func (m *ReqUTXOPubKeys) String() string { return proto.CompactTextString(m) }
func (*ReqUTXOPubKeys) ProtoMessage() {} func (*ReqUTXOPubKeys) ProtoMessage() {}
func (*ReqUTXOPubKeys) Descriptor() ([]byte, []int) { func (*ReqUTXOPubKeys) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{11} return fileDescriptor_privacy_72b9788f10887058, []int{11}
} }
func (m *ReqUTXOPubKeys) XXX_Unmarshal(b []byte) error { func (m *ReqUTXOPubKeys) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqUTXOPubKeys.Unmarshal(m, b) return xxx_messageInfo_ReqUTXOPubKeys.Unmarshal(m, b)
} }
func (m *ReqUTXOPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqUTXOPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqUTXOPubKeys.Marshal(b, m, deterministic) return xxx_messageInfo_ReqUTXOPubKeys.Marshal(b, m, deterministic)
} }
func (m *ReqUTXOPubKeys) XXX_Merge(src proto.Message) { func (dst *ReqUTXOPubKeys) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqUTXOPubKeys.Merge(m, src) xxx_messageInfo_ReqUTXOPubKeys.Merge(dst, src)
} }
func (m *ReqUTXOPubKeys) XXX_Size() int { func (m *ReqUTXOPubKeys) XXX_Size() int {
return xxx_messageInfo_ReqUTXOPubKeys.Size(m) return xxx_messageInfo_ReqUTXOPubKeys.Size(m)
...@@ -844,17 +832,16 @@ func (m *PublicKeyData) Reset() { *m = PublicKeyData{} } ...@@ -844,17 +832,16 @@ func (m *PublicKeyData) Reset() { *m = PublicKeyData{} }
func (m *PublicKeyData) String() string { return proto.CompactTextString(m) } func (m *PublicKeyData) String() string { return proto.CompactTextString(m) }
func (*PublicKeyData) ProtoMessage() {} func (*PublicKeyData) ProtoMessage() {}
func (*PublicKeyData) Descriptor() ([]byte, []int) { func (*PublicKeyData) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{12} return fileDescriptor_privacy_72b9788f10887058, []int{12}
} }
func (m *PublicKeyData) XXX_Unmarshal(b []byte) error { func (m *PublicKeyData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PublicKeyData.Unmarshal(m, b) return xxx_messageInfo_PublicKeyData.Unmarshal(m, b)
} }
func (m *PublicKeyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PublicKeyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PublicKeyData.Marshal(b, m, deterministic) return xxx_messageInfo_PublicKeyData.Marshal(b, m, deterministic)
} }
func (m *PublicKeyData) XXX_Merge(src proto.Message) { func (dst *PublicKeyData) XXX_Merge(src proto.Message) {
xxx_messageInfo_PublicKeyData.Merge(m, src) xxx_messageInfo_PublicKeyData.Merge(dst, src)
} }
func (m *PublicKeyData) XXX_Size() int { func (m *PublicKeyData) XXX_Size() int {
return xxx_messageInfo_PublicKeyData.Size(m) return xxx_messageInfo_PublicKeyData.Size(m)
...@@ -885,17 +872,16 @@ func (m *GroupUTXOPubKey) Reset() { *m = GroupUTXOPubKey{} } ...@@ -885,17 +872,16 @@ func (m *GroupUTXOPubKey) Reset() { *m = GroupUTXOPubKey{} }
func (m *GroupUTXOPubKey) String() string { return proto.CompactTextString(m) } func (m *GroupUTXOPubKey) String() string { return proto.CompactTextString(m) }
func (*GroupUTXOPubKey) ProtoMessage() {} func (*GroupUTXOPubKey) ProtoMessage() {}
func (*GroupUTXOPubKey) Descriptor() ([]byte, []int) { func (*GroupUTXOPubKey) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{13} return fileDescriptor_privacy_72b9788f10887058, []int{13}
} }
func (m *GroupUTXOPubKey) XXX_Unmarshal(b []byte) error { func (m *GroupUTXOPubKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GroupUTXOPubKey.Unmarshal(m, b) return xxx_messageInfo_GroupUTXOPubKey.Unmarshal(m, b)
} }
func (m *GroupUTXOPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *GroupUTXOPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GroupUTXOPubKey.Marshal(b, m, deterministic) return xxx_messageInfo_GroupUTXOPubKey.Marshal(b, m, deterministic)
} }
func (m *GroupUTXOPubKey) XXX_Merge(src proto.Message) { func (dst *GroupUTXOPubKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_GroupUTXOPubKey.Merge(m, src) xxx_messageInfo_GroupUTXOPubKey.Merge(dst, src)
} }
func (m *GroupUTXOPubKey) XXX_Size() int { func (m *GroupUTXOPubKey) XXX_Size() int {
return xxx_messageInfo_GroupUTXOPubKey.Size(m) return xxx_messageInfo_GroupUTXOPubKey.Size(m)
...@@ -931,17 +917,16 @@ func (m *ResUTXOPubKeys) Reset() { *m = ResUTXOPubKeys{} } ...@@ -931,17 +917,16 @@ func (m *ResUTXOPubKeys) Reset() { *m = ResUTXOPubKeys{} }
func (m *ResUTXOPubKeys) String() string { return proto.CompactTextString(m) } func (m *ResUTXOPubKeys) String() string { return proto.CompactTextString(m) }
func (*ResUTXOPubKeys) ProtoMessage() {} func (*ResUTXOPubKeys) ProtoMessage() {}
func (*ResUTXOPubKeys) Descriptor() ([]byte, []int) { func (*ResUTXOPubKeys) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{14} return fileDescriptor_privacy_72b9788f10887058, []int{14}
} }
func (m *ResUTXOPubKeys) XXX_Unmarshal(b []byte) error { func (m *ResUTXOPubKeys) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResUTXOPubKeys.Unmarshal(m, b) return xxx_messageInfo_ResUTXOPubKeys.Unmarshal(m, b)
} }
func (m *ResUTXOPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ResUTXOPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResUTXOPubKeys.Marshal(b, m, deterministic) return xxx_messageInfo_ResUTXOPubKeys.Marshal(b, m, deterministic)
} }
func (m *ResUTXOPubKeys) XXX_Merge(src proto.Message) { func (dst *ResUTXOPubKeys) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResUTXOPubKeys.Merge(m, src) xxx_messageInfo_ResUTXOPubKeys.Merge(dst, src)
} }
func (m *ResUTXOPubKeys) XXX_Size() int { func (m *ResUTXOPubKeys) XXX_Size() int {
return xxx_messageInfo_ResUTXOPubKeys.Size(m) return xxx_messageInfo_ResUTXOPubKeys.Size(m)
...@@ -971,17 +956,16 @@ func (m *ReqPrivacyToken) Reset() { *m = ReqPrivacyToken{} } ...@@ -971,17 +956,16 @@ func (m *ReqPrivacyToken) Reset() { *m = ReqPrivacyToken{} }
func (m *ReqPrivacyToken) String() string { return proto.CompactTextString(m) } func (m *ReqPrivacyToken) String() string { return proto.CompactTextString(m) }
func (*ReqPrivacyToken) ProtoMessage() {} func (*ReqPrivacyToken) ProtoMessage() {}
func (*ReqPrivacyToken) Descriptor() ([]byte, []int) { func (*ReqPrivacyToken) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{15} return fileDescriptor_privacy_72b9788f10887058, []int{15}
} }
func (m *ReqPrivacyToken) XXX_Unmarshal(b []byte) error { func (m *ReqPrivacyToken) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqPrivacyToken.Unmarshal(m, b) return xxx_messageInfo_ReqPrivacyToken.Unmarshal(m, b)
} }
func (m *ReqPrivacyToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqPrivacyToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqPrivacyToken.Marshal(b, m, deterministic) return xxx_messageInfo_ReqPrivacyToken.Marshal(b, m, deterministic)
} }
func (m *ReqPrivacyToken) XXX_Merge(src proto.Message) { func (dst *ReqPrivacyToken) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqPrivacyToken.Merge(m, src) xxx_messageInfo_ReqPrivacyToken.Merge(dst, src)
} }
func (m *ReqPrivacyToken) XXX_Size() int { func (m *ReqPrivacyToken) XXX_Size() int {
return xxx_messageInfo_ReqPrivacyToken.Size(m) return xxx_messageInfo_ReqPrivacyToken.Size(m)
...@@ -1018,17 +1002,16 @@ func (m *AmountDetail) Reset() { *m = AmountDetail{} } ...@@ -1018,17 +1002,16 @@ func (m *AmountDetail) Reset() { *m = AmountDetail{} }
func (m *AmountDetail) String() string { return proto.CompactTextString(m) } func (m *AmountDetail) String() string { return proto.CompactTextString(m) }
func (*AmountDetail) ProtoMessage() {} func (*AmountDetail) ProtoMessage() {}
func (*AmountDetail) Descriptor() ([]byte, []int) { func (*AmountDetail) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{16} return fileDescriptor_privacy_72b9788f10887058, []int{16}
} }
func (m *AmountDetail) XXX_Unmarshal(b []byte) error { func (m *AmountDetail) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AmountDetail.Unmarshal(m, b) return xxx_messageInfo_AmountDetail.Unmarshal(m, b)
} }
func (m *AmountDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *AmountDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AmountDetail.Marshal(b, m, deterministic) return xxx_messageInfo_AmountDetail.Marshal(b, m, deterministic)
} }
func (m *AmountDetail) XXX_Merge(src proto.Message) { func (dst *AmountDetail) XXX_Merge(src proto.Message) {
xxx_messageInfo_AmountDetail.Merge(m, src) xxx_messageInfo_AmountDetail.Merge(dst, src)
} }
func (m *AmountDetail) XXX_Size() int { func (m *AmountDetail) XXX_Size() int {
return xxx_messageInfo_AmountDetail.Size(m) return xxx_messageInfo_AmountDetail.Size(m)
...@@ -1064,17 +1047,16 @@ func (m *ReplyPrivacyAmounts) Reset() { *m = ReplyPrivacyAmounts{} } ...@@ -1064,17 +1047,16 @@ func (m *ReplyPrivacyAmounts) Reset() { *m = ReplyPrivacyAmounts{} }
func (m *ReplyPrivacyAmounts) String() string { return proto.CompactTextString(m) } func (m *ReplyPrivacyAmounts) String() string { return proto.CompactTextString(m) }
func (*ReplyPrivacyAmounts) ProtoMessage() {} func (*ReplyPrivacyAmounts) ProtoMessage() {}
func (*ReplyPrivacyAmounts) Descriptor() ([]byte, []int) { func (*ReplyPrivacyAmounts) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{17} return fileDescriptor_privacy_72b9788f10887058, []int{17}
} }
func (m *ReplyPrivacyAmounts) XXX_Unmarshal(b []byte) error { func (m *ReplyPrivacyAmounts) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyPrivacyAmounts.Unmarshal(m, b) return xxx_messageInfo_ReplyPrivacyAmounts.Unmarshal(m, b)
} }
func (m *ReplyPrivacyAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReplyPrivacyAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyPrivacyAmounts.Marshal(b, m, deterministic) return xxx_messageInfo_ReplyPrivacyAmounts.Marshal(b, m, deterministic)
} }
func (m *ReplyPrivacyAmounts) XXX_Merge(src proto.Message) { func (dst *ReplyPrivacyAmounts) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyPrivacyAmounts.Merge(m, src) xxx_messageInfo_ReplyPrivacyAmounts.Merge(dst, src)
} }
func (m *ReplyPrivacyAmounts) XXX_Size() int { func (m *ReplyPrivacyAmounts) XXX_Size() int {
return xxx_messageInfo_ReplyPrivacyAmounts.Size(m) return xxx_messageInfo_ReplyPrivacyAmounts.Size(m)
...@@ -1103,17 +1085,16 @@ func (m *ReplyUTXOsOfAmount) Reset() { *m = ReplyUTXOsOfAmount{} } ...@@ -1103,17 +1085,16 @@ func (m *ReplyUTXOsOfAmount) Reset() { *m = ReplyUTXOsOfAmount{} }
func (m *ReplyUTXOsOfAmount) String() string { return proto.CompactTextString(m) } func (m *ReplyUTXOsOfAmount) String() string { return proto.CompactTextString(m) }
func (*ReplyUTXOsOfAmount) ProtoMessage() {} func (*ReplyUTXOsOfAmount) ProtoMessage() {}
func (*ReplyUTXOsOfAmount) Descriptor() ([]byte, []int) { func (*ReplyUTXOsOfAmount) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{18} return fileDescriptor_privacy_72b9788f10887058, []int{18}
} }
func (m *ReplyUTXOsOfAmount) XXX_Unmarshal(b []byte) error { func (m *ReplyUTXOsOfAmount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyUTXOsOfAmount.Unmarshal(m, b) return xxx_messageInfo_ReplyUTXOsOfAmount.Unmarshal(m, b)
} }
func (m *ReplyUTXOsOfAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReplyUTXOsOfAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyUTXOsOfAmount.Marshal(b, m, deterministic) return xxx_messageInfo_ReplyUTXOsOfAmount.Marshal(b, m, deterministic)
} }
func (m *ReplyUTXOsOfAmount) XXX_Merge(src proto.Message) { func (dst *ReplyUTXOsOfAmount) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyUTXOsOfAmount.Merge(m, src) xxx_messageInfo_ReplyUTXOsOfAmount.Merge(dst, src)
} }
func (m *ReplyUTXOsOfAmount) XXX_Size() int { func (m *ReplyUTXOsOfAmount) XXX_Size() int {
return xxx_messageInfo_ReplyUTXOsOfAmount.Size(m) return xxx_messageInfo_ReplyUTXOsOfAmount.Size(m)
...@@ -1143,17 +1124,16 @@ func (m *ReceiptPrivacyOutput) Reset() { *m = ReceiptPrivacyOutput{} } ...@@ -1143,17 +1124,16 @@ func (m *ReceiptPrivacyOutput) Reset() { *m = ReceiptPrivacyOutput{} }
func (m *ReceiptPrivacyOutput) String() string { return proto.CompactTextString(m) } func (m *ReceiptPrivacyOutput) String() string { return proto.CompactTextString(m) }
func (*ReceiptPrivacyOutput) ProtoMessage() {} func (*ReceiptPrivacyOutput) ProtoMessage() {}
func (*ReceiptPrivacyOutput) Descriptor() ([]byte, []int) { func (*ReceiptPrivacyOutput) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{19} return fileDescriptor_privacy_72b9788f10887058, []int{19}
} }
func (m *ReceiptPrivacyOutput) XXX_Unmarshal(b []byte) error { func (m *ReceiptPrivacyOutput) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReceiptPrivacyOutput.Unmarshal(m, b) return xxx_messageInfo_ReceiptPrivacyOutput.Unmarshal(m, b)
} }
func (m *ReceiptPrivacyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReceiptPrivacyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptPrivacyOutput.Marshal(b, m, deterministic) return xxx_messageInfo_ReceiptPrivacyOutput.Marshal(b, m, deterministic)
} }
func (m *ReceiptPrivacyOutput) XXX_Merge(src proto.Message) { func (dst *ReceiptPrivacyOutput) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptPrivacyOutput.Merge(m, src) xxx_messageInfo_ReceiptPrivacyOutput.Merge(dst, src)
} }
func (m *ReceiptPrivacyOutput) XXX_Size() int { func (m *ReceiptPrivacyOutput) XXX_Size() int {
return xxx_messageInfo_ReceiptPrivacyOutput.Size(m) return xxx_messageInfo_ReceiptPrivacyOutput.Size(m)
...@@ -1178,7 +1158,7 @@ func (m *ReceiptPrivacyOutput) GetKeyoutput() []*KeyOutput { ...@@ -1178,7 +1158,7 @@ func (m *ReceiptPrivacyOutput) GetKeyoutput() []*KeyOutput {
return nil return nil
} }
//各种amount额度的UTXO在链上的数量 // 各种amount额度的UTXO在链上的数量
type AmountsOfUTXO struct { type AmountsOfUTXO struct {
AmountMap map[int64]int64 `protobuf:"bytes,1,rep,name=amountMap,proto3" json:"amountMap,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` AmountMap map[int64]int64 `protobuf:"bytes,1,rep,name=amountMap,proto3" json:"amountMap,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
...@@ -1190,17 +1170,16 @@ func (m *AmountsOfUTXO) Reset() { *m = AmountsOfUTXO{} } ...@@ -1190,17 +1170,16 @@ func (m *AmountsOfUTXO) Reset() { *m = AmountsOfUTXO{} }
func (m *AmountsOfUTXO) String() string { return proto.CompactTextString(m) } func (m *AmountsOfUTXO) String() string { return proto.CompactTextString(m) }
func (*AmountsOfUTXO) ProtoMessage() {} func (*AmountsOfUTXO) ProtoMessage() {}
func (*AmountsOfUTXO) Descriptor() ([]byte, []int) { func (*AmountsOfUTXO) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{20} return fileDescriptor_privacy_72b9788f10887058, []int{20}
} }
func (m *AmountsOfUTXO) XXX_Unmarshal(b []byte) error { func (m *AmountsOfUTXO) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AmountsOfUTXO.Unmarshal(m, b) return xxx_messageInfo_AmountsOfUTXO.Unmarshal(m, b)
} }
func (m *AmountsOfUTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *AmountsOfUTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AmountsOfUTXO.Marshal(b, m, deterministic) return xxx_messageInfo_AmountsOfUTXO.Marshal(b, m, deterministic)
} }
func (m *AmountsOfUTXO) XXX_Merge(src proto.Message) { func (dst *AmountsOfUTXO) XXX_Merge(src proto.Message) {
xxx_messageInfo_AmountsOfUTXO.Merge(m, src) xxx_messageInfo_AmountsOfUTXO.Merge(dst, src)
} }
func (m *AmountsOfUTXO) XXX_Size() int { func (m *AmountsOfUTXO) XXX_Size() int {
return xxx_messageInfo_AmountsOfUTXO.Size(m) return xxx_messageInfo_AmountsOfUTXO.Size(m)
...@@ -1229,17 +1208,16 @@ func (m *TokenNamesOfUTXO) Reset() { *m = TokenNamesOfUTXO{} } ...@@ -1229,17 +1208,16 @@ func (m *TokenNamesOfUTXO) Reset() { *m = TokenNamesOfUTXO{} }
func (m *TokenNamesOfUTXO) String() string { return proto.CompactTextString(m) } func (m *TokenNamesOfUTXO) String() string { return proto.CompactTextString(m) }
func (*TokenNamesOfUTXO) ProtoMessage() {} func (*TokenNamesOfUTXO) ProtoMessage() {}
func (*TokenNamesOfUTXO) Descriptor() ([]byte, []int) { func (*TokenNamesOfUTXO) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{21} return fileDescriptor_privacy_72b9788f10887058, []int{21}
} }
func (m *TokenNamesOfUTXO) XXX_Unmarshal(b []byte) error { func (m *TokenNamesOfUTXO) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TokenNamesOfUTXO.Unmarshal(m, b) return xxx_messageInfo_TokenNamesOfUTXO.Unmarshal(m, b)
} }
func (m *TokenNamesOfUTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *TokenNamesOfUTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TokenNamesOfUTXO.Marshal(b, m, deterministic) return xxx_messageInfo_TokenNamesOfUTXO.Marshal(b, m, deterministic)
} }
func (m *TokenNamesOfUTXO) XXX_Merge(src proto.Message) { func (dst *TokenNamesOfUTXO) XXX_Merge(src proto.Message) {
xxx_messageInfo_TokenNamesOfUTXO.Merge(m, src) xxx_messageInfo_TokenNamesOfUTXO.Merge(dst, src)
} }
func (m *TokenNamesOfUTXO) XXX_Size() int { func (m *TokenNamesOfUTXO) XXX_Size() int {
return xxx_messageInfo_TokenNamesOfUTXO.Size(m) return xxx_messageInfo_TokenNamesOfUTXO.Size(m)
...@@ -1270,17 +1248,16 @@ func (m *UTXOGlobalIndex4Print) Reset() { *m = UTXOGlobalIndex4Print{} } ...@@ -1270,17 +1248,16 @@ func (m *UTXOGlobalIndex4Print) Reset() { *m = UTXOGlobalIndex4Print{} }
func (m *UTXOGlobalIndex4Print) String() string { return proto.CompactTextString(m) } func (m *UTXOGlobalIndex4Print) String() string { return proto.CompactTextString(m) }
func (*UTXOGlobalIndex4Print) ProtoMessage() {} func (*UTXOGlobalIndex4Print) ProtoMessage() {}
func (*UTXOGlobalIndex4Print) Descriptor() ([]byte, []int) { func (*UTXOGlobalIndex4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{22} return fileDescriptor_privacy_72b9788f10887058, []int{22}
} }
func (m *UTXOGlobalIndex4Print) XXX_Unmarshal(b []byte) error { func (m *UTXOGlobalIndex4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOGlobalIndex4Print.Unmarshal(m, b) return xxx_messageInfo_UTXOGlobalIndex4Print.Unmarshal(m, b)
} }
func (m *UTXOGlobalIndex4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOGlobalIndex4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOGlobalIndex4Print.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOGlobalIndex4Print.Marshal(b, m, deterministic)
} }
func (m *UTXOGlobalIndex4Print) XXX_Merge(src proto.Message) { func (dst *UTXOGlobalIndex4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOGlobalIndex4Print.Merge(m, src) xxx_messageInfo_UTXOGlobalIndex4Print.Merge(dst, src)
} }
func (m *UTXOGlobalIndex4Print) XXX_Size() int { func (m *UTXOGlobalIndex4Print) XXX_Size() int {
return xxx_messageInfo_UTXOGlobalIndex4Print.Size(m) return xxx_messageInfo_UTXOGlobalIndex4Print.Size(m)
...@@ -1318,17 +1295,16 @@ func (m *KeyInput4Print) Reset() { *m = KeyInput4Print{} } ...@@ -1318,17 +1295,16 @@ func (m *KeyInput4Print) Reset() { *m = KeyInput4Print{} }
func (m *KeyInput4Print) String() string { return proto.CompactTextString(m) } func (m *KeyInput4Print) String() string { return proto.CompactTextString(m) }
func (*KeyInput4Print) ProtoMessage() {} func (*KeyInput4Print) ProtoMessage() {}
func (*KeyInput4Print) Descriptor() ([]byte, []int) { func (*KeyInput4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{23} return fileDescriptor_privacy_72b9788f10887058, []int{23}
} }
func (m *KeyInput4Print) XXX_Unmarshal(b []byte) error { func (m *KeyInput4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyInput4Print.Unmarshal(m, b) return xxx_messageInfo_KeyInput4Print.Unmarshal(m, b)
} }
func (m *KeyInput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *KeyInput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyInput4Print.Marshal(b, m, deterministic) return xxx_messageInfo_KeyInput4Print.Marshal(b, m, deterministic)
} }
func (m *KeyInput4Print) XXX_Merge(src proto.Message) { func (dst *KeyInput4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyInput4Print.Merge(m, src) xxx_messageInfo_KeyInput4Print.Merge(dst, src)
} }
func (m *KeyInput4Print) XXX_Size() int { func (m *KeyInput4Print) XXX_Size() int {
return xxx_messageInfo_KeyInput4Print.Size(m) return xxx_messageInfo_KeyInput4Print.Size(m)
...@@ -1372,17 +1348,16 @@ func (m *KeyOutput4Print) Reset() { *m = KeyOutput4Print{} } ...@@ -1372,17 +1348,16 @@ func (m *KeyOutput4Print) Reset() { *m = KeyOutput4Print{} }
func (m *KeyOutput4Print) String() string { return proto.CompactTextString(m) } func (m *KeyOutput4Print) String() string { return proto.CompactTextString(m) }
func (*KeyOutput4Print) ProtoMessage() {} func (*KeyOutput4Print) ProtoMessage() {}
func (*KeyOutput4Print) Descriptor() ([]byte, []int) { func (*KeyOutput4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{24} return fileDescriptor_privacy_72b9788f10887058, []int{24}
} }
func (m *KeyOutput4Print) XXX_Unmarshal(b []byte) error { func (m *KeyOutput4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyOutput4Print.Unmarshal(m, b) return xxx_messageInfo_KeyOutput4Print.Unmarshal(m, b)
} }
func (m *KeyOutput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *KeyOutput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyOutput4Print.Marshal(b, m, deterministic) return xxx_messageInfo_KeyOutput4Print.Marshal(b, m, deterministic)
} }
func (m *KeyOutput4Print) XXX_Merge(src proto.Message) { func (dst *KeyOutput4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyOutput4Print.Merge(m, src) xxx_messageInfo_KeyOutput4Print.Merge(dst, src)
} }
func (m *KeyOutput4Print) XXX_Size() int { func (m *KeyOutput4Print) XXX_Size() int {
return xxx_messageInfo_KeyOutput4Print.Size(m) return xxx_messageInfo_KeyOutput4Print.Size(m)
...@@ -1418,17 +1393,16 @@ func (m *PrivacyInput4Print) Reset() { *m = PrivacyInput4Print{} } ...@@ -1418,17 +1393,16 @@ func (m *PrivacyInput4Print) Reset() { *m = PrivacyInput4Print{} }
func (m *PrivacyInput4Print) String() string { return proto.CompactTextString(m) } func (m *PrivacyInput4Print) String() string { return proto.CompactTextString(m) }
func (*PrivacyInput4Print) ProtoMessage() {} func (*PrivacyInput4Print) ProtoMessage() {}
func (*PrivacyInput4Print) Descriptor() ([]byte, []int) { func (*PrivacyInput4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{25} return fileDescriptor_privacy_72b9788f10887058, []int{25}
} }
func (m *PrivacyInput4Print) XXX_Unmarshal(b []byte) error { func (m *PrivacyInput4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyInput4Print.Unmarshal(m, b) return xxx_messageInfo_PrivacyInput4Print.Unmarshal(m, b)
} }
func (m *PrivacyInput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyInput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyInput4Print.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyInput4Print.Marshal(b, m, deterministic)
} }
func (m *PrivacyInput4Print) XXX_Merge(src proto.Message) { func (dst *PrivacyInput4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyInput4Print.Merge(m, src) xxx_messageInfo_PrivacyInput4Print.Merge(dst, src)
} }
func (m *PrivacyInput4Print) XXX_Size() int { func (m *PrivacyInput4Print) XXX_Size() int {
return xxx_messageInfo_PrivacyInput4Print.Size(m) return xxx_messageInfo_PrivacyInput4Print.Size(m)
...@@ -1458,17 +1432,16 @@ func (m *PrivacyOutput4Print) Reset() { *m = PrivacyOutput4Print{} } ...@@ -1458,17 +1432,16 @@ func (m *PrivacyOutput4Print) Reset() { *m = PrivacyOutput4Print{} }
func (m *PrivacyOutput4Print) String() string { return proto.CompactTextString(m) } func (m *PrivacyOutput4Print) String() string { return proto.CompactTextString(m) }
func (*PrivacyOutput4Print) ProtoMessage() {} func (*PrivacyOutput4Print) ProtoMessage() {}
func (*PrivacyOutput4Print) Descriptor() ([]byte, []int) { func (*PrivacyOutput4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{26} return fileDescriptor_privacy_72b9788f10887058, []int{26}
} }
func (m *PrivacyOutput4Print) XXX_Unmarshal(b []byte) error { func (m *PrivacyOutput4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyOutput4Print.Unmarshal(m, b) return xxx_messageInfo_PrivacyOutput4Print.Unmarshal(m, b)
} }
func (m *PrivacyOutput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyOutput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyOutput4Print.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyOutput4Print.Marshal(b, m, deterministic)
} }
func (m *PrivacyOutput4Print) XXX_Merge(src proto.Message) { func (dst *PrivacyOutput4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyOutput4Print.Merge(m, src) xxx_messageInfo_PrivacyOutput4Print.Merge(dst, src)
} }
func (m *PrivacyOutput4Print) XXX_Size() int { func (m *PrivacyOutput4Print) XXX_Size() int {
return xxx_messageInfo_PrivacyOutput4Print.Size(m) return xxx_messageInfo_PrivacyOutput4Print.Size(m)
...@@ -1507,17 +1480,16 @@ func (m *Public2Privacy4Print) Reset() { *m = Public2Privacy4Print{} } ...@@ -1507,17 +1480,16 @@ func (m *Public2Privacy4Print) Reset() { *m = Public2Privacy4Print{} }
func (m *Public2Privacy4Print) String() string { return proto.CompactTextString(m) } func (m *Public2Privacy4Print) String() string { return proto.CompactTextString(m) }
func (*Public2Privacy4Print) ProtoMessage() {} func (*Public2Privacy4Print) ProtoMessage() {}
func (*Public2Privacy4Print) Descriptor() ([]byte, []int) { func (*Public2Privacy4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{27} return fileDescriptor_privacy_72b9788f10887058, []int{27}
} }
func (m *Public2Privacy4Print) XXX_Unmarshal(b []byte) error { func (m *Public2Privacy4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Public2Privacy4Print.Unmarshal(m, b) return xxx_messageInfo_Public2Privacy4Print.Unmarshal(m, b)
} }
func (m *Public2Privacy4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Public2Privacy4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Public2Privacy4Print.Marshal(b, m, deterministic) return xxx_messageInfo_Public2Privacy4Print.Marshal(b, m, deterministic)
} }
func (m *Public2Privacy4Print) XXX_Merge(src proto.Message) { func (dst *Public2Privacy4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_Public2Privacy4Print.Merge(m, src) xxx_messageInfo_Public2Privacy4Print.Merge(dst, src)
} }
func (m *Public2Privacy4Print) XXX_Size() int { func (m *Public2Privacy4Print) XXX_Size() int {
return xxx_messageInfo_Public2Privacy4Print.Size(m) return xxx_messageInfo_Public2Privacy4Print.Size(m)
...@@ -1571,17 +1543,16 @@ func (m *Privacy2Privacy4Print) Reset() { *m = Privacy2Privacy4Print{} } ...@@ -1571,17 +1543,16 @@ func (m *Privacy2Privacy4Print) Reset() { *m = Privacy2Privacy4Print{} }
func (m *Privacy2Privacy4Print) String() string { return proto.CompactTextString(m) } func (m *Privacy2Privacy4Print) String() string { return proto.CompactTextString(m) }
func (*Privacy2Privacy4Print) ProtoMessage() {} func (*Privacy2Privacy4Print) ProtoMessage() {}
func (*Privacy2Privacy4Print) Descriptor() ([]byte, []int) { func (*Privacy2Privacy4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{28} return fileDescriptor_privacy_72b9788f10887058, []int{28}
} }
func (m *Privacy2Privacy4Print) XXX_Unmarshal(b []byte) error { func (m *Privacy2Privacy4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Privacy2Privacy4Print.Unmarshal(m, b) return xxx_messageInfo_Privacy2Privacy4Print.Unmarshal(m, b)
} }
func (m *Privacy2Privacy4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Privacy2Privacy4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Privacy2Privacy4Print.Marshal(b, m, deterministic) return xxx_messageInfo_Privacy2Privacy4Print.Marshal(b, m, deterministic)
} }
func (m *Privacy2Privacy4Print) XXX_Merge(src proto.Message) { func (dst *Privacy2Privacy4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_Privacy2Privacy4Print.Merge(m, src) xxx_messageInfo_Privacy2Privacy4Print.Merge(dst, src)
} }
func (m *Privacy2Privacy4Print) XXX_Size() int { func (m *Privacy2Privacy4Print) XXX_Size() int {
return xxx_messageInfo_Privacy2Privacy4Print.Size(m) return xxx_messageInfo_Privacy2Privacy4Print.Size(m)
...@@ -1642,17 +1613,16 @@ func (m *Privacy2Public4Print) Reset() { *m = Privacy2Public4Print{} } ...@@ -1642,17 +1613,16 @@ func (m *Privacy2Public4Print) Reset() { *m = Privacy2Public4Print{} }
func (m *Privacy2Public4Print) String() string { return proto.CompactTextString(m) } func (m *Privacy2Public4Print) String() string { return proto.CompactTextString(m) }
func (*Privacy2Public4Print) ProtoMessage() {} func (*Privacy2Public4Print) ProtoMessage() {}
func (*Privacy2Public4Print) Descriptor() ([]byte, []int) { func (*Privacy2Public4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{29} return fileDescriptor_privacy_72b9788f10887058, []int{29}
} }
func (m *Privacy2Public4Print) XXX_Unmarshal(b []byte) error { func (m *Privacy2Public4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Privacy2Public4Print.Unmarshal(m, b) return xxx_messageInfo_Privacy2Public4Print.Unmarshal(m, b)
} }
func (m *Privacy2Public4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Privacy2Public4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Privacy2Public4Print.Marshal(b, m, deterministic) return xxx_messageInfo_Privacy2Public4Print.Marshal(b, m, deterministic)
} }
func (m *Privacy2Public4Print) XXX_Merge(src proto.Message) { func (dst *Privacy2Public4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_Privacy2Public4Print.Merge(m, src) xxx_messageInfo_Privacy2Public4Print.Merge(dst, src)
} }
func (m *Privacy2Public4Print) XXX_Size() int { func (m *Privacy2Public4Print) XXX_Size() int {
return xxx_messageInfo_Privacy2Public4Print.Size(m) return xxx_messageInfo_Privacy2Public4Print.Size(m)
...@@ -1714,17 +1684,16 @@ func (m *PrivacyAction4Print) Reset() { *m = PrivacyAction4Print{} } ...@@ -1714,17 +1684,16 @@ func (m *PrivacyAction4Print) Reset() { *m = PrivacyAction4Print{} }
func (m *PrivacyAction4Print) String() string { return proto.CompactTextString(m) } func (m *PrivacyAction4Print) String() string { return proto.CompactTextString(m) }
func (*PrivacyAction4Print) ProtoMessage() {} func (*PrivacyAction4Print) ProtoMessage() {}
func (*PrivacyAction4Print) Descriptor() ([]byte, []int) { func (*PrivacyAction4Print) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{30} return fileDescriptor_privacy_72b9788f10887058, []int{30}
} }
func (m *PrivacyAction4Print) XXX_Unmarshal(b []byte) error { func (m *PrivacyAction4Print) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyAction4Print.Unmarshal(m, b) return xxx_messageInfo_PrivacyAction4Print.Unmarshal(m, b)
} }
func (m *PrivacyAction4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyAction4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyAction4Print.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyAction4Print.Marshal(b, m, deterministic)
} }
func (m *PrivacyAction4Print) XXX_Merge(src proto.Message) { func (dst *PrivacyAction4Print) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyAction4Print.Merge(m, src) xxx_messageInfo_PrivacyAction4Print.Merge(dst, src)
} }
func (m *PrivacyAction4Print) XXX_Size() int { func (m *PrivacyAction4Print) XXX_Size() int {
return xxx_messageInfo_PrivacyAction4Print.Size(m) return xxx_messageInfo_PrivacyAction4Print.Size(m)
...@@ -1904,17 +1873,16 @@ func (m *ReqCreateUTXOs) Reset() { *m = ReqCreateUTXOs{} } ...@@ -1904,17 +1873,16 @@ func (m *ReqCreateUTXOs) Reset() { *m = ReqCreateUTXOs{} }
func (m *ReqCreateUTXOs) String() string { return proto.CompactTextString(m) } func (m *ReqCreateUTXOs) String() string { return proto.CompactTextString(m) }
func (*ReqCreateUTXOs) ProtoMessage() {} func (*ReqCreateUTXOs) ProtoMessage() {}
func (*ReqCreateUTXOs) Descriptor() ([]byte, []int) { func (*ReqCreateUTXOs) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{31} return fileDescriptor_privacy_72b9788f10887058, []int{31}
} }
func (m *ReqCreateUTXOs) XXX_Unmarshal(b []byte) error { func (m *ReqCreateUTXOs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCreateUTXOs.Unmarshal(m, b) return xxx_messageInfo_ReqCreateUTXOs.Unmarshal(m, b)
} }
func (m *ReqCreateUTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCreateUTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCreateUTXOs.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCreateUTXOs.Marshal(b, m, deterministic)
} }
func (m *ReqCreateUTXOs) XXX_Merge(src proto.Message) { func (dst *ReqCreateUTXOs) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCreateUTXOs.Merge(m, src) xxx_messageInfo_ReqCreateUTXOs.Merge(dst, src)
} }
func (m *ReqCreateUTXOs) XXX_Size() int { func (m *ReqCreateUTXOs) XXX_Size() int {
return xxx_messageInfo_ReqCreateUTXOs.Size(m) return xxx_messageInfo_ReqCreateUTXOs.Size(m)
...@@ -1988,17 +1956,16 @@ func (m *ReplyPrivacyPkPair) Reset() { *m = ReplyPrivacyPkPair{} } ...@@ -1988,17 +1956,16 @@ func (m *ReplyPrivacyPkPair) Reset() { *m = ReplyPrivacyPkPair{} }
func (m *ReplyPrivacyPkPair) String() string { return proto.CompactTextString(m) } func (m *ReplyPrivacyPkPair) String() string { return proto.CompactTextString(m) }
func (*ReplyPrivacyPkPair) ProtoMessage() {} func (*ReplyPrivacyPkPair) ProtoMessage() {}
func (*ReplyPrivacyPkPair) Descriptor() ([]byte, []int) { func (*ReplyPrivacyPkPair) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{32} return fileDescriptor_privacy_72b9788f10887058, []int{32}
} }
func (m *ReplyPrivacyPkPair) XXX_Unmarshal(b []byte) error { func (m *ReplyPrivacyPkPair) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyPrivacyPkPair.Unmarshal(m, b) return xxx_messageInfo_ReplyPrivacyPkPair.Unmarshal(m, b)
} }
func (m *ReplyPrivacyPkPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReplyPrivacyPkPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyPrivacyPkPair.Marshal(b, m, deterministic) return xxx_messageInfo_ReplyPrivacyPkPair.Marshal(b, m, deterministic)
} }
func (m *ReplyPrivacyPkPair) XXX_Merge(src proto.Message) { func (dst *ReplyPrivacyPkPair) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyPrivacyPkPair.Merge(m, src) xxx_messageInfo_ReplyPrivacyPkPair.Merge(dst, src)
} }
func (m *ReplyPrivacyPkPair) XXX_Size() int { func (m *ReplyPrivacyPkPair) XXX_Size() int {
return xxx_messageInfo_ReplyPrivacyPkPair.Size(m) return xxx_messageInfo_ReplyPrivacyPkPair.Size(m)
...@@ -2035,17 +2002,16 @@ func (m *ReqPrivBal4AddrToken) Reset() { *m = ReqPrivBal4AddrToken{} } ...@@ -2035,17 +2002,16 @@ func (m *ReqPrivBal4AddrToken) Reset() { *m = ReqPrivBal4AddrToken{} }
func (m *ReqPrivBal4AddrToken) String() string { return proto.CompactTextString(m) } func (m *ReqPrivBal4AddrToken) String() string { return proto.CompactTextString(m) }
func (*ReqPrivBal4AddrToken) ProtoMessage() {} func (*ReqPrivBal4AddrToken) ProtoMessage() {}
func (*ReqPrivBal4AddrToken) Descriptor() ([]byte, []int) { func (*ReqPrivBal4AddrToken) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{33} return fileDescriptor_privacy_72b9788f10887058, []int{33}
} }
func (m *ReqPrivBal4AddrToken) XXX_Unmarshal(b []byte) error { func (m *ReqPrivBal4AddrToken) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqPrivBal4AddrToken.Unmarshal(m, b) return xxx_messageInfo_ReqPrivBal4AddrToken.Unmarshal(m, b)
} }
func (m *ReqPrivBal4AddrToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqPrivBal4AddrToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqPrivBal4AddrToken.Marshal(b, m, deterministic) return xxx_messageInfo_ReqPrivBal4AddrToken.Marshal(b, m, deterministic)
} }
func (m *ReqPrivBal4AddrToken) XXX_Merge(src proto.Message) { func (dst *ReqPrivBal4AddrToken) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqPrivBal4AddrToken.Merge(m, src) xxx_messageInfo_ReqPrivBal4AddrToken.Merge(dst, src)
} }
func (m *ReqPrivBal4AddrToken) XXX_Size() int { func (m *ReqPrivBal4AddrToken) XXX_Size() int {
return xxx_messageInfo_ReqPrivBal4AddrToken.Size(m) return xxx_messageInfo_ReqPrivBal4AddrToken.Size(m)
...@@ -2082,17 +2048,16 @@ func (m *ReplyPrivacyBalance) Reset() { *m = ReplyPrivacyBalance{} } ...@@ -2082,17 +2048,16 @@ func (m *ReplyPrivacyBalance) Reset() { *m = ReplyPrivacyBalance{} }
func (m *ReplyPrivacyBalance) String() string { return proto.CompactTextString(m) } func (m *ReplyPrivacyBalance) String() string { return proto.CompactTextString(m) }
func (*ReplyPrivacyBalance) ProtoMessage() {} func (*ReplyPrivacyBalance) ProtoMessage() {}
func (*ReplyPrivacyBalance) Descriptor() ([]byte, []int) { func (*ReplyPrivacyBalance) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{34} return fileDescriptor_privacy_72b9788f10887058, []int{34}
} }
func (m *ReplyPrivacyBalance) XXX_Unmarshal(b []byte) error { func (m *ReplyPrivacyBalance) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyPrivacyBalance.Unmarshal(m, b) return xxx_messageInfo_ReplyPrivacyBalance.Unmarshal(m, b)
} }
func (m *ReplyPrivacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReplyPrivacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyPrivacyBalance.Marshal(b, m, deterministic) return xxx_messageInfo_ReplyPrivacyBalance.Marshal(b, m, deterministic)
} }
func (m *ReplyPrivacyBalance) XXX_Merge(src proto.Message) { func (dst *ReplyPrivacyBalance) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyPrivacyBalance.Merge(m, src) xxx_messageInfo_ReplyPrivacyBalance.Merge(dst, src)
} }
func (m *ReplyPrivacyBalance) XXX_Size() int { func (m *ReplyPrivacyBalance) XXX_Size() int {
return xxx_messageInfo_ReplyPrivacyBalance.Size(m) return xxx_messageInfo_ReplyPrivacyBalance.Size(m)
...@@ -2137,17 +2102,16 @@ func (m *PrivacyDBStore) Reset() { *m = PrivacyDBStore{} } ...@@ -2137,17 +2102,16 @@ func (m *PrivacyDBStore) Reset() { *m = PrivacyDBStore{} }
func (m *PrivacyDBStore) String() string { return proto.CompactTextString(m) } func (m *PrivacyDBStore) String() string { return proto.CompactTextString(m) }
func (*PrivacyDBStore) ProtoMessage() {} func (*PrivacyDBStore) ProtoMessage() {}
func (*PrivacyDBStore) Descriptor() ([]byte, []int) { func (*PrivacyDBStore) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{35} return fileDescriptor_privacy_72b9788f10887058, []int{35}
} }
func (m *PrivacyDBStore) XXX_Unmarshal(b []byte) error { func (m *PrivacyDBStore) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacyDBStore.Unmarshal(m, b) return xxx_messageInfo_PrivacyDBStore.Unmarshal(m, b)
} }
func (m *PrivacyDBStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacyDBStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacyDBStore.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacyDBStore.Marshal(b, m, deterministic)
} }
func (m *PrivacyDBStore) XXX_Merge(src proto.Message) { func (dst *PrivacyDBStore) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacyDBStore.Merge(m, src) xxx_messageInfo_PrivacyDBStore.Merge(dst, src)
} }
func (m *PrivacyDBStore) XXX_Size() int { func (m *PrivacyDBStore) XXX_Size() int {
return xxx_messageInfo_PrivacyDBStore.Size(m) return xxx_messageInfo_PrivacyDBStore.Size(m)
...@@ -2240,17 +2204,16 @@ func (m *UTXO) Reset() { *m = UTXO{} } ...@@ -2240,17 +2204,16 @@ func (m *UTXO) Reset() { *m = UTXO{} }
func (m *UTXO) String() string { return proto.CompactTextString(m) } func (m *UTXO) String() string { return proto.CompactTextString(m) }
func (*UTXO) ProtoMessage() {} func (*UTXO) ProtoMessage() {}
func (*UTXO) Descriptor() ([]byte, []int) { func (*UTXO) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{36} return fileDescriptor_privacy_72b9788f10887058, []int{36}
} }
func (m *UTXO) XXX_Unmarshal(b []byte) error { func (m *UTXO) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXO.Unmarshal(m, b) return xxx_messageInfo_UTXO.Unmarshal(m, b)
} }
func (m *UTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXO.Marshal(b, m, deterministic) return xxx_messageInfo_UTXO.Marshal(b, m, deterministic)
} }
func (m *UTXO) XXX_Merge(src proto.Message) { func (dst *UTXO) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXO.Merge(m, src) xxx_messageInfo_UTXO.Merge(dst, src)
} }
func (m *UTXO) XXX_Size() int { func (m *UTXO) XXX_Size() int {
return xxx_messageInfo_UTXO.Size(m) return xxx_messageInfo_UTXO.Size(m)
...@@ -2288,17 +2251,16 @@ func (m *UTXOHaveTxHash) Reset() { *m = UTXOHaveTxHash{} } ...@@ -2288,17 +2251,16 @@ func (m *UTXOHaveTxHash) Reset() { *m = UTXOHaveTxHash{} }
func (m *UTXOHaveTxHash) String() string { return proto.CompactTextString(m) } func (m *UTXOHaveTxHash) String() string { return proto.CompactTextString(m) }
func (*UTXOHaveTxHash) ProtoMessage() {} func (*UTXOHaveTxHash) ProtoMessage() {}
func (*UTXOHaveTxHash) Descriptor() ([]byte, []int) { func (*UTXOHaveTxHash) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{37} return fileDescriptor_privacy_72b9788f10887058, []int{37}
} }
func (m *UTXOHaveTxHash) XXX_Unmarshal(b []byte) error { func (m *UTXOHaveTxHash) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOHaveTxHash.Unmarshal(m, b) return xxx_messageInfo_UTXOHaveTxHash.Unmarshal(m, b)
} }
func (m *UTXOHaveTxHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOHaveTxHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOHaveTxHash.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOHaveTxHash.Marshal(b, m, deterministic)
} }
func (m *UTXOHaveTxHash) XXX_Merge(src proto.Message) { func (dst *UTXOHaveTxHash) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOHaveTxHash.Merge(m, src) xxx_messageInfo_UTXOHaveTxHash.Merge(dst, src)
} }
func (m *UTXOHaveTxHash) XXX_Size() int { func (m *UTXOHaveTxHash) XXX_Size() int {
return xxx_messageInfo_UTXOHaveTxHash.Size(m) return xxx_messageInfo_UTXOHaveTxHash.Size(m)
...@@ -2341,17 +2303,16 @@ func (m *UTXOs) Reset() { *m = UTXOs{} } ...@@ -2341,17 +2303,16 @@ func (m *UTXOs) Reset() { *m = UTXOs{} }
func (m *UTXOs) String() string { return proto.CompactTextString(m) } func (m *UTXOs) String() string { return proto.CompactTextString(m) }
func (*UTXOs) ProtoMessage() {} func (*UTXOs) ProtoMessage() {}
func (*UTXOs) Descriptor() ([]byte, []int) { func (*UTXOs) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{38} return fileDescriptor_privacy_72b9788f10887058, []int{38}
} }
func (m *UTXOs) XXX_Unmarshal(b []byte) error { func (m *UTXOs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOs.Unmarshal(m, b) return xxx_messageInfo_UTXOs.Unmarshal(m, b)
} }
func (m *UTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOs.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOs.Marshal(b, m, deterministic)
} }
func (m *UTXOs) XXX_Merge(src proto.Message) { func (dst *UTXOs) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOs.Merge(m, src) xxx_messageInfo_UTXOs.Merge(dst, src)
} }
func (m *UTXOs) XXX_Size() int { func (m *UTXOs) XXX_Size() int {
return xxx_messageInfo_UTXOs.Size(m) return xxx_messageInfo_UTXOs.Size(m)
...@@ -2380,17 +2341,16 @@ func (m *UTXOHaveTxHashs) Reset() { *m = UTXOHaveTxHashs{} } ...@@ -2380,17 +2341,16 @@ func (m *UTXOHaveTxHashs) Reset() { *m = UTXOHaveTxHashs{} }
func (m *UTXOHaveTxHashs) String() string { return proto.CompactTextString(m) } func (m *UTXOHaveTxHashs) String() string { return proto.CompactTextString(m) }
func (*UTXOHaveTxHashs) ProtoMessage() {} func (*UTXOHaveTxHashs) ProtoMessage() {}
func (*UTXOHaveTxHashs) Descriptor() ([]byte, []int) { func (*UTXOHaveTxHashs) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{39} return fileDescriptor_privacy_72b9788f10887058, []int{39}
} }
func (m *UTXOHaveTxHashs) XXX_Unmarshal(b []byte) error { func (m *UTXOHaveTxHashs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOHaveTxHashs.Unmarshal(m, b) return xxx_messageInfo_UTXOHaveTxHashs.Unmarshal(m, b)
} }
func (m *UTXOHaveTxHashs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOHaveTxHashs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOHaveTxHashs.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOHaveTxHashs.Marshal(b, m, deterministic)
} }
func (m *UTXOHaveTxHashs) XXX_Merge(src proto.Message) { func (dst *UTXOHaveTxHashs) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOHaveTxHashs.Merge(m, src) xxx_messageInfo_UTXOHaveTxHashs.Merge(dst, src)
} }
func (m *UTXOHaveTxHashs) XXX_Size() int { func (m *UTXOHaveTxHashs) XXX_Size() int {
return xxx_messageInfo_UTXOHaveTxHashs.Size(m) return xxx_messageInfo_UTXOHaveTxHashs.Size(m)
...@@ -2421,17 +2381,16 @@ func (m *ReqUTXOGlobalIndex) Reset() { *m = ReqUTXOGlobalIndex{} } ...@@ -2421,17 +2381,16 @@ func (m *ReqUTXOGlobalIndex) Reset() { *m = ReqUTXOGlobalIndex{} }
func (m *ReqUTXOGlobalIndex) String() string { return proto.CompactTextString(m) } func (m *ReqUTXOGlobalIndex) String() string { return proto.CompactTextString(m) }
func (*ReqUTXOGlobalIndex) ProtoMessage() {} func (*ReqUTXOGlobalIndex) ProtoMessage() {}
func (*ReqUTXOGlobalIndex) Descriptor() ([]byte, []int) { func (*ReqUTXOGlobalIndex) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{40} return fileDescriptor_privacy_72b9788f10887058, []int{40}
} }
func (m *ReqUTXOGlobalIndex) XXX_Unmarshal(b []byte) error { func (m *ReqUTXOGlobalIndex) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqUTXOGlobalIndex.Unmarshal(m, b) return xxx_messageInfo_ReqUTXOGlobalIndex.Unmarshal(m, b)
} }
func (m *ReqUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqUTXOGlobalIndex.Marshal(b, m, deterministic) return xxx_messageInfo_ReqUTXOGlobalIndex.Marshal(b, m, deterministic)
} }
func (m *ReqUTXOGlobalIndex) XXX_Merge(src proto.Message) { func (dst *ReqUTXOGlobalIndex) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqUTXOGlobalIndex.Merge(m, src) xxx_messageInfo_ReqUTXOGlobalIndex.Merge(dst, src)
} }
func (m *ReqUTXOGlobalIndex) XXX_Size() int { func (m *ReqUTXOGlobalIndex) XXX_Size() int {
return xxx_messageInfo_ReqUTXOGlobalIndex.Size(m) return xxx_messageInfo_ReqUTXOGlobalIndex.Size(m)
...@@ -2475,17 +2434,16 @@ func (m *UTXOBasic) Reset() { *m = UTXOBasic{} } ...@@ -2475,17 +2434,16 @@ func (m *UTXOBasic) Reset() { *m = UTXOBasic{} }
func (m *UTXOBasic) String() string { return proto.CompactTextString(m) } func (m *UTXOBasic) String() string { return proto.CompactTextString(m) }
func (*UTXOBasic) ProtoMessage() {} func (*UTXOBasic) ProtoMessage() {}
func (*UTXOBasic) Descriptor() ([]byte, []int) { func (*UTXOBasic) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{41} return fileDescriptor_privacy_72b9788f10887058, []int{41}
} }
func (m *UTXOBasic) XXX_Unmarshal(b []byte) error { func (m *UTXOBasic) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOBasic.Unmarshal(m, b) return xxx_messageInfo_UTXOBasic.Unmarshal(m, b)
} }
func (m *UTXOBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOBasic.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOBasic.Marshal(b, m, deterministic)
} }
func (m *UTXOBasic) XXX_Merge(src proto.Message) { func (dst *UTXOBasic) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOBasic.Merge(m, src) xxx_messageInfo_UTXOBasic.Merge(dst, src)
} }
func (m *UTXOBasic) XXX_Size() int { func (m *UTXOBasic) XXX_Size() int {
return xxx_messageInfo_UTXOBasic.Size(m) return xxx_messageInfo_UTXOBasic.Size(m)
...@@ -2522,17 +2480,16 @@ func (m *UTXOIndex4Amount) Reset() { *m = UTXOIndex4Amount{} } ...@@ -2522,17 +2480,16 @@ func (m *UTXOIndex4Amount) Reset() { *m = UTXOIndex4Amount{} }
func (m *UTXOIndex4Amount) String() string { return proto.CompactTextString(m) } func (m *UTXOIndex4Amount) String() string { return proto.CompactTextString(m) }
func (*UTXOIndex4Amount) ProtoMessage() {} func (*UTXOIndex4Amount) ProtoMessage() {}
func (*UTXOIndex4Amount) Descriptor() ([]byte, []int) { func (*UTXOIndex4Amount) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{42} return fileDescriptor_privacy_72b9788f10887058, []int{42}
} }
func (m *UTXOIndex4Amount) XXX_Unmarshal(b []byte) error { func (m *UTXOIndex4Amount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOIndex4Amount.Unmarshal(m, b) return xxx_messageInfo_UTXOIndex4Amount.Unmarshal(m, b)
} }
func (m *UTXOIndex4Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOIndex4Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOIndex4Amount.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOIndex4Amount.Marshal(b, m, deterministic)
} }
func (m *UTXOIndex4Amount) XXX_Merge(src proto.Message) { func (dst *UTXOIndex4Amount) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOIndex4Amount.Merge(m, src) xxx_messageInfo_UTXOIndex4Amount.Merge(dst, src)
} }
func (m *UTXOIndex4Amount) XXX_Size() int { func (m *UTXOIndex4Amount) XXX_Size() int {
return xxx_messageInfo_UTXOIndex4Amount.Size(m) return xxx_messageInfo_UTXOIndex4Amount.Size(m)
...@@ -2570,17 +2527,16 @@ func (m *ResUTXOGlobalIndex) Reset() { *m = ResUTXOGlobalIndex{} } ...@@ -2570,17 +2527,16 @@ func (m *ResUTXOGlobalIndex) Reset() { *m = ResUTXOGlobalIndex{} }
func (m *ResUTXOGlobalIndex) String() string { return proto.CompactTextString(m) } func (m *ResUTXOGlobalIndex) String() string { return proto.CompactTextString(m) }
func (*ResUTXOGlobalIndex) ProtoMessage() {} func (*ResUTXOGlobalIndex) ProtoMessage() {}
func (*ResUTXOGlobalIndex) Descriptor() ([]byte, []int) { func (*ResUTXOGlobalIndex) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{43} return fileDescriptor_privacy_72b9788f10887058, []int{43}
} }
func (m *ResUTXOGlobalIndex) XXX_Unmarshal(b []byte) error { func (m *ResUTXOGlobalIndex) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResUTXOGlobalIndex.Unmarshal(m, b) return xxx_messageInfo_ResUTXOGlobalIndex.Unmarshal(m, b)
} }
func (m *ResUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ResUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResUTXOGlobalIndex.Marshal(b, m, deterministic) return xxx_messageInfo_ResUTXOGlobalIndex.Marshal(b, m, deterministic)
} }
func (m *ResUTXOGlobalIndex) XXX_Merge(src proto.Message) { func (dst *ResUTXOGlobalIndex) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResUTXOGlobalIndex.Merge(m, src) xxx_messageInfo_ResUTXOGlobalIndex.Merge(dst, src)
} }
func (m *ResUTXOGlobalIndex) XXX_Size() int { func (m *ResUTXOGlobalIndex) XXX_Size() int {
return xxx_messageInfo_ResUTXOGlobalIndex.Size(m) return xxx_messageInfo_ResUTXOGlobalIndex.Size(m)
...@@ -2628,17 +2584,16 @@ func (m *FTXOsSTXOsInOneTx) Reset() { *m = FTXOsSTXOsInOneTx{} } ...@@ -2628,17 +2584,16 @@ func (m *FTXOsSTXOsInOneTx) Reset() { *m = FTXOsSTXOsInOneTx{} }
func (m *FTXOsSTXOsInOneTx) String() string { return proto.CompactTextString(m) } func (m *FTXOsSTXOsInOneTx) String() string { return proto.CompactTextString(m) }
func (*FTXOsSTXOsInOneTx) ProtoMessage() {} func (*FTXOsSTXOsInOneTx) ProtoMessage() {}
func (*FTXOsSTXOsInOneTx) Descriptor() ([]byte, []int) { func (*FTXOsSTXOsInOneTx) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{44} return fileDescriptor_privacy_72b9788f10887058, []int{44}
} }
func (m *FTXOsSTXOsInOneTx) XXX_Unmarshal(b []byte) error { func (m *FTXOsSTXOsInOneTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FTXOsSTXOsInOneTx.Unmarshal(m, b) return xxx_messageInfo_FTXOsSTXOsInOneTx.Unmarshal(m, b)
} }
func (m *FTXOsSTXOsInOneTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *FTXOsSTXOsInOneTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FTXOsSTXOsInOneTx.Marshal(b, m, deterministic) return xxx_messageInfo_FTXOsSTXOsInOneTx.Marshal(b, m, deterministic)
} }
func (m *FTXOsSTXOsInOneTx) XXX_Merge(src proto.Message) { func (dst *FTXOsSTXOsInOneTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_FTXOsSTXOsInOneTx.Merge(m, src) xxx_messageInfo_FTXOsSTXOsInOneTx.Merge(dst, src)
} }
func (m *FTXOsSTXOsInOneTx) XXX_Size() int { func (m *FTXOsSTXOsInOneTx) XXX_Size() int {
return xxx_messageInfo_FTXOsSTXOsInOneTx.Size(m) return xxx_messageInfo_FTXOsSTXOsInOneTx.Size(m)
...@@ -2696,17 +2651,16 @@ func (m *RealKeyInput) Reset() { *m = RealKeyInput{} } ...@@ -2696,17 +2651,16 @@ func (m *RealKeyInput) Reset() { *m = RealKeyInput{} }
func (m *RealKeyInput) String() string { return proto.CompactTextString(m) } func (m *RealKeyInput) String() string { return proto.CompactTextString(m) }
func (*RealKeyInput) ProtoMessage() {} func (*RealKeyInput) ProtoMessage() {}
func (*RealKeyInput) Descriptor() ([]byte, []int) { func (*RealKeyInput) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{45} return fileDescriptor_privacy_72b9788f10887058, []int{45}
} }
func (m *RealKeyInput) XXX_Unmarshal(b []byte) error { func (m *RealKeyInput) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RealKeyInput.Unmarshal(m, b) return xxx_messageInfo_RealKeyInput.Unmarshal(m, b)
} }
func (m *RealKeyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RealKeyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RealKeyInput.Marshal(b, m, deterministic) return xxx_messageInfo_RealKeyInput.Marshal(b, m, deterministic)
} }
func (m *RealKeyInput) XXX_Merge(src proto.Message) { func (dst *RealKeyInput) XXX_Merge(src proto.Message) {
xxx_messageInfo_RealKeyInput.Merge(m, src) xxx_messageInfo_RealKeyInput.Merge(dst, src)
} }
func (m *RealKeyInput) XXX_Size() int { func (m *RealKeyInput) XXX_Size() int {
return xxx_messageInfo_RealKeyInput.Size(m) return xxx_messageInfo_RealKeyInput.Size(m)
...@@ -2742,17 +2696,16 @@ func (m *UTXOBasics) Reset() { *m = UTXOBasics{} } ...@@ -2742,17 +2696,16 @@ func (m *UTXOBasics) Reset() { *m = UTXOBasics{} }
func (m *UTXOBasics) String() string { return proto.CompactTextString(m) } func (m *UTXOBasics) String() string { return proto.CompactTextString(m) }
func (*UTXOBasics) ProtoMessage() {} func (*UTXOBasics) ProtoMessage() {}
func (*UTXOBasics) Descriptor() ([]byte, []int) { func (*UTXOBasics) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{46} return fileDescriptor_privacy_72b9788f10887058, []int{46}
} }
func (m *UTXOBasics) XXX_Unmarshal(b []byte) error { func (m *UTXOBasics) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UTXOBasics.Unmarshal(m, b) return xxx_messageInfo_UTXOBasics.Unmarshal(m, b)
} }
func (m *UTXOBasics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *UTXOBasics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UTXOBasics.Marshal(b, m, deterministic) return xxx_messageInfo_UTXOBasics.Marshal(b, m, deterministic)
} }
func (m *UTXOBasics) XXX_Merge(src proto.Message) { func (dst *UTXOBasics) XXX_Merge(src proto.Message) {
xxx_messageInfo_UTXOBasics.Merge(m, src) xxx_messageInfo_UTXOBasics.Merge(dst, src)
} }
func (m *UTXOBasics) XXX_Size() int { func (m *UTXOBasics) XXX_Size() int {
return xxx_messageInfo_UTXOBasics.Size(m) return xxx_messageInfo_UTXOBasics.Size(m)
...@@ -2795,17 +2748,16 @@ func (m *CreateTransactionCache) Reset() { *m = CreateTransactionCache{} ...@@ -2795,17 +2748,16 @@ func (m *CreateTransactionCache) Reset() { *m = CreateTransactionCache{}
func (m *CreateTransactionCache) String() string { return proto.CompactTextString(m) } func (m *CreateTransactionCache) String() string { return proto.CompactTextString(m) }
func (*CreateTransactionCache) ProtoMessage() {} func (*CreateTransactionCache) ProtoMessage() {}
func (*CreateTransactionCache) Descriptor() ([]byte, []int) { func (*CreateTransactionCache) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{47} return fileDescriptor_privacy_72b9788f10887058, []int{47}
} }
func (m *CreateTransactionCache) XXX_Unmarshal(b []byte) error { func (m *CreateTransactionCache) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateTransactionCache.Unmarshal(m, b) return xxx_messageInfo_CreateTransactionCache.Unmarshal(m, b)
} }
func (m *CreateTransactionCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CreateTransactionCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateTransactionCache.Marshal(b, m, deterministic) return xxx_messageInfo_CreateTransactionCache.Marshal(b, m, deterministic)
} }
func (m *CreateTransactionCache) XXX_Merge(src proto.Message) { func (dst *CreateTransactionCache) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateTransactionCache.Merge(m, src) xxx_messageInfo_CreateTransactionCache.Merge(dst, src)
} }
func (m *CreateTransactionCache) XXX_Size() int { func (m *CreateTransactionCache) XXX_Size() int {
return xxx_messageInfo_CreateTransactionCache.Size(m) return xxx_messageInfo_CreateTransactionCache.Size(m)
...@@ -2891,17 +2843,16 @@ func (m *ReqCacheTxList) Reset() { *m = ReqCacheTxList{} } ...@@ -2891,17 +2843,16 @@ func (m *ReqCacheTxList) Reset() { *m = ReqCacheTxList{} }
func (m *ReqCacheTxList) String() string { return proto.CompactTextString(m) } func (m *ReqCacheTxList) String() string { return proto.CompactTextString(m) }
func (*ReqCacheTxList) ProtoMessage() {} func (*ReqCacheTxList) ProtoMessage() {}
func (*ReqCacheTxList) Descriptor() ([]byte, []int) { func (*ReqCacheTxList) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{48} return fileDescriptor_privacy_72b9788f10887058, []int{48}
} }
func (m *ReqCacheTxList) XXX_Unmarshal(b []byte) error { func (m *ReqCacheTxList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCacheTxList.Unmarshal(m, b) return xxx_messageInfo_ReqCacheTxList.Unmarshal(m, b)
} }
func (m *ReqCacheTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCacheTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCacheTxList.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCacheTxList.Marshal(b, m, deterministic)
} }
func (m *ReqCacheTxList) XXX_Merge(src proto.Message) { func (dst *ReqCacheTxList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCacheTxList.Merge(m, src) xxx_messageInfo_ReqCacheTxList.Merge(dst, src)
} }
func (m *ReqCacheTxList) XXX_Size() int { func (m *ReqCacheTxList) XXX_Size() int {
return xxx_messageInfo_ReqCacheTxList.Size(m) return xxx_messageInfo_ReqCacheTxList.Size(m)
...@@ -2937,17 +2888,16 @@ func (m *ReplyCacheTxList) Reset() { *m = ReplyCacheTxList{} } ...@@ -2937,17 +2888,16 @@ func (m *ReplyCacheTxList) Reset() { *m = ReplyCacheTxList{} }
func (m *ReplyCacheTxList) String() string { return proto.CompactTextString(m) } func (m *ReplyCacheTxList) String() string { return proto.CompactTextString(m) }
func (*ReplyCacheTxList) ProtoMessage() {} func (*ReplyCacheTxList) ProtoMessage() {}
func (*ReplyCacheTxList) Descriptor() ([]byte, []int) { func (*ReplyCacheTxList) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{49} return fileDescriptor_privacy_72b9788f10887058, []int{49}
} }
func (m *ReplyCacheTxList) XXX_Unmarshal(b []byte) error { func (m *ReplyCacheTxList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyCacheTxList.Unmarshal(m, b) return xxx_messageInfo_ReplyCacheTxList.Unmarshal(m, b)
} }
func (m *ReplyCacheTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReplyCacheTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyCacheTxList.Marshal(b, m, deterministic) return xxx_messageInfo_ReplyCacheTxList.Marshal(b, m, deterministic)
} }
func (m *ReplyCacheTxList) XXX_Merge(src proto.Message) { func (dst *ReplyCacheTxList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyCacheTxList.Merge(m, src) xxx_messageInfo_ReplyCacheTxList.Merge(dst, src)
} }
func (m *ReplyCacheTxList) XXX_Size() int { func (m *ReplyCacheTxList) XXX_Size() int {
return xxx_messageInfo_ReplyCacheTxList.Size(m) return xxx_messageInfo_ReplyCacheTxList.Size(m)
...@@ -2977,17 +2927,16 @@ func (m *ReqPrivacyAccount) Reset() { *m = ReqPrivacyAccount{} } ...@@ -2977,17 +2927,16 @@ func (m *ReqPrivacyAccount) Reset() { *m = ReqPrivacyAccount{} }
func (m *ReqPrivacyAccount) String() string { return proto.CompactTextString(m) } func (m *ReqPrivacyAccount) String() string { return proto.CompactTextString(m) }
func (*ReqPrivacyAccount) ProtoMessage() {} func (*ReqPrivacyAccount) ProtoMessage() {}
func (*ReqPrivacyAccount) Descriptor() ([]byte, []int) { func (*ReqPrivacyAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{50} return fileDescriptor_privacy_72b9788f10887058, []int{50}
} }
func (m *ReqPrivacyAccount) XXX_Unmarshal(b []byte) error { func (m *ReqPrivacyAccount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqPrivacyAccount.Unmarshal(m, b) return xxx_messageInfo_ReqPrivacyAccount.Unmarshal(m, b)
} }
func (m *ReqPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqPrivacyAccount.Marshal(b, m, deterministic) return xxx_messageInfo_ReqPrivacyAccount.Marshal(b, m, deterministic)
} }
func (m *ReqPrivacyAccount) XXX_Merge(src proto.Message) { func (dst *ReqPrivacyAccount) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqPrivacyAccount.Merge(m, src) xxx_messageInfo_ReqPrivacyAccount.Merge(dst, src)
} }
func (m *ReqPrivacyAccount) XXX_Size() int { func (m *ReqPrivacyAccount) XXX_Size() int {
return xxx_messageInfo_ReqPrivacyAccount.Size(m) return xxx_messageInfo_ReqPrivacyAccount.Size(m)
...@@ -3030,17 +2979,16 @@ func (m *ReqPPrivacyAccount) Reset() { *m = ReqPPrivacyAccount{} } ...@@ -3030,17 +2979,16 @@ func (m *ReqPPrivacyAccount) Reset() { *m = ReqPPrivacyAccount{} }
func (m *ReqPPrivacyAccount) String() string { return proto.CompactTextString(m) } func (m *ReqPPrivacyAccount) String() string { return proto.CompactTextString(m) }
func (*ReqPPrivacyAccount) ProtoMessage() {} func (*ReqPPrivacyAccount) ProtoMessage() {}
func (*ReqPPrivacyAccount) Descriptor() ([]byte, []int) { func (*ReqPPrivacyAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{51} return fileDescriptor_privacy_72b9788f10887058, []int{51}
} }
func (m *ReqPPrivacyAccount) XXX_Unmarshal(b []byte) error { func (m *ReqPPrivacyAccount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqPPrivacyAccount.Unmarshal(m, b) return xxx_messageInfo_ReqPPrivacyAccount.Unmarshal(m, b)
} }
func (m *ReqPPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqPPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqPPrivacyAccount.Marshal(b, m, deterministic) return xxx_messageInfo_ReqPPrivacyAccount.Marshal(b, m, deterministic)
} }
func (m *ReqPPrivacyAccount) XXX_Merge(src proto.Message) { func (dst *ReqPPrivacyAccount) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqPPrivacyAccount.Merge(m, src) xxx_messageInfo_ReqPPrivacyAccount.Merge(dst, src)
} }
func (m *ReqPPrivacyAccount) XXX_Size() int { func (m *ReqPPrivacyAccount) XXX_Size() int {
return xxx_messageInfo_ReqPPrivacyAccount.Size(m) return xxx_messageInfo_ReqPPrivacyAccount.Size(m)
...@@ -3088,17 +3036,16 @@ func (m *ReplyPrivacyAccount) Reset() { *m = ReplyPrivacyAccount{} } ...@@ -3088,17 +3036,16 @@ func (m *ReplyPrivacyAccount) Reset() { *m = ReplyPrivacyAccount{} }
func (m *ReplyPrivacyAccount) String() string { return proto.CompactTextString(m) } func (m *ReplyPrivacyAccount) String() string { return proto.CompactTextString(m) }
func (*ReplyPrivacyAccount) ProtoMessage() {} func (*ReplyPrivacyAccount) ProtoMessage() {}
func (*ReplyPrivacyAccount) Descriptor() ([]byte, []int) { func (*ReplyPrivacyAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{52} return fileDescriptor_privacy_72b9788f10887058, []int{52}
} }
func (m *ReplyPrivacyAccount) XXX_Unmarshal(b []byte) error { func (m *ReplyPrivacyAccount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyPrivacyAccount.Unmarshal(m, b) return xxx_messageInfo_ReplyPrivacyAccount.Unmarshal(m, b)
} }
func (m *ReplyPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReplyPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyPrivacyAccount.Marshal(b, m, deterministic) return xxx_messageInfo_ReplyPrivacyAccount.Marshal(b, m, deterministic)
} }
func (m *ReplyPrivacyAccount) XXX_Merge(src proto.Message) { func (dst *ReplyPrivacyAccount) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyPrivacyAccount.Merge(m, src) xxx_messageInfo_ReplyPrivacyAccount.Merge(dst, src)
} }
func (m *ReplyPrivacyAccount) XXX_Size() int { func (m *ReplyPrivacyAccount) XXX_Size() int {
return xxx_messageInfo_ReplyPrivacyAccount.Size(m) return xxx_messageInfo_ReplyPrivacyAccount.Size(m)
...@@ -3142,17 +3089,16 @@ func (m *ReqCreateCacheTxKey) Reset() { *m = ReqCreateCacheTxKey{} } ...@@ -3142,17 +3089,16 @@ func (m *ReqCreateCacheTxKey) Reset() { *m = ReqCreateCacheTxKey{} }
func (m *ReqCreateCacheTxKey) String() string { return proto.CompactTextString(m) } func (m *ReqCreateCacheTxKey) String() string { return proto.CompactTextString(m) }
func (*ReqCreateCacheTxKey) ProtoMessage() {} func (*ReqCreateCacheTxKey) ProtoMessage() {}
func (*ReqCreateCacheTxKey) Descriptor() ([]byte, []int) { func (*ReqCreateCacheTxKey) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{53} return fileDescriptor_privacy_72b9788f10887058, []int{53}
} }
func (m *ReqCreateCacheTxKey) XXX_Unmarshal(b []byte) error { func (m *ReqCreateCacheTxKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCreateCacheTxKey.Unmarshal(m, b) return xxx_messageInfo_ReqCreateCacheTxKey.Unmarshal(m, b)
} }
func (m *ReqCreateCacheTxKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCreateCacheTxKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCreateCacheTxKey.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCreateCacheTxKey.Marshal(b, m, deterministic)
} }
func (m *ReqCreateCacheTxKey) XXX_Merge(src proto.Message) { func (dst *ReqCreateCacheTxKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCreateCacheTxKey.Merge(m, src) xxx_messageInfo_ReqCreateCacheTxKey.Merge(dst, src)
} }
func (m *ReqCreateCacheTxKey) XXX_Size() int { func (m *ReqCreateCacheTxKey) XXX_Size() int {
return xxx_messageInfo_ReqCreateCacheTxKey.Size(m) return xxx_messageInfo_ReqCreateCacheTxKey.Size(m)
...@@ -3197,17 +3143,16 @@ func (m *ReqPrivacyTransactionList) Reset() { *m = ReqPrivacyTransaction ...@@ -3197,17 +3143,16 @@ func (m *ReqPrivacyTransactionList) Reset() { *m = ReqPrivacyTransaction
func (m *ReqPrivacyTransactionList) String() string { return proto.CompactTextString(m) } func (m *ReqPrivacyTransactionList) String() string { return proto.CompactTextString(m) }
func (*ReqPrivacyTransactionList) ProtoMessage() {} func (*ReqPrivacyTransactionList) ProtoMessage() {}
func (*ReqPrivacyTransactionList) Descriptor() ([]byte, []int) { func (*ReqPrivacyTransactionList) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{54} return fileDescriptor_privacy_72b9788f10887058, []int{54}
} }
func (m *ReqPrivacyTransactionList) XXX_Unmarshal(b []byte) error { func (m *ReqPrivacyTransactionList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqPrivacyTransactionList.Unmarshal(m, b) return xxx_messageInfo_ReqPrivacyTransactionList.Unmarshal(m, b)
} }
func (m *ReqPrivacyTransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqPrivacyTransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqPrivacyTransactionList.Marshal(b, m, deterministic) return xxx_messageInfo_ReqPrivacyTransactionList.Marshal(b, m, deterministic)
} }
func (m *ReqPrivacyTransactionList) XXX_Merge(src proto.Message) { func (dst *ReqPrivacyTransactionList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqPrivacyTransactionList.Merge(m, src) xxx_messageInfo_ReqPrivacyTransactionList.Merge(dst, src)
} }
func (m *ReqPrivacyTransactionList) XXX_Size() int { func (m *ReqPrivacyTransactionList) XXX_Size() int {
return xxx_messageInfo_ReqPrivacyTransactionList.Size(m) return xxx_messageInfo_ReqPrivacyTransactionList.Size(m)
...@@ -3279,17 +3224,16 @@ func (m *ReqRescanUtxos) Reset() { *m = ReqRescanUtxos{} } ...@@ -3279,17 +3224,16 @@ func (m *ReqRescanUtxos) Reset() { *m = ReqRescanUtxos{} }
func (m *ReqRescanUtxos) String() string { return proto.CompactTextString(m) } func (m *ReqRescanUtxos) String() string { return proto.CompactTextString(m) }
func (*ReqRescanUtxos) ProtoMessage() {} func (*ReqRescanUtxos) ProtoMessage() {}
func (*ReqRescanUtxos) Descriptor() ([]byte, []int) { func (*ReqRescanUtxos) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{55} return fileDescriptor_privacy_72b9788f10887058, []int{55}
} }
func (m *ReqRescanUtxos) XXX_Unmarshal(b []byte) error { func (m *ReqRescanUtxos) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqRescanUtxos.Unmarshal(m, b) return xxx_messageInfo_ReqRescanUtxos.Unmarshal(m, b)
} }
func (m *ReqRescanUtxos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqRescanUtxos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqRescanUtxos.Marshal(b, m, deterministic) return xxx_messageInfo_ReqRescanUtxos.Marshal(b, m, deterministic)
} }
func (m *ReqRescanUtxos) XXX_Merge(src proto.Message) { func (dst *ReqRescanUtxos) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqRescanUtxos.Merge(m, src) xxx_messageInfo_ReqRescanUtxos.Merge(dst, src)
} }
func (m *ReqRescanUtxos) XXX_Size() int { func (m *ReqRescanUtxos) XXX_Size() int {
return xxx_messageInfo_ReqRescanUtxos.Size(m) return xxx_messageInfo_ReqRescanUtxos.Size(m)
...@@ -3326,17 +3270,16 @@ func (m *RepRescanResult) Reset() { *m = RepRescanResult{} } ...@@ -3326,17 +3270,16 @@ func (m *RepRescanResult) Reset() { *m = RepRescanResult{} }
func (m *RepRescanResult) String() string { return proto.CompactTextString(m) } func (m *RepRescanResult) String() string { return proto.CompactTextString(m) }
func (*RepRescanResult) ProtoMessage() {} func (*RepRescanResult) ProtoMessage() {}
func (*RepRescanResult) Descriptor() ([]byte, []int) { func (*RepRescanResult) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{56} return fileDescriptor_privacy_72b9788f10887058, []int{56}
} }
func (m *RepRescanResult) XXX_Unmarshal(b []byte) error { func (m *RepRescanResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepRescanResult.Unmarshal(m, b) return xxx_messageInfo_RepRescanResult.Unmarshal(m, b)
} }
func (m *RepRescanResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepRescanResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepRescanResult.Marshal(b, m, deterministic) return xxx_messageInfo_RepRescanResult.Marshal(b, m, deterministic)
} }
func (m *RepRescanResult) XXX_Merge(src proto.Message) { func (dst *RepRescanResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepRescanResult.Merge(m, src) xxx_messageInfo_RepRescanResult.Merge(dst, src)
} }
func (m *RepRescanResult) XXX_Size() int { func (m *RepRescanResult) XXX_Size() int {
return xxx_messageInfo_RepRescanResult.Size(m) return xxx_messageInfo_RepRescanResult.Size(m)
...@@ -3373,17 +3316,16 @@ func (m *RepRescanUtxos) Reset() { *m = RepRescanUtxos{} } ...@@ -3373,17 +3316,16 @@ func (m *RepRescanUtxos) Reset() { *m = RepRescanUtxos{} }
func (m *RepRescanUtxos) String() string { return proto.CompactTextString(m) } func (m *RepRescanUtxos) String() string { return proto.CompactTextString(m) }
func (*RepRescanUtxos) ProtoMessage() {} func (*RepRescanUtxos) ProtoMessage() {}
func (*RepRescanUtxos) Descriptor() ([]byte, []int) { func (*RepRescanUtxos) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{57} return fileDescriptor_privacy_72b9788f10887058, []int{57}
} }
func (m *RepRescanUtxos) XXX_Unmarshal(b []byte) error { func (m *RepRescanUtxos) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepRescanUtxos.Unmarshal(m, b) return xxx_messageInfo_RepRescanUtxos.Unmarshal(m, b)
} }
func (m *RepRescanUtxos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepRescanUtxos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepRescanUtxos.Marshal(b, m, deterministic) return xxx_messageInfo_RepRescanUtxos.Marshal(b, m, deterministic)
} }
func (m *RepRescanUtxos) XXX_Merge(src proto.Message) { func (dst *RepRescanUtxos) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepRescanUtxos.Merge(m, src) xxx_messageInfo_RepRescanUtxos.Merge(dst, src)
} }
func (m *RepRescanUtxos) XXX_Size() int { func (m *RepRescanUtxos) XXX_Size() int {
return xxx_messageInfo_RepRescanUtxos.Size(m) return xxx_messageInfo_RepRescanUtxos.Size(m)
...@@ -3419,17 +3361,16 @@ func (m *ReqEnablePrivacy) Reset() { *m = ReqEnablePrivacy{} } ...@@ -3419,17 +3361,16 @@ func (m *ReqEnablePrivacy) Reset() { *m = ReqEnablePrivacy{} }
func (m *ReqEnablePrivacy) String() string { return proto.CompactTextString(m) } func (m *ReqEnablePrivacy) String() string { return proto.CompactTextString(m) }
func (*ReqEnablePrivacy) ProtoMessage() {} func (*ReqEnablePrivacy) ProtoMessage() {}
func (*ReqEnablePrivacy) Descriptor() ([]byte, []int) { func (*ReqEnablePrivacy) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{58} return fileDescriptor_privacy_72b9788f10887058, []int{58}
} }
func (m *ReqEnablePrivacy) XXX_Unmarshal(b []byte) error { func (m *ReqEnablePrivacy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqEnablePrivacy.Unmarshal(m, b) return xxx_messageInfo_ReqEnablePrivacy.Unmarshal(m, b)
} }
func (m *ReqEnablePrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqEnablePrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqEnablePrivacy.Marshal(b, m, deterministic) return xxx_messageInfo_ReqEnablePrivacy.Marshal(b, m, deterministic)
} }
func (m *ReqEnablePrivacy) XXX_Merge(src proto.Message) { func (dst *ReqEnablePrivacy) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqEnablePrivacy.Merge(m, src) xxx_messageInfo_ReqEnablePrivacy.Merge(dst, src)
} }
func (m *ReqEnablePrivacy) XXX_Size() int { func (m *ReqEnablePrivacy) XXX_Size() int {
return xxx_messageInfo_ReqEnablePrivacy.Size(m) return xxx_messageInfo_ReqEnablePrivacy.Size(m)
...@@ -3460,17 +3401,16 @@ func (m *PriAddrResult) Reset() { *m = PriAddrResult{} } ...@@ -3460,17 +3401,16 @@ func (m *PriAddrResult) Reset() { *m = PriAddrResult{} }
func (m *PriAddrResult) String() string { return proto.CompactTextString(m) } func (m *PriAddrResult) String() string { return proto.CompactTextString(m) }
func (*PriAddrResult) ProtoMessage() {} func (*PriAddrResult) ProtoMessage() {}
func (*PriAddrResult) Descriptor() ([]byte, []int) { func (*PriAddrResult) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{59} return fileDescriptor_privacy_72b9788f10887058, []int{59}
} }
func (m *PriAddrResult) XXX_Unmarshal(b []byte) error { func (m *PriAddrResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PriAddrResult.Unmarshal(m, b) return xxx_messageInfo_PriAddrResult.Unmarshal(m, b)
} }
func (m *PriAddrResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PriAddrResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PriAddrResult.Marshal(b, m, deterministic) return xxx_messageInfo_PriAddrResult.Marshal(b, m, deterministic)
} }
func (m *PriAddrResult) XXX_Merge(src proto.Message) { func (dst *PriAddrResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_PriAddrResult.Merge(m, src) xxx_messageInfo_PriAddrResult.Merge(dst, src)
} }
func (m *PriAddrResult) XXX_Size() int { func (m *PriAddrResult) XXX_Size() int {
return xxx_messageInfo_PriAddrResult.Size(m) return xxx_messageInfo_PriAddrResult.Size(m)
...@@ -3513,17 +3453,16 @@ func (m *RepEnablePrivacy) Reset() { *m = RepEnablePrivacy{} } ...@@ -3513,17 +3453,16 @@ func (m *RepEnablePrivacy) Reset() { *m = RepEnablePrivacy{} }
func (m *RepEnablePrivacy) String() string { return proto.CompactTextString(m) } func (m *RepEnablePrivacy) String() string { return proto.CompactTextString(m) }
func (*RepEnablePrivacy) ProtoMessage() {} func (*RepEnablePrivacy) ProtoMessage() {}
func (*RepEnablePrivacy) Descriptor() ([]byte, []int) { func (*RepEnablePrivacy) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{60} return fileDescriptor_privacy_72b9788f10887058, []int{60}
} }
func (m *RepEnablePrivacy) XXX_Unmarshal(b []byte) error { func (m *RepEnablePrivacy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepEnablePrivacy.Unmarshal(m, b) return xxx_messageInfo_RepEnablePrivacy.Unmarshal(m, b)
} }
func (m *RepEnablePrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepEnablePrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepEnablePrivacy.Marshal(b, m, deterministic) return xxx_messageInfo_RepEnablePrivacy.Marshal(b, m, deterministic)
} }
func (m *RepEnablePrivacy) XXX_Merge(src proto.Message) { func (dst *RepEnablePrivacy) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepEnablePrivacy.Merge(m, src) xxx_messageInfo_RepEnablePrivacy.Merge(dst, src)
} }
func (m *RepEnablePrivacy) XXX_Size() int { func (m *RepEnablePrivacy) XXX_Size() int {
return xxx_messageInfo_RepEnablePrivacy.Size(m) return xxx_messageInfo_RepEnablePrivacy.Size(m)
...@@ -3555,17 +3494,16 @@ func (m *PrivacySignatureParam) Reset() { *m = PrivacySignatureParam{} } ...@@ -3555,17 +3494,16 @@ func (m *PrivacySignatureParam) Reset() { *m = PrivacySignatureParam{} }
func (m *PrivacySignatureParam) String() string { return proto.CompactTextString(m) } func (m *PrivacySignatureParam) String() string { return proto.CompactTextString(m) }
func (*PrivacySignatureParam) ProtoMessage() {} func (*PrivacySignatureParam) ProtoMessage() {}
func (*PrivacySignatureParam) Descriptor() ([]byte, []int) { func (*PrivacySignatureParam) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{61} return fileDescriptor_privacy_72b9788f10887058, []int{61}
} }
func (m *PrivacySignatureParam) XXX_Unmarshal(b []byte) error { func (m *PrivacySignatureParam) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrivacySignatureParam.Unmarshal(m, b) return xxx_messageInfo_PrivacySignatureParam.Unmarshal(m, b)
} }
func (m *PrivacySignatureParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *PrivacySignatureParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PrivacySignatureParam.Marshal(b, m, deterministic) return xxx_messageInfo_PrivacySignatureParam.Marshal(b, m, deterministic)
} }
func (m *PrivacySignatureParam) XXX_Merge(src proto.Message) { func (dst *PrivacySignatureParam) XXX_Merge(src proto.Message) {
xxx_messageInfo_PrivacySignatureParam.Merge(m, src) xxx_messageInfo_PrivacySignatureParam.Merge(dst, src)
} }
func (m *PrivacySignatureParam) XXX_Size() int { func (m *PrivacySignatureParam) XXX_Size() int {
return xxx_messageInfo_PrivacySignatureParam.Size(m) return xxx_messageInfo_PrivacySignatureParam.Size(m)
...@@ -3611,17 +3549,16 @@ func (m *WalletAccountPrivacy) Reset() { *m = WalletAccountPrivacy{} } ...@@ -3611,17 +3549,16 @@ func (m *WalletAccountPrivacy) Reset() { *m = WalletAccountPrivacy{} }
func (m *WalletAccountPrivacy) String() string { return proto.CompactTextString(m) } func (m *WalletAccountPrivacy) String() string { return proto.CompactTextString(m) }
func (*WalletAccountPrivacy) ProtoMessage() {} func (*WalletAccountPrivacy) ProtoMessage() {}
func (*WalletAccountPrivacy) Descriptor() ([]byte, []int) { func (*WalletAccountPrivacy) Descriptor() ([]byte, []int) {
return fileDescriptor_dde03d4df7a6e99a, []int{62} return fileDescriptor_privacy_72b9788f10887058, []int{62}
} }
func (m *WalletAccountPrivacy) XXX_Unmarshal(b []byte) error { func (m *WalletAccountPrivacy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WalletAccountPrivacy.Unmarshal(m, b) return xxx_messageInfo_WalletAccountPrivacy.Unmarshal(m, b)
} }
func (m *WalletAccountPrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *WalletAccountPrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WalletAccountPrivacy.Marshal(b, m, deterministic) return xxx_messageInfo_WalletAccountPrivacy.Marshal(b, m, deterministic)
} }
func (m *WalletAccountPrivacy) XXX_Merge(src proto.Message) { func (dst *WalletAccountPrivacy) XXX_Merge(src proto.Message) {
xxx_messageInfo_WalletAccountPrivacy.Merge(m, src) xxx_messageInfo_WalletAccountPrivacy.Merge(dst, src)
} }
func (m *WalletAccountPrivacy) XXX_Size() int { func (m *WalletAccountPrivacy) XXX_Size() int {
return xxx_messageInfo_WalletAccountPrivacy.Size(m) return xxx_messageInfo_WalletAccountPrivacy.Size(m)
...@@ -3660,6 +3597,116 @@ func (m *WalletAccountPrivacy) GetSpendPrivKey() []byte { ...@@ -3660,6 +3597,116 @@ func (m *WalletAccountPrivacy) GetSpendPrivKey() []byte {
return nil return nil
} }
// 创建隐私交易请求
type ReqCreatePrivacyTx struct {
Tokenname string `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
// 构建交易类型
// 1:隐私交易 公开->隐私
// 2:隐私交易 隐私->隐私
// 3:隐私交易 隐私->公开
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"`
// 普通交易的发送方
From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
// 普通交易的接收方
To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
// 隐私交易,接收方的公钥对
Pubkeypair string `protobuf:"bytes,10,opt,name=pubkeypair,proto3" json:"pubkeypair,omitempty"`
Mixcount int32 `protobuf:"varint,11,opt,name=mixcount,proto3" json:"mixcount,omitempty"`
Expire int64 `protobuf:"varint,12,opt,name=expire,proto3" json:"expire,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqCreatePrivacyTx) Reset() { *m = ReqCreatePrivacyTx{} }
func (m *ReqCreatePrivacyTx) String() string { return proto.CompactTextString(m) }
func (*ReqCreatePrivacyTx) ProtoMessage() {}
func (*ReqCreatePrivacyTx) Descriptor() ([]byte, []int) {
return fileDescriptor_privacy_72b9788f10887058, []int{63}
}
func (m *ReqCreatePrivacyTx) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCreatePrivacyTx.Unmarshal(m, b)
}
func (m *ReqCreatePrivacyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCreatePrivacyTx.Marshal(b, m, deterministic)
}
func (dst *ReqCreatePrivacyTx) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCreatePrivacyTx.Merge(dst, src)
}
func (m *ReqCreatePrivacyTx) XXX_Size() int {
return xxx_messageInfo_ReqCreatePrivacyTx.Size(m)
}
func (m *ReqCreatePrivacyTx) XXX_DiscardUnknown() {
xxx_messageInfo_ReqCreatePrivacyTx.DiscardUnknown(m)
}
var xxx_messageInfo_ReqCreatePrivacyTx proto.InternalMessageInfo
func (m *ReqCreatePrivacyTx) GetTokenname() string {
if m != nil {
return m.Tokenname
}
return ""
}
func (m *ReqCreatePrivacyTx) GetType() int32 {
if m != nil {
return m.Type
}
return 0
}
func (m *ReqCreatePrivacyTx) GetAmount() int64 {
if m != nil {
return m.Amount
}
return 0
}
func (m *ReqCreatePrivacyTx) GetNote() string {
if m != nil {
return m.Note
}
return ""
}
func (m *ReqCreatePrivacyTx) GetFrom() string {
if m != nil {
return m.From
}
return ""
}
func (m *ReqCreatePrivacyTx) GetTo() string {
if m != nil {
return m.To
}
return ""
}
func (m *ReqCreatePrivacyTx) GetPubkeypair() string {
if m != nil {
return m.Pubkeypair
}
return ""
}
func (m *ReqCreatePrivacyTx) GetMixcount() int32 {
if m != nil {
return m.Mixcount
}
return 0
}
func (m *ReqCreatePrivacyTx) GetExpire() int64 {
if m != nil {
return m.Expire
}
return 0
}
func init() { func init() {
proto.RegisterType((*PrivacyAction)(nil), "types.PrivacyAction") proto.RegisterType((*PrivacyAction)(nil), "types.PrivacyAction")
proto.RegisterType((*Public2Privacy)(nil), "types.Public2Privacy") proto.RegisterType((*Public2Privacy)(nil), "types.Public2Privacy")
...@@ -3726,155 +3773,7 @@ func init() { ...@@ -3726,155 +3773,7 @@ func init() {
proto.RegisterType((*RepEnablePrivacy)(nil), "types.RepEnablePrivacy") proto.RegisterType((*RepEnablePrivacy)(nil), "types.RepEnablePrivacy")
proto.RegisterType((*PrivacySignatureParam)(nil), "types.PrivacySignatureParam") proto.RegisterType((*PrivacySignatureParam)(nil), "types.PrivacySignatureParam")
proto.RegisterType((*WalletAccountPrivacy)(nil), "types.WalletAccountPrivacy") proto.RegisterType((*WalletAccountPrivacy)(nil), "types.WalletAccountPrivacy")
} proto.RegisterType((*ReqCreatePrivacyTx)(nil), "types.ReqCreatePrivacyTx")
func init() { proto.RegisterFile("privacy.proto", fileDescriptor_dde03d4df7a6e99a) }
var fileDescriptor_dde03d4df7a6e99a = []byte{
// 2284 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x39, 0x4d, 0x6f, 0x1c, 0x49,
0xd9, 0xee, 0xf9, 0xb0, 0xdd, 0x8f, 0xc7, 0xf6, 0xa4, 0x32, 0xf6, 0x4e, 0x26, 0x56, 0x94, 0xb7,
0x76, 0x95, 0x37, 0x2c, 0xc8, 0x68, 0x8d, 0xa5, 0xfd, 0x20, 0x28, 0xeb, 0x71, 0x9c, 0x64, 0xe4,
0x4d, 0x6c, 0xca, 0x5e, 0x81, 0xd0, 0x22, 0x51, 0x9e, 0x29, 0xdb, 0x2d, 0xf7, 0x74, 0xb7, 0xbb,
0x7b, 0xec, 0x99, 0xd3, 0x72, 0x42, 0x1c, 0x38, 0x20, 0x81, 0xb8, 0x80, 0xb8, 0x71, 0xe7, 0xc0,
0x0f, 0x40, 0x42, 0x70, 0x42, 0xe2, 0x27, 0xf0, 0x0f, 0xf8, 0x0d, 0xa8, 0x3e, 0xba, 0xab, 0xaa,
0xdd, 0x63, 0x3b, 0x60, 0x2e, 0xa3, 0xae, 0xa7, 0x9e, 0x7a, 0xbe, 0xea, 0xf9, 0xac, 0x81, 0xc5,
0x28, 0xf6, 0x2e, 0x68, 0x7f, 0xb2, 0x1e, 0xc5, 0x61, 0x1a, 0xa2, 0x7a, 0x3a, 0x89, 0x58, 0xd2,
0x69, 0xf4, 0xc3, 0xe1, 0x30, 0x0c, 0x24, 0xb0, 0x73, 0x2f, 0x8d, 0x69, 0x90, 0xd0, 0x7e, 0xea,
0xe5, 0xa0, 0xc6, 0x25, 0xf5, 0x7d, 0x96, 0xca, 0x15, 0xfe, 0x97, 0x03, 0x8b, 0xfb, 0x92, 0xce,
0x96, 0xc0, 0x42, 0xcf, 0x61, 0x29, 0x1a, 0x1d, 0xf9, 0x5e, 0x7f, 0x43, 0xd1, 0x6f, 0x3b, 0x8f,
0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, 0x36, 0xc0, 0x9d, 0x86, 0x49,
0x02, 0xcf, 0xa0, 0xef, 0xc1, 0x82, 0xe9, 0xeb, 0xc6, 0x29, 0x03, 0xdc, 0x59, 0x29, 0x3a, 0xb5,
0x00, 0xe3, 0x19, 0xb4, 0x0d, 0x8b, 0xb6, 0x2f, 0xbd, 0xa7, 0x09, 0x58, 0x1b, 0x1d, 0xbd, 0x61,
0x7b, 0x1f, 0x9e, 0x41, 0x3d, 0x68, 0x49, 0x11, 0x09, 0xbd, 0x34, 0x32, 0x19, 0x7a, 0x58, 0x54,
0xc1, 0xd8, 0xec, 0x94, 0x94, 0x24, 0x3c, 0x73, 0x34, 0x2b, 0xfe, 0x3e, 0xfe, 0xce, 0xbf, 0x03,
0x00, 0x00, 0xff, 0xff, 0x4e, 0x70, 0x4a, 0x03, 0x85, 0x1e, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
...@@ -3899,7 +3798,7 @@ type PrivacyClient interface { ...@@ -3899,7 +3798,7 @@ type PrivacyClient interface {
// 使能隐私账户 // 使能隐私账户
EnablePrivacy(ctx context.Context, in *ReqEnablePrivacy, opts ...grpc.CallOption) (*RepEnablePrivacy, error) EnablePrivacy(ctx context.Context, in *ReqEnablePrivacy, opts ...grpc.CallOption) (*RepEnablePrivacy, error)
// 创建隐私交易 // 创建隐私交易
CreateRawTransaction(ctx context.Context, in *types.ReqCreateTransaction, opts ...grpc.CallOption) (*types.Transaction, error) CreateRawTransaction(ctx context.Context, in *ReqCreatePrivacyTx, opts ...grpc.CallOption) (*types.Transaction, error)
} }
type privacyClient struct { type privacyClient struct {
...@@ -3946,7 +3845,7 @@ func (c *privacyClient) EnablePrivacy(ctx context.Context, in *ReqEnablePrivacy, ...@@ -3946,7 +3845,7 @@ func (c *privacyClient) EnablePrivacy(ctx context.Context, in *ReqEnablePrivacy,
return out, nil return out, nil
} }
func (c *privacyClient) CreateRawTransaction(ctx context.Context, in *types.ReqCreateTransaction, opts ...grpc.CallOption) (*types.Transaction, error) { func (c *privacyClient) CreateRawTransaction(ctx context.Context, in *ReqCreatePrivacyTx, opts ...grpc.CallOption) (*types.Transaction, error) {
out := new(types.Transaction) out := new(types.Transaction)
err := c.cc.Invoke(ctx, "/types.privacy/CreateRawTransaction", in, out, opts...) err := c.cc.Invoke(ctx, "/types.privacy/CreateRawTransaction", in, out, opts...)
if err != nil { if err != nil {
...@@ -3967,7 +3866,7 @@ type PrivacyServer interface { ...@@ -3967,7 +3866,7 @@ type PrivacyServer interface {
// 使能隐私账户 // 使能隐私账户
EnablePrivacy(context.Context, *ReqEnablePrivacy) (*RepEnablePrivacy, error) EnablePrivacy(context.Context, *ReqEnablePrivacy) (*RepEnablePrivacy, error)
// 创建隐私交易 // 创建隐私交易
CreateRawTransaction(context.Context, *types.ReqCreateTransaction) (*types.Transaction, error) CreateRawTransaction(context.Context, *ReqCreatePrivacyTx) (*types.Transaction, error)
} }
func RegisterPrivacyServer(s *grpc.Server, srv PrivacyServer) { func RegisterPrivacyServer(s *grpc.Server, srv PrivacyServer) {
...@@ -4047,7 +3946,7 @@ func _Privacy_EnablePrivacy_Handler(srv interface{}, ctx context.Context, dec fu ...@@ -4047,7 +3946,7 @@ func _Privacy_EnablePrivacy_Handler(srv interface{}, ctx context.Context, dec fu
} }
func _Privacy_CreateRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _Privacy_CreateRawTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(types.ReqCreateTransaction) in := new(ReqCreatePrivacyTx)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
} }
...@@ -4059,7 +3958,7 @@ func _Privacy_CreateRawTransaction_Handler(srv interface{}, ctx context.Context, ...@@ -4059,7 +3958,7 @@ func _Privacy_CreateRawTransaction_Handler(srv interface{}, ctx context.Context,
FullMethod: "/types.privacy/CreateRawTransaction", FullMethod: "/types.privacy/CreateRawTransaction",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(PrivacyServer).CreateRawTransaction(ctx, req.(*types.ReqCreateTransaction)) return srv.(PrivacyServer).CreateRawTransaction(ctx, req.(*ReqCreatePrivacyTx))
} }
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
...@@ -4092,3 +3991,155 @@ var _Privacy_serviceDesc = grpc.ServiceDesc{ ...@@ -4092,3 +3991,155 @@ var _Privacy_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "privacy.proto", Metadata: "privacy.proto",
} }
func init() { proto.RegisterFile("privacy.proto", fileDescriptor_privacy_72b9788f10887058) }
var fileDescriptor_privacy_72b9788f10887058 = []byte{
// 2332 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x19, 0x4b, 0x6f, 0x23, 0x49,
0x39, 0xed, 0x47, 0x92, 0xfe, 0xe2, 0x24, 0x9e, 0x5a, 0x27, 0xeb, 0xf1, 0x44, 0xa3, 0xa1, 0x76,
0x35, 0x0c, 0x0b, 0x0a, 0xda, 0x10, 0x69, 0x1f, 0x0c, 0x9a, 0x8d, 0x33, 0x99, 0x99, 0x28, 0x3b,
0x93, 0x50, 0xc9, 0x0a, 0x84, 0x16, 0x89, 0x8a, 0x5d, 0x49, 0x5a, 0x69, 0x77, 0x77, 0xba, 0xdb,
0x89, 0x7d, 0x5a, 0x4e, 0x88, 0x03, 0x07, 0x24, 0x10, 0x17, 0x10, 0x37, 0xee, 0x1c, 0xf8, 0x01,
0x48, 0x08, 0x4e, 0xf0, 0x1b, 0xb8, 0x73, 0xe0, 0x37, 0xa0, 0x7a, 0x74, 0x57, 0x55, 0xbb, 0x9d,
0x64, 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0xff, 0x04,
0x00, 0x00, 0xff, 0xff, 0x81, 0xb7, 0xef, 0x60, 0x62, 0x1f, 0x00, 0x00,
}
...@@ -39,7 +39,7 @@ func (policy *privacyPolicy) On_CreateUTXOs(req *privacytypes.ReqCreateUTXOs) (t ...@@ -39,7 +39,7 @@ func (policy *privacyPolicy) On_CreateUTXOs(req *privacytypes.ReqCreateUTXOs) (t
return reply, err return reply, err
} }
func (policy *privacyPolicy) On_CreateTransaction(req *types.ReqCreateTransaction) (types.Message, error) { func (policy *privacyPolicy) On_CreateTransaction(req *privacytypes.ReqCreatePrivacyTx) (types.Message, error) {
ok, err := policy.getWalletOperate().CheckWalletStatus() ok, err := policy.getWalletOperate().CheckWalletStatus()
if !ok { if !ok {
bizlog.Error("createTransaction", "CheckWalletStatus cause error.", err) bizlog.Error("createTransaction", "CheckWalletStatus cause error.", err)
......
...@@ -562,7 +562,7 @@ func (policy *privacyPolicy) buildInput(privacykeyParirs *privacy.Privacy, build ...@@ -562,7 +562,7 @@ func (policy *privacyPolicy) buildInput(privacykeyParirs *privacy.Privacy, build
return privacyInput, utxosInKeyInput, realkeyInputSlice, selectedUtxo, nil return privacyInput, utxosInKeyInput, realkeyInputSlice, selectedUtxo, nil
} }
func (policy *privacyPolicy) createTransaction(req *types.ReqCreateTransaction) (*types.Transaction, error) { func (policy *privacyPolicy) createTransaction(req *privacytypes.ReqCreatePrivacyTx) (*types.Transaction, error) {
switch req.Type { switch req.Type {
case types.PrivacyTypePublic2Privacy: case types.PrivacyTypePublic2Privacy:
return policy.createPublic2PrivacyTx(req) return policy.createPublic2PrivacyTx(req)
...@@ -574,7 +574,7 @@ func (policy *privacyPolicy) createTransaction(req *types.ReqCreateTransaction) ...@@ -574,7 +574,7 @@ func (policy *privacyPolicy) createTransaction(req *types.ReqCreateTransaction)
return nil, types.ErrInvalidParam return nil, types.ErrInvalidParam
} }
func (policy *privacyPolicy) createPublic2PrivacyTx(req *types.ReqCreateTransaction) (*types.Transaction, error) { func (policy *privacyPolicy) createPublic2PrivacyTx(req *privacytypes.ReqCreatePrivacyTx) (*types.Transaction, error) {
viewPubSlice, spendPubSlice, err := parseViewSpendPubKeyPair(req.GetPubkeypair()) viewPubSlice, spendPubSlice, err := parseViewSpendPubKeyPair(req.GetPubkeypair())
if err != nil { if err != nil {
bizlog.Error("createPublic2PrivacyTx", "parse view spend public key pair failed. err ", err) bizlog.Error("createPublic2PrivacyTx", "parse view spend public key pair failed. err ", err)
...@@ -621,7 +621,7 @@ func (policy *privacyPolicy) createPublic2PrivacyTx(req *types.ReqCreateTransact ...@@ -621,7 +621,7 @@ func (policy *privacyPolicy) createPublic2PrivacyTx(req *types.ReqCreateTransact
return tx, nil return tx, nil
} }
func (policy *privacyPolicy) createPrivacy2PrivacyTx(req *types.ReqCreateTransaction) (*types.Transaction, error) { func (policy *privacyPolicy) createPrivacy2PrivacyTx(req *privacytypes.ReqCreatePrivacyTx) (*types.Transaction, error) {
//需要燃烧的utxo //需要燃烧的utxo
utxoBurnedAmount := privacytypes.PrivacyTxFee utxoBurnedAmount := privacytypes.PrivacyTxFee
...@@ -708,7 +708,7 @@ func (policy *privacyPolicy) createPrivacy2PrivacyTx(req *types.ReqCreateTransac ...@@ -708,7 +708,7 @@ func (policy *privacyPolicy) createPrivacy2PrivacyTx(req *types.ReqCreateTransac
return tx, nil return tx, nil
} }
func (policy *privacyPolicy) createPrivacy2PublicTx(req *types.ReqCreateTransaction) (*types.Transaction, error) { func (policy *privacyPolicy) createPrivacy2PublicTx(req *privacytypes.ReqCreatePrivacyTx) (*types.Transaction, error) {
//需要燃烧的utxo //需要燃烧的utxo
utxoBurnedAmount := privacytypes.PrivacyTxFee utxoBurnedAmount := privacytypes.PrivacyTxFee
......
...@@ -119,7 +119,7 @@ func (mock *PrivacyMock) CreateUTXOs(sender string, pubkeypair string, amount in ...@@ -119,7 +119,7 @@ func (mock *PrivacyMock) CreateUTXOs(sender string, pubkeypair string, amount in
privacyInfo, _ := mock.policy.getPrivacyKeyPairs() privacyInfo, _ := mock.policy.getPrivacyKeyPairs()
dbbatch := mock.store.NewBatch(true) dbbatch := mock.store.NewBatch(true)
for n := 0; n < count; n++ { for n := 0; n < count; n++ {
tx := mock.createPublic2PrivacyTx(&types.ReqCreateTransaction{ tx := mock.createPublic2PrivacyTx(&ty.ReqCreatePrivacyTx{
Tokenname: mock.tokenName, Tokenname: mock.tokenName,
Type: 1, Type: 1,
Amount: amount, Amount: amount,
...@@ -188,7 +188,7 @@ func (mock *PrivacyMock) CreateUTXOs(sender string, pubkeypair string, amount in ...@@ -188,7 +188,7 @@ func (mock *PrivacyMock) CreateUTXOs(sender string, pubkeypair string, amount in
dbbatch.Write() dbbatch.Write()
} }
func (mock *PrivacyMock) createPublic2PrivacyTx(req *types.ReqCreateTransaction) *types.Transaction { func (mock *PrivacyMock) createPublic2PrivacyTx(req *ty.ReqCreatePrivacyTx) *types.Transaction {
viewPubSlice, spendPubSlice, err := parseViewSpendPubKeyPair(req.GetPubkeypair()) viewPubSlice, spendPubSlice, err := parseViewSpendPubKeyPair(req.GetPubkeypair())
if err != nil { if err != nil {
return nil return nil
......
...@@ -375,7 +375,7 @@ func Test_CreateTransaction(t *testing.T) { ...@@ -375,7 +375,7 @@ func Test_CreateTransaction(t *testing.T) {
mock.setBlockChainHeight(10020) mock.setBlockChainHeight(10020)
testCases := []struct { testCases := []struct {
req *types.ReqCreateTransaction req *ty.ReqCreatePrivacyTx
needReply *types.Transaction needReply *types.Transaction
needError error needError error
}{ }{
...@@ -383,7 +383,7 @@ func Test_CreateTransaction(t *testing.T) { ...@@ -383,7 +383,7 @@ func Test_CreateTransaction(t *testing.T) {
needError: types.ErrInvalidParam, needError: types.ErrInvalidParam,
}, },
{ // 公对私测试 { // 公对私测试
req: &types.ReqCreateTransaction{ req: &ty.ReqCreatePrivacyTx{
Tokenname: types.BTY, Tokenname: types.BTY,
Type: 1, Type: 1,
Amount: 100 * types.Coin, Amount: 100 * types.Coin,
...@@ -393,7 +393,7 @@ func Test_CreateTransaction(t *testing.T) { ...@@ -393,7 +393,7 @@ func Test_CreateTransaction(t *testing.T) {
//needError:types.ErrAddrNotExist, //needError:types.ErrAddrNotExist,
}, },
{ // 私对私测试 { // 私对私测试
req: &types.ReqCreateTransaction{ req: &ty.ReqCreatePrivacyTx{
Tokenname: types.BTY, Tokenname: types.BTY,
Type: 2, Type: 2,
Amount: 10 * types.Coin, Amount: 10 * types.Coin,
...@@ -403,7 +403,7 @@ func Test_CreateTransaction(t *testing.T) { ...@@ -403,7 +403,7 @@ func Test_CreateTransaction(t *testing.T) {
needError: types.ErrAddrNotExist, needError: types.ErrAddrNotExist,
}, },
{ // 私对公测试 { // 私对公测试
req: &types.ReqCreateTransaction{ req: &ty.ReqCreatePrivacyTx{
Tokenname: types.BTY, Tokenname: types.BTY,
Type: 3, Type: 3,
Amount: 10 * types.Coin, Amount: 10 * types.Coin,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment