types

package
v0.0.0-...-0abe6a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InvalidAction invalid action type
	InvalidAction = 0

	// ActionPublic2Privacy public to privacy action type
	ActionPublic2Privacy = iota + 100
	// ActionPrivacy2Privacy privacy to privacy action type
	ActionPrivacy2Privacy
	// ActionPrivacy2Public privacy to public action type
	ActionPrivacy2Public

	// TyLogPrivacyFee privacy fee log type
	TyLogPrivacyFee = 500
	// TyLogPrivacyInput privacy input type
	TyLogPrivacyInput = 501
	// TyLogPrivacyOutput privacy output type
	TyLogPrivacyOutput = 502

	//SignNameOnetimeED25519 privacy name of crypto
	SignNameOnetimeED25519 = "privacy.onetimeed25519"
	// SignNameRing signature name ring
	SignNameRing = "privacy.RingSignatue"
	// OnetimeED25519 one time ED25519
	OnetimeED25519 = 4
	// RingBaseonED25519 ring raseon ED25519
	RingBaseonED25519 = 5
	// PrivacyMaxCount max mix utxo cout
	PrivacyMaxCount = 16
	// PrivacyTxFee privacy tx fee
	PrivacyTxFee = types.Coin
)
View Source
const (
	UtxoFlagNoScan  int32 = 0
	UtxoFlagScaning int32 = 1
	UtxoFlagScanEnd int32 = 2
)

RescanUtxoFlag

Variables

View Source
var (
	ErrGeFromBytesVartime    = errors.New("ErrGeFromBytesVartime")
	ErrPrivacyNotEnabled     = errors.New("ErrPrivacyNotEnabled")
	ErrPrivacyTxFeeNotEnough = errors.New("ErrPrivacyTxFeeNotEnough")
	ErrRescanFlagScaning     = errors.New("ErrRescanFlagScaning")
	ErrNoUTXORec4Token       = errors.New("ErrNoUTXORec4Token")
	ErrNoUTXORec4Amount      = errors.New("ErrNoUTXORec4Amount")
	ErrNotEnoughUTXOs        = errors.New("ErrNotEnoughUTXOs")
	ErrNoSuchPrivacyTX       = errors.New("ErrNoSuchPrivacyTX")
	ErrDoubleSpendOccur      = errors.New("ErrDoubleSpendOccur")
	ErrOutputIndex           = errors.New("ErrOutputIndex")
	ErrPubkeysOfUTXO         = errors.New("ErrPubkeysOfUTXO")
	ErrRecoverUTXO           = errors.New("ErrRecoverUTXO")
)

ErrXXX defines error message

View Source
var PrivacyX = "privacy"

PrivacyX privacy executor name

View Source
var RescanFlagMapint2string = map[int32]string{
	UtxoFlagNoScan:  "UtxoFlagNoScan",
	UtxoFlagScaning: "UtxoFlagScaning",
	UtxoFlagScanEnd: "UtxoFlagScanEnd",
}

RescanFlagMapint2string 常量字符串转换关系表

Functions

func RegisterPrivacyServer

func RegisterPrivacyServer(s *grpc.Server, srv PrivacyServer)

Types

type AmountDetail

type AmountDetail struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Count                int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AmountDetail) Descriptor

func (*AmountDetail) Descriptor() ([]byte, []int)

func (*AmountDetail) GetAmount

func (m *AmountDetail) GetAmount() int64

func (*AmountDetail) GetCount

func (m *AmountDetail) GetCount() int64

func (*AmountDetail) ProtoMessage

func (*AmountDetail) ProtoMessage()

func (*AmountDetail) Reset

func (m *AmountDetail) Reset()

func (*AmountDetail) String

func (m *AmountDetail) String() string

func (*AmountDetail) XXX_DiscardUnknown

func (m *AmountDetail) XXX_DiscardUnknown()

func (*AmountDetail) XXX_Marshal

func (m *AmountDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AmountDetail) XXX_Merge

func (m *AmountDetail) XXX_Merge(src proto.Message)

func (*AmountDetail) XXX_Size

func (m *AmountDetail) XXX_Size() int

func (*AmountDetail) XXX_Unmarshal

func (m *AmountDetail) XXX_Unmarshal(b []byte) error

type AmountsOfUTXO

type AmountsOfUTXO struct {
	AmountMap            map[int64]int64 `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

各种amount额度的UTXO在链上的数量

func (*AmountsOfUTXO) Descriptor

func (*AmountsOfUTXO) Descriptor() ([]byte, []int)

func (*AmountsOfUTXO) GetAmountMap

func (m *AmountsOfUTXO) GetAmountMap() map[int64]int64

func (*AmountsOfUTXO) ProtoMessage

func (*AmountsOfUTXO) ProtoMessage()

func (*AmountsOfUTXO) Reset

func (m *AmountsOfUTXO) Reset()

func (*AmountsOfUTXO) String

func (m *AmountsOfUTXO) String() string

func (*AmountsOfUTXO) XXX_DiscardUnknown

func (m *AmountsOfUTXO) XXX_DiscardUnknown()

func (*AmountsOfUTXO) XXX_Marshal

func (m *AmountsOfUTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AmountsOfUTXO) XXX_Merge

func (m *AmountsOfUTXO) XXX_Merge(src proto.Message)

func (*AmountsOfUTXO) XXX_Size

func (m *AmountsOfUTXO) XXX_Size() int

func (*AmountsOfUTXO) XXX_Unmarshal

func (m *AmountsOfUTXO) XXX_Unmarshal(b []byte) error

type CreateTransactionCache

type CreateTransactionCache struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// 记录创建时间,用以处理过期的交易
	Createtime int64 `protobuf:"varint,2,opt,name=createtime,proto3" json:"createtime,omitempty"`
	// 记录签名成功的时间,用以处理过期交易
	Signtime int64 `protobuf:"varint,3,opt,name=signtime,proto3" json:"signtime,omitempty"`
	// 缓存状态
	// 0 - 创建状态
	// 1 - 已经签名状态
	Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	//
	Transaction          *types.Transaction `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Sender               string             `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
	Realkeyinput         []*RealKeyInput    `protobuf:"bytes,7,rep,name=realkeyinput,proto3" json:"realkeyinput,omitempty"`
	Utxos                []*UTXOBasics      `protobuf:"bytes,8,rep,name=utxos,proto3" json:"utxos,omitempty"`
	Tokenname            string             `protobuf:"bytes,9,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*CreateTransactionCache) Descriptor

func (*CreateTransactionCache) Descriptor() ([]byte, []int)

func (*CreateTransactionCache) GetCreatetime

func (m *CreateTransactionCache) GetCreatetime() int64

func (*CreateTransactionCache) GetKey

func (m *CreateTransactionCache) GetKey() []byte

func (*CreateTransactionCache) GetRealkeyinput

func (m *CreateTransactionCache) GetRealkeyinput() []*RealKeyInput

func (*CreateTransactionCache) GetSender

func (m *CreateTransactionCache) GetSender() string

func (*CreateTransactionCache) GetSigntime

func (m *CreateTransactionCache) GetSigntime() int64

func (*CreateTransactionCache) GetStatus

func (m *CreateTransactionCache) GetStatus() int32

func (*CreateTransactionCache) GetTokenname

func (m *CreateTransactionCache) GetTokenname() string

func (*CreateTransactionCache) GetTransaction

func (m *CreateTransactionCache) GetTransaction() *types.Transaction

func (*CreateTransactionCache) GetUtxos

func (m *CreateTransactionCache) GetUtxos() []*UTXOBasics

func (*CreateTransactionCache) ProtoMessage

func (*CreateTransactionCache) ProtoMessage()

func (*CreateTransactionCache) Reset

func (m *CreateTransactionCache) Reset()

func (*CreateTransactionCache) String

func (m *CreateTransactionCache) String() string

func (*CreateTransactionCache) XXX_DiscardUnknown

func (m *CreateTransactionCache) XXX_DiscardUnknown()

func (*CreateTransactionCache) XXX_Marshal

func (m *CreateTransactionCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTransactionCache) XXX_Merge

func (m *CreateTransactionCache) XXX_Merge(src proto.Message)

func (*CreateTransactionCache) XXX_Size

func (m *CreateTransactionCache) XXX_Size() int

func (*CreateTransactionCache) XXX_Unmarshal

func (m *CreateTransactionCache) XXX_Unmarshal(b []byte) error

type FTXOsSTXOsInOneTx

type FTXOsSTXOsInOneTx struct {
	Tokenname string `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Sender    string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// FTXO的超期,设定原则与Transaction.expire一致
	Expire               int64    `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
	Txhash               string   `protobuf:"bytes,4,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Utxos                []*UTXO  `protobuf:"bytes,5,rep,name=utxos,proto3" json:"utxos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FTXOsSTXOsInOneTx) Descriptor

func (*FTXOsSTXOsInOneTx) Descriptor() ([]byte, []int)

func (*FTXOsSTXOsInOneTx) GetExpire

func (m *FTXOsSTXOsInOneTx) GetExpire() int64

func (*FTXOsSTXOsInOneTx) GetSender

func (m *FTXOsSTXOsInOneTx) GetSender() string

func (*FTXOsSTXOsInOneTx) GetTokenname

func (m *FTXOsSTXOsInOneTx) GetTokenname() string

func (*FTXOsSTXOsInOneTx) GetTxhash

func (m *FTXOsSTXOsInOneTx) GetTxhash() string

func (*FTXOsSTXOsInOneTx) GetUtxos

func (m *FTXOsSTXOsInOneTx) GetUtxos() []*UTXO

func (*FTXOsSTXOsInOneTx) IsExpire

func (ftxos *FTXOsSTXOsInOneTx) IsExpire(blockheight, blocktime int64) bool

IsExpire 检查FTXO是否过期,过期返回true

func (*FTXOsSTXOsInOneTx) ProtoMessage

func (*FTXOsSTXOsInOneTx) ProtoMessage()

func (*FTXOsSTXOsInOneTx) Reset

func (m *FTXOsSTXOsInOneTx) Reset()

func (*FTXOsSTXOsInOneTx) SetExpire

func (ftxos *FTXOsSTXOsInOneTx) SetExpire(expire int64)

SetExpire 设定过期

func (*FTXOsSTXOsInOneTx) String

func (m *FTXOsSTXOsInOneTx) String() string

func (*FTXOsSTXOsInOneTx) XXX_DiscardUnknown

func (m *FTXOsSTXOsInOneTx) XXX_DiscardUnknown()

func (*FTXOsSTXOsInOneTx) XXX_Marshal

func (m *FTXOsSTXOsInOneTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FTXOsSTXOsInOneTx) XXX_Merge

func (m *FTXOsSTXOsInOneTx) XXX_Merge(src proto.Message)

func (*FTXOsSTXOsInOneTx) XXX_Size

func (m *FTXOsSTXOsInOneTx) XXX_Size() int

func (*FTXOsSTXOsInOneTx) XXX_Unmarshal

func (m *FTXOsSTXOsInOneTx) XXX_Unmarshal(b []byte) error

type GroupUTXOGlobalIndex

type GroupUTXOGlobalIndex struct {
	Amount               int64              `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	UtxoGlobalIndex      []*UTXOGlobalIndex `protobuf:"bytes,2,rep,name=utxoGlobalIndex,proto3" json:"utxoGlobalIndex,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*GroupUTXOGlobalIndex) Descriptor

func (*GroupUTXOGlobalIndex) Descriptor() ([]byte, []int)

func (*GroupUTXOGlobalIndex) GetAmount

func (m *GroupUTXOGlobalIndex) GetAmount() int64

func (*GroupUTXOGlobalIndex) GetUtxoGlobalIndex

func (m *GroupUTXOGlobalIndex) GetUtxoGlobalIndex() []*UTXOGlobalIndex

func (*GroupUTXOGlobalIndex) ProtoMessage

func (*GroupUTXOGlobalIndex) ProtoMessage()

func (*GroupUTXOGlobalIndex) Reset

func (m *GroupUTXOGlobalIndex) Reset()

func (*GroupUTXOGlobalIndex) String

func (m *GroupUTXOGlobalIndex) String() string

func (*GroupUTXOGlobalIndex) XXX_DiscardUnknown

func (m *GroupUTXOGlobalIndex) XXX_DiscardUnknown()

func (*GroupUTXOGlobalIndex) XXX_Marshal

func (m *GroupUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupUTXOGlobalIndex) XXX_Merge

func (m *GroupUTXOGlobalIndex) XXX_Merge(src proto.Message)

func (*GroupUTXOGlobalIndex) XXX_Size

func (m *GroupUTXOGlobalIndex) XXX_Size() int

func (*GroupUTXOGlobalIndex) XXX_Unmarshal

func (m *GroupUTXOGlobalIndex) XXX_Unmarshal(b []byte) error

type GroupUTXOPubKey

type GroupUTXOPubKey struct {
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// 输出签名的所有公钥
	Pubkey               [][]byte `protobuf:"bytes,2,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupUTXOPubKey) Descriptor

func (*GroupUTXOPubKey) Descriptor() ([]byte, []int)

func (*GroupUTXOPubKey) GetAmount

func (m *GroupUTXOPubKey) GetAmount() int64

func (*GroupUTXOPubKey) GetPubkey

func (m *GroupUTXOPubKey) GetPubkey() [][]byte

func (*GroupUTXOPubKey) ProtoMessage

func (*GroupUTXOPubKey) ProtoMessage()

func (*GroupUTXOPubKey) Reset

func (m *GroupUTXOPubKey) Reset()

func (*GroupUTXOPubKey) String

func (m *GroupUTXOPubKey) String() string

func (*GroupUTXOPubKey) XXX_DiscardUnknown

func (m *GroupUTXOPubKey) XXX_DiscardUnknown()

func (*GroupUTXOPubKey) XXX_Marshal

func (m *GroupUTXOPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupUTXOPubKey) XXX_Merge

func (m *GroupUTXOPubKey) XXX_Merge(src proto.Message)

func (*GroupUTXOPubKey) XXX_Size

func (m *GroupUTXOPubKey) XXX_Size() int

func (*GroupUTXOPubKey) XXX_Unmarshal

func (m *GroupUTXOPubKey) XXX_Unmarshal(b []byte) error

type KeyInput

type KeyInput struct {
	Amount               int64              `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	UtxoGlobalIndex      []*UTXOGlobalIndex `protobuf:"bytes,2,rep,name=utxoGlobalIndex,proto3" json:"utxoGlobalIndex,omitempty"`
	KeyImage             []byte             `protobuf:"bytes,3,opt,name=keyImage,proto3" json:"keyImage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

privacy input

func (*KeyInput) Descriptor

func (*KeyInput) Descriptor() ([]byte, []int)

func (*KeyInput) GetAmount

func (m *KeyInput) GetAmount() int64

func (*KeyInput) GetKeyImage

func (m *KeyInput) GetKeyImage() []byte

func (*KeyInput) GetUtxoGlobalIndex

func (m *KeyInput) GetUtxoGlobalIndex() []*UTXOGlobalIndex

func (*KeyInput) ProtoMessage

func (*KeyInput) ProtoMessage()

func (*KeyInput) Reset

func (m *KeyInput) Reset()

func (*KeyInput) String

func (m *KeyInput) String() string

func (*KeyInput) XXX_DiscardUnknown

func (m *KeyInput) XXX_DiscardUnknown()

func (*KeyInput) XXX_Marshal

func (m *KeyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyInput) XXX_Merge

func (m *KeyInput) XXX_Merge(src proto.Message)

func (*KeyInput) XXX_Size

func (m *KeyInput) XXX_Size() int

func (*KeyInput) XXX_Unmarshal

func (m *KeyInput) XXX_Unmarshal(b []byte) error

type KeyInput4Print

type KeyInput4Print struct {
	Amount               int64                    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	UtxoGlobalIndex      []*UTXOGlobalIndex4Print `protobuf:"bytes,2,rep,name=utxoGlobalIndex,proto3" json:"utxoGlobalIndex,omitempty"`
	KeyImage             string                   `protobuf:"bytes,3,opt,name=keyImage,proto3" json:"keyImage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*KeyInput4Print) Descriptor

func (*KeyInput4Print) Descriptor() ([]byte, []int)

func (*KeyInput4Print) GetAmount

func (m *KeyInput4Print) GetAmount() int64

func (*KeyInput4Print) GetKeyImage

func (m *KeyInput4Print) GetKeyImage() string

func (*KeyInput4Print) GetUtxoGlobalIndex

func (m *KeyInput4Print) GetUtxoGlobalIndex() []*UTXOGlobalIndex4Print

func (*KeyInput4Print) ProtoMessage

func (*KeyInput4Print) ProtoMessage()

func (*KeyInput4Print) Reset

func (m *KeyInput4Print) Reset()

func (*KeyInput4Print) String

func (m *KeyInput4Print) String() string

func (*KeyInput4Print) XXX_DiscardUnknown

func (m *KeyInput4Print) XXX_DiscardUnknown()

func (*KeyInput4Print) XXX_Marshal

func (m *KeyInput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyInput4Print) XXX_Merge

func (m *KeyInput4Print) XXX_Merge(src proto.Message)

func (*KeyInput4Print) XXX_Size

func (m *KeyInput4Print) XXX_Size() int

func (*KeyInput4Print) XXX_Unmarshal

func (m *KeyInput4Print) XXX_Unmarshal(b []byte) error

type KeyOutput

type KeyOutput struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Onetimepubkey        []byte   `protobuf:"bytes,2,opt,name=onetimepubkey,proto3" json:"onetimepubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

privacy output

func (*KeyOutput) Descriptor

func (*KeyOutput) Descriptor() ([]byte, []int)

func (*KeyOutput) GetAmount

func (m *KeyOutput) GetAmount() int64

func (*KeyOutput) GetOnetimepubkey

func (m *KeyOutput) GetOnetimepubkey() []byte

func (*KeyOutput) ProtoMessage

func (*KeyOutput) ProtoMessage()

func (*KeyOutput) Reset

func (m *KeyOutput) Reset()

func (*KeyOutput) String

func (m *KeyOutput) String() string

func (*KeyOutput) XXX_DiscardUnknown

func (m *KeyOutput) XXX_DiscardUnknown()

func (*KeyOutput) XXX_Marshal

func (m *KeyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyOutput) XXX_Merge

func (m *KeyOutput) XXX_Merge(src proto.Message)

func (*KeyOutput) XXX_Size

func (m *KeyOutput) XXX_Size() int

func (*KeyOutput) XXX_Unmarshal

func (m *KeyOutput) XXX_Unmarshal(b []byte) error

type KeyOutput4Print

type KeyOutput4Print struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Onetimepubkey        string   `protobuf:"bytes,2,opt,name=onetimepubkey,proto3" json:"onetimepubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyOutput4Print) Descriptor

func (*KeyOutput4Print) Descriptor() ([]byte, []int)

func (*KeyOutput4Print) GetAmount

func (m *KeyOutput4Print) GetAmount() int64

func (*KeyOutput4Print) GetOnetimepubkey

func (m *KeyOutput4Print) GetOnetimepubkey() string

func (*KeyOutput4Print) ProtoMessage

func (*KeyOutput4Print) ProtoMessage()

func (*KeyOutput4Print) Reset

func (m *KeyOutput4Print) Reset()

func (*KeyOutput4Print) String

func (m *KeyOutput4Print) String() string

func (*KeyOutput4Print) XXX_DiscardUnknown

func (m *KeyOutput4Print) XXX_DiscardUnknown()

func (*KeyOutput4Print) XXX_Marshal

func (m *KeyOutput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyOutput4Print) XXX_Merge

func (m *KeyOutput4Print) XXX_Merge(src proto.Message)

func (*KeyOutput4Print) XXX_Size

func (m *KeyOutput4Print) XXX_Size() int

func (*KeyOutput4Print) XXX_Unmarshal

func (m *KeyOutput4Print) XXX_Unmarshal(b []byte) error

type LocalUTXOItem

type LocalUTXOItem struct {
	Height               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Txindex              int32    `protobuf:"varint,2,opt,name=txindex,proto3" json:"txindex,omitempty"`
	Outindex             int32    `protobuf:"varint,3,opt,name=outindex,proto3" json:"outindex,omitempty"`
	Txhash               []byte   `protobuf:"bytes,4,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Onetimepubkey        []byte   `protobuf:"bytes,5,opt,name=onetimepubkey,proto3" json:"onetimepubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LocalUTXOItem) Descriptor

func (*LocalUTXOItem) Descriptor() ([]byte, []int)

func (*LocalUTXOItem) GetHeight

func (m *LocalUTXOItem) GetHeight() int64

func (*LocalUTXOItem) GetOnetimepubkey

func (m *LocalUTXOItem) GetOnetimepubkey() []byte

func (*LocalUTXOItem) GetOutindex

func (m *LocalUTXOItem) GetOutindex() int32

func (*LocalUTXOItem) GetTxhash

func (m *LocalUTXOItem) GetTxhash() []byte

func (*LocalUTXOItem) GetTxindex

func (m *LocalUTXOItem) GetTxindex() int32

func (*LocalUTXOItem) ProtoMessage

func (*LocalUTXOItem) ProtoMessage()

func (*LocalUTXOItem) Reset

func (m *LocalUTXOItem) Reset()

func (*LocalUTXOItem) String

func (m *LocalUTXOItem) String() string

func (*LocalUTXOItem) XXX_DiscardUnknown

func (m *LocalUTXOItem) XXX_DiscardUnknown()

func (*LocalUTXOItem) XXX_Marshal

func (m *LocalUTXOItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalUTXOItem) XXX_Merge

func (m *LocalUTXOItem) XXX_Merge(src proto.Message)

func (*LocalUTXOItem) XXX_Size

func (m *LocalUTXOItem) XXX_Size() int

func (*LocalUTXOItem) XXX_Unmarshal

func (m *LocalUTXOItem) XXX_Unmarshal(b []byte) error

type PriAddrResult

type PriAddrResult struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	IsOK                 bool     `protobuf:"varint,2,opt,name=IsOK,proto3" json:"IsOK,omitempty"`
	Msg                  string   `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PriAddrResult) Descriptor

func (*PriAddrResult) Descriptor() ([]byte, []int)

func (*PriAddrResult) GetAddr

func (m *PriAddrResult) GetAddr() string

func (*PriAddrResult) GetIsOK

func (m *PriAddrResult) GetIsOK() bool

func (*PriAddrResult) GetMsg

func (m *PriAddrResult) GetMsg() string

func (*PriAddrResult) ProtoMessage

func (*PriAddrResult) ProtoMessage()

func (*PriAddrResult) Reset

func (m *PriAddrResult) Reset()

func (*PriAddrResult) String

func (m *PriAddrResult) String() string

func (*PriAddrResult) XXX_DiscardUnknown

func (m *PriAddrResult) XXX_DiscardUnknown()

func (*PriAddrResult) XXX_Marshal

func (m *PriAddrResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriAddrResult) XXX_Merge

func (m *PriAddrResult) XXX_Merge(src proto.Message)

func (*PriAddrResult) XXX_Size

func (m *PriAddrResult) XXX_Size() int

func (*PriAddrResult) XXX_Unmarshal

func (m *PriAddrResult) XXX_Unmarshal(b []byte) error

type Privacy2Privacy

type Privacy2Privacy struct {
	Tokenname            string         `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64          `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string         `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Input                *PrivacyInput  `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"`
	Output               *PrivacyOutput `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Privacy2Privacy) Descriptor

func (*Privacy2Privacy) Descriptor() ([]byte, []int)

func (*Privacy2Privacy) GetAmount

func (m *Privacy2Privacy) GetAmount() int64

func (*Privacy2Privacy) GetInput

func (m *Privacy2Privacy) GetInput() *PrivacyInput

func (*Privacy2Privacy) GetNote

func (m *Privacy2Privacy) GetNote() string

func (*Privacy2Privacy) GetOutput

func (m *Privacy2Privacy) GetOutput() *PrivacyOutput

func (*Privacy2Privacy) GetTokenname

func (m *Privacy2Privacy) GetTokenname() string

func (*Privacy2Privacy) ProtoMessage

func (*Privacy2Privacy) ProtoMessage()

func (*Privacy2Privacy) Reset

func (m *Privacy2Privacy) Reset()

func (*Privacy2Privacy) String

func (m *Privacy2Privacy) String() string

func (*Privacy2Privacy) XXX_DiscardUnknown

func (m *Privacy2Privacy) XXX_DiscardUnknown()

func (*Privacy2Privacy) XXX_Marshal

func (m *Privacy2Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Privacy2Privacy) XXX_Merge

func (m *Privacy2Privacy) XXX_Merge(src proto.Message)

func (*Privacy2Privacy) XXX_Size

func (m *Privacy2Privacy) XXX_Size() int

func (*Privacy2Privacy) XXX_Unmarshal

func (m *Privacy2Privacy) XXX_Unmarshal(b []byte) error

type Privacy2Privacy4Print

type Privacy2Privacy4Print struct {
	Tokenname            string               `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64                `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string               `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Input                *PrivacyInput4Print  `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"`
	Output               *PrivacyOutput4Print `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Privacy2Privacy4Print) Descriptor

func (*Privacy2Privacy4Print) Descriptor() ([]byte, []int)

func (*Privacy2Privacy4Print) GetAmount

func (m *Privacy2Privacy4Print) GetAmount() int64

func (*Privacy2Privacy4Print) GetInput

func (*Privacy2Privacy4Print) GetNote

func (m *Privacy2Privacy4Print) GetNote() string

func (*Privacy2Privacy4Print) GetOutput

func (*Privacy2Privacy4Print) GetTokenname

func (m *Privacy2Privacy4Print) GetTokenname() string

func (*Privacy2Privacy4Print) ProtoMessage

func (*Privacy2Privacy4Print) ProtoMessage()

func (*Privacy2Privacy4Print) Reset

func (m *Privacy2Privacy4Print) Reset()

func (*Privacy2Privacy4Print) String

func (m *Privacy2Privacy4Print) String() string

func (*Privacy2Privacy4Print) XXX_DiscardUnknown

func (m *Privacy2Privacy4Print) XXX_DiscardUnknown()

func (*Privacy2Privacy4Print) XXX_Marshal

func (m *Privacy2Privacy4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Privacy2Privacy4Print) XXX_Merge

func (m *Privacy2Privacy4Print) XXX_Merge(src proto.Message)

func (*Privacy2Privacy4Print) XXX_Size

func (m *Privacy2Privacy4Print) XXX_Size() int

func (*Privacy2Privacy4Print) XXX_Unmarshal

func (m *Privacy2Privacy4Print) XXX_Unmarshal(b []byte) error

type Privacy2Public

type Privacy2Public struct {
	Tokenname            string         `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64          `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string         `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	To                   string         `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
	Input                *PrivacyInput  `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"`
	Output               *PrivacyOutput `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Privacy2Public) Descriptor

func (*Privacy2Public) Descriptor() ([]byte, []int)

func (*Privacy2Public) GetAmount

func (m *Privacy2Public) GetAmount() int64

func (*Privacy2Public) GetInput

func (m *Privacy2Public) GetInput() *PrivacyInput

func (*Privacy2Public) GetNote

func (m *Privacy2Public) GetNote() string

func (*Privacy2Public) GetOutput

func (m *Privacy2Public) GetOutput() *PrivacyOutput

func (*Privacy2Public) GetTo

func (m *Privacy2Public) GetTo() string

func (*Privacy2Public) GetTokenname

func (m *Privacy2Public) GetTokenname() string

func (*Privacy2Public) ProtoMessage

func (*Privacy2Public) ProtoMessage()

func (*Privacy2Public) Reset

func (m *Privacy2Public) Reset()

func (*Privacy2Public) String

func (m *Privacy2Public) String() string

func (*Privacy2Public) XXX_DiscardUnknown

func (m *Privacy2Public) XXX_DiscardUnknown()

func (*Privacy2Public) XXX_Marshal

func (m *Privacy2Public) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Privacy2Public) XXX_Merge

func (m *Privacy2Public) XXX_Merge(src proto.Message)

func (*Privacy2Public) XXX_Size

func (m *Privacy2Public) XXX_Size() int

func (*Privacy2Public) XXX_Unmarshal

func (m *Privacy2Public) XXX_Unmarshal(b []byte) error

type Privacy2Public4Print

type Privacy2Public4Print struct {
	Tokenname            string               `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64                `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string               `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Input                *PrivacyInput4Print  `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"`
	Output               *PrivacyOutput4Print `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Privacy2Public4Print) Descriptor

func (*Privacy2Public4Print) Descriptor() ([]byte, []int)

func (*Privacy2Public4Print) GetAmount

func (m *Privacy2Public4Print) GetAmount() int64

func (*Privacy2Public4Print) GetInput

func (*Privacy2Public4Print) GetNote

func (m *Privacy2Public4Print) GetNote() string

func (*Privacy2Public4Print) GetOutput

func (m *Privacy2Public4Print) GetOutput() *PrivacyOutput4Print

func (*Privacy2Public4Print) GetTokenname

func (m *Privacy2Public4Print) GetTokenname() string

func (*Privacy2Public4Print) ProtoMessage

func (*Privacy2Public4Print) ProtoMessage()

func (*Privacy2Public4Print) Reset

func (m *Privacy2Public4Print) Reset()

func (*Privacy2Public4Print) String

func (m *Privacy2Public4Print) String() string

func (*Privacy2Public4Print) XXX_DiscardUnknown

func (m *Privacy2Public4Print) XXX_DiscardUnknown()

func (*Privacy2Public4Print) XXX_Marshal

func (m *Privacy2Public4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Privacy2Public4Print) XXX_Merge

func (m *Privacy2Public4Print) XXX_Merge(src proto.Message)

func (*Privacy2Public4Print) XXX_Size

func (m *Privacy2Public4Print) XXX_Size() int

func (*Privacy2Public4Print) XXX_Unmarshal

func (m *Privacy2Public4Print) XXX_Unmarshal(b []byte) error

type PrivacyAction

type PrivacyAction struct {
	// Types that are valid to be assigned to Value:
	//	*PrivacyAction_Public2Privacy
	//	*PrivacyAction_Privacy2Privacy
	//	*PrivacyAction_Privacy2Public
	Value                isPrivacyAction_Value `protobuf_oneof:"value"`
	Ty                   int32                 `protobuf:"varint,4,opt,name=ty,proto3" json:"ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

//////////////////////////////////////////////////////////////////////////// message for Privacy start///////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////

func (*PrivacyAction) Descriptor

func (*PrivacyAction) Descriptor() ([]byte, []int)

func (*PrivacyAction) GetActionName

func (action *PrivacyAction) GetActionName() string

GetActionName get action name

func (*PrivacyAction) GetInput

func (action *PrivacyAction) GetInput() *PrivacyInput

GetInput get action input information

func (*PrivacyAction) GetOutput

func (action *PrivacyAction) GetOutput() *PrivacyOutput

GetOutput get action output information

func (*PrivacyAction) GetPrivacy2Privacy

func (m *PrivacyAction) GetPrivacy2Privacy() *Privacy2Privacy

func (*PrivacyAction) GetPrivacy2Public

func (m *PrivacyAction) GetPrivacy2Public() *Privacy2Public

func (*PrivacyAction) GetPublic2Privacy

func (m *PrivacyAction) GetPublic2Privacy() *Public2Privacy

func (*PrivacyAction) GetTokenName

func (action *PrivacyAction) GetTokenName() string

GetTokenName get action token name

func (*PrivacyAction) GetTy

func (m *PrivacyAction) GetTy() int32

func (*PrivacyAction) GetValue

func (m *PrivacyAction) GetValue() isPrivacyAction_Value

func (*PrivacyAction) ProtoMessage

func (*PrivacyAction) ProtoMessage()

func (*PrivacyAction) Reset

func (m *PrivacyAction) Reset()

func (*PrivacyAction) String

func (m *PrivacyAction) String() string

func (*PrivacyAction) XXX_DiscardUnknown

func (m *PrivacyAction) XXX_DiscardUnknown()

func (*PrivacyAction) XXX_Marshal

func (m *PrivacyAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyAction) XXX_Merge

func (m *PrivacyAction) XXX_Merge(src proto.Message)

func (*PrivacyAction) XXX_OneofFuncs

func (*PrivacyAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*PrivacyAction) XXX_Size

func (m *PrivacyAction) XXX_Size() int

func (*PrivacyAction) XXX_Unmarshal

func (m *PrivacyAction) XXX_Unmarshal(b []byte) error

type PrivacyAction4Print

type PrivacyAction4Print struct {
	// Types that are valid to be assigned to Value:
	//	*PrivacyAction4Print_Public2Privacy
	//	*PrivacyAction4Print_Privacy2Privacy
	//	*PrivacyAction4Print_Privacy2Public
	Value                isPrivacyAction4Print_Value `protobuf_oneof:"value"`
	Ty                   int32                       `protobuf:"varint,4,opt,name=ty,proto3" json:"ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*PrivacyAction4Print) Descriptor

func (*PrivacyAction4Print) Descriptor() ([]byte, []int)

func (*PrivacyAction4Print) GetPrivacy2Privacy

func (m *PrivacyAction4Print) GetPrivacy2Privacy() *Privacy2Privacy4Print

func (*PrivacyAction4Print) GetPrivacy2Public

func (m *PrivacyAction4Print) GetPrivacy2Public() *Privacy2Public4Print

func (*PrivacyAction4Print) GetPublic2Privacy

func (m *PrivacyAction4Print) GetPublic2Privacy() *Public2Privacy4Print

func (*PrivacyAction4Print) GetTy

func (m *PrivacyAction4Print) GetTy() int32

func (*PrivacyAction4Print) GetValue

func (m *PrivacyAction4Print) GetValue() isPrivacyAction4Print_Value

func (*PrivacyAction4Print) ProtoMessage

func (*PrivacyAction4Print) ProtoMessage()

func (*PrivacyAction4Print) Reset

func (m *PrivacyAction4Print) Reset()

func (*PrivacyAction4Print) String

func (m *PrivacyAction4Print) String() string

func (*PrivacyAction4Print) XXX_DiscardUnknown

func (m *PrivacyAction4Print) XXX_DiscardUnknown()

func (*PrivacyAction4Print) XXX_Marshal

func (m *PrivacyAction4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyAction4Print) XXX_Merge

func (m *PrivacyAction4Print) XXX_Merge(src proto.Message)

func (*PrivacyAction4Print) XXX_OneofFuncs

func (*PrivacyAction4Print) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*PrivacyAction4Print) XXX_Size

func (m *PrivacyAction4Print) XXX_Size() int

func (*PrivacyAction4Print) XXX_Unmarshal

func (m *PrivacyAction4Print) XXX_Unmarshal(b []byte) error

type PrivacyAction4Print_Privacy2Privacy

type PrivacyAction4Print_Privacy2Privacy struct {
	Privacy2Privacy *Privacy2Privacy4Print `protobuf:"bytes,2,opt,name=privacy2privacy,proto3,oneof"`
}

type PrivacyAction4Print_Privacy2Public

type PrivacyAction4Print_Privacy2Public struct {
	Privacy2Public *Privacy2Public4Print `protobuf:"bytes,3,opt,name=privacy2public,proto3,oneof"`
}

type PrivacyAction4Print_Public2Privacy

type PrivacyAction4Print_Public2Privacy struct {
	Public2Privacy *Public2Privacy4Print `protobuf:"bytes,1,opt,name=public2privacy,proto3,oneof"`
}

type PrivacyAction_Privacy2Privacy

type PrivacyAction_Privacy2Privacy struct {
	Privacy2Privacy *Privacy2Privacy `protobuf:"bytes,2,opt,name=privacy2privacy,proto3,oneof"`
}

type PrivacyAction_Privacy2Public

type PrivacyAction_Privacy2Public struct {
	Privacy2Public *Privacy2Public `protobuf:"bytes,3,opt,name=privacy2public,proto3,oneof"`
}

type PrivacyAction_Public2Privacy

type PrivacyAction_Public2Privacy struct {
	Public2Privacy *Public2Privacy `protobuf:"bytes,1,opt,name=public2privacy,proto3,oneof"`
}

type PrivacyClient

type PrivacyClient interface {
	// Privacy Trading
	// 显示指定地址的公钥对信息,可以作为后续交易参数
	ShowPrivacyKey(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ReplyPrivacyPkPair, error)
	// 创建一系列UTXO
	CreateUTXOs(ctx context.Context, in *ReqCreateUTXOs, opts ...grpc.CallOption) (*types.Reply, error)
	// 扫描UTXO以及获取扫描UTXO后的状态
	RescanUtxos(ctx context.Context, in *ReqRescanUtxos, opts ...grpc.CallOption) (*RepRescanUtxos, error)
	// 使能隐私账户
	EnablePrivacy(ctx context.Context, in *ReqEnablePrivacy, opts ...grpc.CallOption) (*RepEnablePrivacy, error)
	// 创建隐私交易
	CreateRawTransaction(ctx context.Context, in *ReqCreatePrivacyTx, opts ...grpc.CallOption) (*types.Transaction, error)
}

PrivacyClient is the client API for Privacy service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPrivacyClient

func NewPrivacyClient(cc *grpc.ClientConn) PrivacyClient

type PrivacyDBStore

type PrivacyDBStore struct {
	Txhash               []byte   `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Tokenname            string   `protobuf:"bytes,2,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64    `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	OutIndex             int32    `protobuf:"varint,4,opt,name=outIndex,proto3" json:"outIndex,omitempty"`
	TxPublicKeyR         []byte   `protobuf:"bytes,5,opt,name=txPublicKeyR,proto3" json:"txPublicKeyR,omitempty"`
	OnetimePublicKey     []byte   `protobuf:"bytes,6,opt,name=onetimePublicKey,proto3" json:"onetimePublicKey,omitempty"`
	Owner                string   `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`
	Height               int64    `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"`
	Txindex              int32    `protobuf:"varint,9,opt,name=txindex,proto3" json:"txindex,omitempty"`
	Blockhash            []byte   `protobuf:"bytes,10,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrivacyDBStore) Descriptor

func (*PrivacyDBStore) Descriptor() ([]byte, []int)

func (*PrivacyDBStore) GetAmount

func (m *PrivacyDBStore) GetAmount() int64

func (*PrivacyDBStore) GetBlockhash

func (m *PrivacyDBStore) GetBlockhash() []byte

func (*PrivacyDBStore) GetHeight

func (m *PrivacyDBStore) GetHeight() int64

func (*PrivacyDBStore) GetOnetimePublicKey

func (m *PrivacyDBStore) GetOnetimePublicKey() []byte

func (*PrivacyDBStore) GetOutIndex

func (m *PrivacyDBStore) GetOutIndex() int32

func (*PrivacyDBStore) GetOwner

func (m *PrivacyDBStore) GetOwner() string

func (*PrivacyDBStore) GetTokenname

func (m *PrivacyDBStore) GetTokenname() string

func (*PrivacyDBStore) GetTxPublicKeyR

func (m *PrivacyDBStore) GetTxPublicKeyR() []byte

func (*PrivacyDBStore) GetTxhash

func (m *PrivacyDBStore) GetTxhash() []byte

func (*PrivacyDBStore) GetTxindex

func (m *PrivacyDBStore) GetTxindex() int32

func (*PrivacyDBStore) ProtoMessage

func (*PrivacyDBStore) ProtoMessage()

func (*PrivacyDBStore) Reset

func (m *PrivacyDBStore) Reset()

func (*PrivacyDBStore) String

func (m *PrivacyDBStore) String() string

func (*PrivacyDBStore) XXX_DiscardUnknown

func (m *PrivacyDBStore) XXX_DiscardUnknown()

func (*PrivacyDBStore) XXX_Marshal

func (m *PrivacyDBStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyDBStore) XXX_Merge

func (m *PrivacyDBStore) XXX_Merge(src proto.Message)

func (*PrivacyDBStore) XXX_Size

func (m *PrivacyDBStore) XXX_Size() int

func (*PrivacyDBStore) XXX_Unmarshal

func (m *PrivacyDBStore) XXX_Unmarshal(b []byte) error

type PrivacyInput

type PrivacyInput struct {
	Keyinput             []*KeyInput `protobuf:"bytes,1,rep,name=keyinput,proto3" json:"keyinput,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*PrivacyInput) Descriptor

func (*PrivacyInput) Descriptor() ([]byte, []int)

func (*PrivacyInput) GetKeyinput

func (m *PrivacyInput) GetKeyinput() []*KeyInput

func (*PrivacyInput) ProtoMessage

func (*PrivacyInput) ProtoMessage()

func (*PrivacyInput) Reset

func (m *PrivacyInput) Reset()

func (*PrivacyInput) String

func (m *PrivacyInput) String() string

func (*PrivacyInput) XXX_DiscardUnknown

func (m *PrivacyInput) XXX_DiscardUnknown()

func (*PrivacyInput) XXX_Marshal

func (m *PrivacyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyInput) XXX_Merge

func (m *PrivacyInput) XXX_Merge(src proto.Message)

func (*PrivacyInput) XXX_Size

func (m *PrivacyInput) XXX_Size() int

func (*PrivacyInput) XXX_Unmarshal

func (m *PrivacyInput) XXX_Unmarshal(b []byte) error

type PrivacyInput4Print

type PrivacyInput4Print struct {
	Keyinput             []*KeyInput4Print `protobuf:"bytes,1,rep,name=keyinput,proto3" json:"keyinput,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PrivacyInput4Print) Descriptor

func (*PrivacyInput4Print) Descriptor() ([]byte, []int)

func (*PrivacyInput4Print) GetKeyinput

func (m *PrivacyInput4Print) GetKeyinput() []*KeyInput4Print

func (*PrivacyInput4Print) ProtoMessage

func (*PrivacyInput4Print) ProtoMessage()

func (*PrivacyInput4Print) Reset

func (m *PrivacyInput4Print) Reset()

func (*PrivacyInput4Print) String

func (m *PrivacyInput4Print) String() string

func (*PrivacyInput4Print) XXX_DiscardUnknown

func (m *PrivacyInput4Print) XXX_DiscardUnknown()

func (*PrivacyInput4Print) XXX_Marshal

func (m *PrivacyInput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyInput4Print) XXX_Merge

func (m *PrivacyInput4Print) XXX_Merge(src proto.Message)

func (*PrivacyInput4Print) XXX_Size

func (m *PrivacyInput4Print) XXX_Size() int

func (*PrivacyInput4Print) XXX_Unmarshal

func (m *PrivacyInput4Print) XXX_Unmarshal(b []byte) error

type PrivacyOutput

type PrivacyOutput struct {
	RpubKeytx            []byte       `protobuf:"bytes,1,opt,name=RpubKeytx,proto3" json:"RpubKeytx,omitempty"`
	Keyoutput            []*KeyOutput `protobuf:"bytes,2,rep,name=keyoutput,proto3" json:"keyoutput,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*PrivacyOutput) Descriptor

func (*PrivacyOutput) Descriptor() ([]byte, []int)

func (*PrivacyOutput) GetKeyoutput

func (m *PrivacyOutput) GetKeyoutput() []*KeyOutput

func (*PrivacyOutput) GetRpubKeytx

func (m *PrivacyOutput) GetRpubKeytx() []byte

func (*PrivacyOutput) ProtoMessage

func (*PrivacyOutput) ProtoMessage()

func (*PrivacyOutput) Reset

func (m *PrivacyOutput) Reset()

func (*PrivacyOutput) String

func (m *PrivacyOutput) String() string

func (*PrivacyOutput) XXX_DiscardUnknown

func (m *PrivacyOutput) XXX_DiscardUnknown()

func (*PrivacyOutput) XXX_Marshal

func (m *PrivacyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyOutput) XXX_Merge

func (m *PrivacyOutput) XXX_Merge(src proto.Message)

func (*PrivacyOutput) XXX_Size

func (m *PrivacyOutput) XXX_Size() int

func (*PrivacyOutput) XXX_Unmarshal

func (m *PrivacyOutput) XXX_Unmarshal(b []byte) error

type PrivacyOutput4Print

type PrivacyOutput4Print struct {
	RpubKeytx            string             `protobuf:"bytes,1,opt,name=RpubKeytx,proto3" json:"RpubKeytx,omitempty"`
	Keyoutput            []*KeyOutput4Print `protobuf:"bytes,2,rep,name=keyoutput,proto3" json:"keyoutput,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*PrivacyOutput4Print) Descriptor

func (*PrivacyOutput4Print) Descriptor() ([]byte, []int)

func (*PrivacyOutput4Print) GetKeyoutput

func (m *PrivacyOutput4Print) GetKeyoutput() []*KeyOutput4Print

func (*PrivacyOutput4Print) GetRpubKeytx

func (m *PrivacyOutput4Print) GetRpubKeytx() string

func (*PrivacyOutput4Print) ProtoMessage

func (*PrivacyOutput4Print) ProtoMessage()

func (*PrivacyOutput4Print) Reset

func (m *PrivacyOutput4Print) Reset()

func (*PrivacyOutput4Print) String

func (m *PrivacyOutput4Print) String() string

func (*PrivacyOutput4Print) XXX_DiscardUnknown

func (m *PrivacyOutput4Print) XXX_DiscardUnknown()

func (*PrivacyOutput4Print) XXX_Marshal

func (m *PrivacyOutput4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacyOutput4Print) XXX_Merge

func (m *PrivacyOutput4Print) XXX_Merge(src proto.Message)

func (*PrivacyOutput4Print) XXX_Size

func (m *PrivacyOutput4Print) XXX_Size() int

func (*PrivacyOutput4Print) XXX_Unmarshal

func (m *PrivacyOutput4Print) XXX_Unmarshal(b []byte) error

type PrivacyServer

type PrivacyServer interface {
	// Privacy Trading
	// 显示指定地址的公钥对信息,可以作为后续交易参数
	ShowPrivacyKey(context.Context, *types.ReqString) (*ReplyPrivacyPkPair, error)
	// 创建一系列UTXO
	CreateUTXOs(context.Context, *ReqCreateUTXOs) (*types.Reply, error)
	// 扫描UTXO以及获取扫描UTXO后的状态
	RescanUtxos(context.Context, *ReqRescanUtxos) (*RepRescanUtxos, error)
	// 使能隐私账户
	EnablePrivacy(context.Context, *ReqEnablePrivacy) (*RepEnablePrivacy, error)
	// 创建隐私交易
	CreateRawTransaction(context.Context, *ReqCreatePrivacyTx) (*types.Transaction, error)
}

PrivacyServer is the server API for Privacy service.

type PrivacySignatureParam

type PrivacySignatureParam struct {
	ActionType           int32           `protobuf:"varint,1,opt,name=actionType,proto3" json:"actionType,omitempty"`
	Utxobasics           []*UTXOBasics   `protobuf:"bytes,2,rep,name=utxobasics,proto3" json:"utxobasics,omitempty"`
	RealKeyInputs        []*RealKeyInput `protobuf:"bytes,3,rep,name=realKeyInputs,proto3" json:"realKeyInputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

隐私交易三步发送时,临时存储签名需要的数据信息结构

func (*PrivacySignatureParam) Descriptor

func (*PrivacySignatureParam) Descriptor() ([]byte, []int)

func (*PrivacySignatureParam) GetActionType

func (m *PrivacySignatureParam) GetActionType() int32

func (*PrivacySignatureParam) GetRealKeyInputs

func (m *PrivacySignatureParam) GetRealKeyInputs() []*RealKeyInput

func (*PrivacySignatureParam) GetUtxobasics

func (m *PrivacySignatureParam) GetUtxobasics() []*UTXOBasics

func (*PrivacySignatureParam) ProtoMessage

func (*PrivacySignatureParam) ProtoMessage()

func (*PrivacySignatureParam) Reset

func (m *PrivacySignatureParam) Reset()

func (*PrivacySignatureParam) String

func (m *PrivacySignatureParam) String() string

func (*PrivacySignatureParam) XXX_DiscardUnknown

func (m *PrivacySignatureParam) XXX_DiscardUnknown()

func (*PrivacySignatureParam) XXX_Marshal

func (m *PrivacySignatureParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivacySignatureParam) XXX_Merge

func (m *PrivacySignatureParam) XXX_Merge(src proto.Message)

func (*PrivacySignatureParam) XXX_Size

func (m *PrivacySignatureParam) XXX_Size() int

func (*PrivacySignatureParam) XXX_Unmarshal

func (m *PrivacySignatureParam) XXX_Unmarshal(b []byte) error

type PrivacyType

type PrivacyType struct {
	types.ExecTypeBase
}

PrivacyType declare PrivacyType class

func NewType

func NewType() *PrivacyType

NewType create PrivacyType object

func (PrivacyType) ActionName

func (t PrivacyType) ActionName(tx *types.Transaction) string

ActionName get PrivacyType action name

func (*PrivacyType) Amount

func (t *PrivacyType) Amount(tx *types.Transaction) (int64, error)

Amount get amout

func (*PrivacyType) CreateTx

func (t *PrivacyType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)

CreateTx create transaction

func (*PrivacyType) GetCryptoDriver

func (t *PrivacyType) GetCryptoDriver(ty int) (string, error)

GetCryptoDriver get crypto driver

func (*PrivacyType) GetCryptoType

func (t *PrivacyType) GetCryptoType(name string) (int, error)

GetCryptoType get crypto type

func (*PrivacyType) GetLogMap

func (t *PrivacyType) GetLogMap() map[int64]*types.LogInfo

GetLogMap get PrivacyType log map

func (*PrivacyType) GetName

func (t *PrivacyType) GetName() string

GetName get PrivacyType name

func (*PrivacyType) GetPayload

func (t *PrivacyType) GetPayload() types.Message

GetPayload get PrivacyType payload

func (*PrivacyType) GetTypeMap

func (t *PrivacyType) GetTypeMap() map[string]int32

GetTypeMap get PrivacyType type map

type Public2Privacy

type Public2Privacy struct {
	Tokenname            string         `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64          `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string         `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Output               *PrivacyOutput `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Public2Privacy) Descriptor

func (*Public2Privacy) Descriptor() ([]byte, []int)

func (*Public2Privacy) GetAmount

func (m *Public2Privacy) GetAmount() int64

func (*Public2Privacy) GetNote

func (m *Public2Privacy) GetNote() string

func (*Public2Privacy) GetOutput

func (m *Public2Privacy) GetOutput() *PrivacyOutput

func (*Public2Privacy) GetTokenname

func (m *Public2Privacy) GetTokenname() string

func (*Public2Privacy) ProtoMessage

func (*Public2Privacy) ProtoMessage()

func (*Public2Privacy) Reset

func (m *Public2Privacy) Reset()

func (*Public2Privacy) String

func (m *Public2Privacy) String() string

func (*Public2Privacy) XXX_DiscardUnknown

func (m *Public2Privacy) XXX_DiscardUnknown()

func (*Public2Privacy) XXX_Marshal

func (m *Public2Privacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Public2Privacy) XXX_Merge

func (m *Public2Privacy) XXX_Merge(src proto.Message)

func (*Public2Privacy) XXX_Size

func (m *Public2Privacy) XXX_Size() int

func (*Public2Privacy) XXX_Unmarshal

func (m *Public2Privacy) XXX_Unmarshal(b []byte) error

type Public2Privacy4Print

type Public2Privacy4Print struct {
	Tokenname            string               `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64                `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string               `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Output               *PrivacyOutput4Print `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Public2Privacy4Print) Descriptor

func (*Public2Privacy4Print) Descriptor() ([]byte, []int)

func (*Public2Privacy4Print) GetAmount

func (m *Public2Privacy4Print) GetAmount() int64

func (*Public2Privacy4Print) GetNote

func (m *Public2Privacy4Print) GetNote() string

func (*Public2Privacy4Print) GetOutput

func (m *Public2Privacy4Print) GetOutput() *PrivacyOutput4Print

func (*Public2Privacy4Print) GetTokenname

func (m *Public2Privacy4Print) GetTokenname() string

func (*Public2Privacy4Print) ProtoMessage

func (*Public2Privacy4Print) ProtoMessage()

func (*Public2Privacy4Print) Reset

func (m *Public2Privacy4Print) Reset()

func (*Public2Privacy4Print) String

func (m *Public2Privacy4Print) String() string

func (*Public2Privacy4Print) XXX_DiscardUnknown

func (m *Public2Privacy4Print) XXX_DiscardUnknown()

func (*Public2Privacy4Print) XXX_Marshal

func (m *Public2Privacy4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Public2Privacy4Print) XXX_Merge

func (m *Public2Privacy4Print) XXX_Merge(src proto.Message)

func (*Public2Privacy4Print) XXX_Size

func (m *Public2Privacy4Print) XXX_Size() int

func (*Public2Privacy4Print) XXX_Unmarshal

func (m *Public2Privacy4Print) XXX_Unmarshal(b []byte) error

type PublicKeyData

type PublicKeyData struct {
	Data                 [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

一个公钥信息

func (*PublicKeyData) Descriptor

func (*PublicKeyData) Descriptor() ([]byte, []int)

func (*PublicKeyData) GetData

func (m *PublicKeyData) GetData() [][]byte

func (*PublicKeyData) ProtoMessage

func (*PublicKeyData) ProtoMessage()

func (*PublicKeyData) Reset

func (m *PublicKeyData) Reset()

func (*PublicKeyData) String

func (m *PublicKeyData) String() string

func (*PublicKeyData) XXX_DiscardUnknown

func (m *PublicKeyData) XXX_DiscardUnknown()

func (*PublicKeyData) XXX_Marshal

func (m *PublicKeyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKeyData) XXX_Merge

func (m *PublicKeyData) XXX_Merge(src proto.Message)

func (*PublicKeyData) XXX_Size

func (m *PublicKeyData) XXX_Size() int

func (*PublicKeyData) XXX_Unmarshal

func (m *PublicKeyData) XXX_Unmarshal(b []byte) error

type RealKeyInput

type RealKeyInput struct {
	Realinputkey         int32    `protobuf:"varint,1,opt,name=realinputkey,proto3" json:"realinputkey,omitempty"`
	Onetimeprivkey       []byte   `protobuf:"bytes,2,opt,name=onetimeprivkey,proto3" json:"onetimeprivkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RealKeyInput) Descriptor

func (*RealKeyInput) Descriptor() ([]byte, []int)

func (*RealKeyInput) GetOnetimeprivkey

func (m *RealKeyInput) GetOnetimeprivkey() []byte

func (*RealKeyInput) GetRealinputkey

func (m *RealKeyInput) GetRealinputkey() int32

func (*RealKeyInput) ProtoMessage

func (*RealKeyInput) ProtoMessage()

func (*RealKeyInput) Reset

func (m *RealKeyInput) Reset()

func (*RealKeyInput) String

func (m *RealKeyInput) String() string

func (*RealKeyInput) XXX_DiscardUnknown

func (m *RealKeyInput) XXX_DiscardUnknown()

func (*RealKeyInput) XXX_Marshal

func (m *RealKeyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RealKeyInput) XXX_Merge

func (m *RealKeyInput) XXX_Merge(src proto.Message)

func (*RealKeyInput) XXX_Size

func (m *RealKeyInput) XXX_Size() int

func (*RealKeyInput) XXX_Unmarshal

func (m *RealKeyInput) XXX_Unmarshal(b []byte) error

type ReceiptPrivacyOutput

type ReceiptPrivacyOutput struct {
	Token                string       `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Keyoutput            []*KeyOutput `protobuf:"bytes,2,rep,name=keyoutput,proto3" json:"keyoutput,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ReceiptPrivacyOutput) Descriptor

func (*ReceiptPrivacyOutput) Descriptor() ([]byte, []int)

func (*ReceiptPrivacyOutput) GetKeyoutput

func (m *ReceiptPrivacyOutput) GetKeyoutput() []*KeyOutput

func (*ReceiptPrivacyOutput) GetToken

func (m *ReceiptPrivacyOutput) GetToken() string

func (*ReceiptPrivacyOutput) ProtoMessage

func (*ReceiptPrivacyOutput) ProtoMessage()

func (*ReceiptPrivacyOutput) Reset

func (m *ReceiptPrivacyOutput) Reset()

func (*ReceiptPrivacyOutput) String

func (m *ReceiptPrivacyOutput) String() string

func (*ReceiptPrivacyOutput) XXX_DiscardUnknown

func (m *ReceiptPrivacyOutput) XXX_DiscardUnknown()

func (*ReceiptPrivacyOutput) XXX_Marshal

func (m *ReceiptPrivacyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptPrivacyOutput) XXX_Merge

func (m *ReceiptPrivacyOutput) XXX_Merge(src proto.Message)

func (*ReceiptPrivacyOutput) XXX_Size

func (m *ReceiptPrivacyOutput) XXX_Size() int

func (*ReceiptPrivacyOutput) XXX_Unmarshal

func (m *ReceiptPrivacyOutput) XXX_Unmarshal(b []byte) error

type RepEnablePrivacy

type RepEnablePrivacy struct {
	Results              []*PriAddrResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*RepEnablePrivacy) Descriptor

func (*RepEnablePrivacy) Descriptor() ([]byte, []int)

func (*RepEnablePrivacy) GetResults

func (m *RepEnablePrivacy) GetResults() []*PriAddrResult

func (*RepEnablePrivacy) ProtoMessage

func (*RepEnablePrivacy) ProtoMessage()

func (*RepEnablePrivacy) Reset

func (m *RepEnablePrivacy) Reset()

func (*RepEnablePrivacy) String

func (m *RepEnablePrivacy) String() string

func (*RepEnablePrivacy) XXX_DiscardUnknown

func (m *RepEnablePrivacy) XXX_DiscardUnknown()

func (*RepEnablePrivacy) XXX_Marshal

func (m *RepEnablePrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepEnablePrivacy) XXX_Merge

func (m *RepEnablePrivacy) XXX_Merge(src proto.Message)

func (*RepEnablePrivacy) XXX_Size

func (m *RepEnablePrivacy) XXX_Size() int

func (*RepEnablePrivacy) XXX_Unmarshal

func (m *RepEnablePrivacy) XXX_Unmarshal(b []byte) error

type RepRescanResult

type RepRescanResult struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Flag                 int32    `protobuf:"varint,2,opt,name=flag,proto3" json:"flag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RepRescanResult) Descriptor

func (*RepRescanResult) Descriptor() ([]byte, []int)

func (*RepRescanResult) GetAddr

func (m *RepRescanResult) GetAddr() string

func (*RepRescanResult) GetFlag

func (m *RepRescanResult) GetFlag() int32

func (*RepRescanResult) ProtoMessage

func (*RepRescanResult) ProtoMessage()

func (*RepRescanResult) Reset

func (m *RepRescanResult) Reset()

func (*RepRescanResult) String

func (m *RepRescanResult) String() string

func (*RepRescanResult) XXX_DiscardUnknown

func (m *RepRescanResult) XXX_DiscardUnknown()

func (*RepRescanResult) XXX_Marshal

func (m *RepRescanResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepRescanResult) XXX_Merge

func (m *RepRescanResult) XXX_Merge(src proto.Message)

func (*RepRescanResult) XXX_Size

func (m *RepRescanResult) XXX_Size() int

func (*RepRescanResult) XXX_Unmarshal

func (m *RepRescanResult) XXX_Unmarshal(b []byte) error

type RepRescanUtxos

type RepRescanUtxos struct {
	Flag                 int32              `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"`
	RepRescanResults     []*RepRescanResult `protobuf:"bytes,2,rep,name=repRescanResults,proto3" json:"repRescanResults,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*RepRescanUtxos) Descriptor

func (*RepRescanUtxos) Descriptor() ([]byte, []int)

func (*RepRescanUtxos) GetFlag

func (m *RepRescanUtxos) GetFlag() int32

func (*RepRescanUtxos) GetRepRescanResults

func (m *RepRescanUtxos) GetRepRescanResults() []*RepRescanResult

func (*RepRescanUtxos) ProtoMessage

func (*RepRescanUtxos) ProtoMessage()

func (*RepRescanUtxos) Reset

func (m *RepRescanUtxos) Reset()

func (*RepRescanUtxos) String

func (m *RepRescanUtxos) String() string

func (*RepRescanUtxos) XXX_DiscardUnknown

func (m *RepRescanUtxos) XXX_DiscardUnknown()

func (*RepRescanUtxos) XXX_Marshal

func (m *RepRescanUtxos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepRescanUtxos) XXX_Merge

func (m *RepRescanUtxos) XXX_Merge(src proto.Message)

func (*RepRescanUtxos) XXX_Size

func (m *RepRescanUtxos) XXX_Size() int

func (*RepRescanUtxos) XXX_Unmarshal

func (m *RepRescanUtxos) XXX_Unmarshal(b []byte) error

type ReplyCacheTxList

type ReplyCacheTxList struct {
	Txs                  []*types.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ReplyCacheTxList) Descriptor

func (*ReplyCacheTxList) Descriptor() ([]byte, []int)

func (*ReplyCacheTxList) GetTxs

func (m *ReplyCacheTxList) GetTxs() []*types.Transaction

func (*ReplyCacheTxList) ProtoMessage

func (*ReplyCacheTxList) ProtoMessage()

func (*ReplyCacheTxList) Reset

func (m *ReplyCacheTxList) Reset()

func (*ReplyCacheTxList) String

func (m *ReplyCacheTxList) String() string

func (*ReplyCacheTxList) XXX_DiscardUnknown

func (m *ReplyCacheTxList) XXX_DiscardUnknown()

func (*ReplyCacheTxList) XXX_Marshal

func (m *ReplyCacheTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyCacheTxList) XXX_Merge

func (m *ReplyCacheTxList) XXX_Merge(src proto.Message)

func (*ReplyCacheTxList) XXX_Size

func (m *ReplyCacheTxList) XXX_Size() int

func (*ReplyCacheTxList) XXX_Unmarshal

func (m *ReplyCacheTxList) XXX_Unmarshal(b []byte) error

type ReplyPrivacyAccount

type ReplyPrivacyAccount struct {
	// 未花费的UTXO
	Utxos *UTXOs `protobuf:"bytes,1,opt,name=utxos,proto3" json:"utxos,omitempty"`
	// 冻结的UTXO
	Ftxos                *UTXOs   `protobuf:"bytes,2,opt,name=ftxos,proto3" json:"ftxos,omitempty"`
	Displaymode          int32    `protobuf:"varint,3,opt,name=displaymode,proto3" json:"displaymode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

请求隐私账户信息的应答

func (*ReplyPrivacyAccount) Descriptor

func (*ReplyPrivacyAccount) Descriptor() ([]byte, []int)

func (*ReplyPrivacyAccount) GetDisplaymode

func (m *ReplyPrivacyAccount) GetDisplaymode() int32

func (*ReplyPrivacyAccount) GetFtxos

func (m *ReplyPrivacyAccount) GetFtxos() *UTXOs

func (*ReplyPrivacyAccount) GetUtxos

func (m *ReplyPrivacyAccount) GetUtxos() *UTXOs

func (*ReplyPrivacyAccount) ProtoMessage

func (*ReplyPrivacyAccount) ProtoMessage()

func (*ReplyPrivacyAccount) Reset

func (m *ReplyPrivacyAccount) Reset()

func (*ReplyPrivacyAccount) String

func (m *ReplyPrivacyAccount) String() string

func (*ReplyPrivacyAccount) XXX_DiscardUnknown

func (m *ReplyPrivacyAccount) XXX_DiscardUnknown()

func (*ReplyPrivacyAccount) XXX_Marshal

func (m *ReplyPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyPrivacyAccount) XXX_Merge

func (m *ReplyPrivacyAccount) XXX_Merge(src proto.Message)

func (*ReplyPrivacyAccount) XXX_Size

func (m *ReplyPrivacyAccount) XXX_Size() int

func (*ReplyPrivacyAccount) XXX_Unmarshal

func (m *ReplyPrivacyAccount) XXX_Unmarshal(b []byte) error

type ReplyPrivacyAmounts

type ReplyPrivacyAmounts struct {
	AmountDetail         []*AmountDetail `protobuf:"bytes,1,rep,name=amountDetail,proto3" json:"amountDetail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReplyPrivacyAmounts) Descriptor

func (*ReplyPrivacyAmounts) Descriptor() ([]byte, []int)

func (*ReplyPrivacyAmounts) GetAmountDetail

func (m *ReplyPrivacyAmounts) GetAmountDetail() []*AmountDetail

func (*ReplyPrivacyAmounts) ProtoMessage

func (*ReplyPrivacyAmounts) ProtoMessage()

func (*ReplyPrivacyAmounts) Reset

func (m *ReplyPrivacyAmounts) Reset()

func (*ReplyPrivacyAmounts) String

func (m *ReplyPrivacyAmounts) String() string

func (*ReplyPrivacyAmounts) XXX_DiscardUnknown

func (m *ReplyPrivacyAmounts) XXX_DiscardUnknown()

func (*ReplyPrivacyAmounts) XXX_Marshal

func (m *ReplyPrivacyAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyPrivacyAmounts) XXX_Merge

func (m *ReplyPrivacyAmounts) XXX_Merge(src proto.Message)

func (*ReplyPrivacyAmounts) XXX_Size

func (m *ReplyPrivacyAmounts) XXX_Size() int

func (*ReplyPrivacyAmounts) XXX_Unmarshal

func (m *ReplyPrivacyAmounts) XXX_Unmarshal(b []byte) error

type ReplyPrivacyBalance

type ReplyPrivacyBalance struct {
	Onetimeaddr          string   `protobuf:"bytes,1,opt,name=onetimeaddr,proto3" json:"onetimeaddr,omitempty"`
	Balance              int64    `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReplyPrivacyBalance) Descriptor

func (*ReplyPrivacyBalance) Descriptor() ([]byte, []int)

func (*ReplyPrivacyBalance) GetBalance

func (m *ReplyPrivacyBalance) GetBalance() int64

func (*ReplyPrivacyBalance) GetOnetimeaddr

func (m *ReplyPrivacyBalance) GetOnetimeaddr() string

func (*ReplyPrivacyBalance) ProtoMessage

func (*ReplyPrivacyBalance) ProtoMessage()

func (*ReplyPrivacyBalance) Reset

func (m *ReplyPrivacyBalance) Reset()

func (*ReplyPrivacyBalance) String

func (m *ReplyPrivacyBalance) String() string

func (*ReplyPrivacyBalance) XXX_DiscardUnknown

func (m *ReplyPrivacyBalance) XXX_DiscardUnknown()

func (*ReplyPrivacyBalance) XXX_Marshal

func (m *ReplyPrivacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyPrivacyBalance) XXX_Merge

func (m *ReplyPrivacyBalance) XXX_Merge(src proto.Message)

func (*ReplyPrivacyBalance) XXX_Size

func (m *ReplyPrivacyBalance) XXX_Size() int

func (*ReplyPrivacyBalance) XXX_Unmarshal

func (m *ReplyPrivacyBalance) XXX_Unmarshal(b []byte) error

type ReplyPrivacyPkPair

type ReplyPrivacyPkPair struct {
	ShowSuccessful bool `protobuf:"varint,1,opt,name=showSuccessful,proto3" json:"showSuccessful,omitempty"`
	// string viewPub       = 2;
	// string spendPub      = 3;
	Pubkeypair           string   `protobuf:"bytes,4,opt,name=pubkeypair,proto3" json:"pubkeypair,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReplyPrivacyPkPair) Descriptor

func (*ReplyPrivacyPkPair) Descriptor() ([]byte, []int)

func (*ReplyPrivacyPkPair) GetPubkeypair

func (m *ReplyPrivacyPkPair) GetPubkeypair() string

func (*ReplyPrivacyPkPair) GetShowSuccessful

func (m *ReplyPrivacyPkPair) GetShowSuccessful() bool

func (*ReplyPrivacyPkPair) ProtoMessage

func (*ReplyPrivacyPkPair) ProtoMessage()

func (*ReplyPrivacyPkPair) Reset

func (m *ReplyPrivacyPkPair) Reset()

func (*ReplyPrivacyPkPair) String

func (m *ReplyPrivacyPkPair) String() string

func (*ReplyPrivacyPkPair) XXX_DiscardUnknown

func (m *ReplyPrivacyPkPair) XXX_DiscardUnknown()

func (*ReplyPrivacyPkPair) XXX_Marshal

func (m *ReplyPrivacyPkPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyPrivacyPkPair) XXX_Merge

func (m *ReplyPrivacyPkPair) XXX_Merge(src proto.Message)

func (*ReplyPrivacyPkPair) XXX_Size

func (m *ReplyPrivacyPkPair) XXX_Size() int

func (*ReplyPrivacyPkPair) XXX_Unmarshal

func (m *ReplyPrivacyPkPair) XXX_Unmarshal(b []byte) error

type ReplyUTXOsOfAmount

type ReplyUTXOsOfAmount struct {
	LocalUTXOItems       []*LocalUTXOItem `protobuf:"bytes,1,rep,name=localUTXOItems,proto3" json:"localUTXOItems,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ReplyUTXOsOfAmount) Descriptor

func (*ReplyUTXOsOfAmount) Descriptor() ([]byte, []int)

func (*ReplyUTXOsOfAmount) GetLocalUTXOItems

func (m *ReplyUTXOsOfAmount) GetLocalUTXOItems() []*LocalUTXOItem

func (*ReplyUTXOsOfAmount) ProtoMessage

func (*ReplyUTXOsOfAmount) ProtoMessage()

func (*ReplyUTXOsOfAmount) Reset

func (m *ReplyUTXOsOfAmount) Reset()

func (*ReplyUTXOsOfAmount) String

func (m *ReplyUTXOsOfAmount) String() string

func (*ReplyUTXOsOfAmount) XXX_DiscardUnknown

func (m *ReplyUTXOsOfAmount) XXX_DiscardUnknown()

func (*ReplyUTXOsOfAmount) XXX_Marshal

func (m *ReplyUTXOsOfAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyUTXOsOfAmount) XXX_Merge

func (m *ReplyUTXOsOfAmount) XXX_Merge(src proto.Message)

func (*ReplyUTXOsOfAmount) XXX_Size

func (m *ReplyUTXOsOfAmount) XXX_Size() int

func (*ReplyUTXOsOfAmount) XXX_Unmarshal

func (m *ReplyUTXOsOfAmount) XXX_Unmarshal(b []byte) error

type ReqCacheTxList

type ReqCacheTxList struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Tokenname            string   `protobuf:"bytes,2,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqCacheTxList) Descriptor

func (*ReqCacheTxList) Descriptor() ([]byte, []int)

func (*ReqCacheTxList) GetAddr

func (m *ReqCacheTxList) GetAddr() string

func (*ReqCacheTxList) GetTokenname

func (m *ReqCacheTxList) GetTokenname() string

func (*ReqCacheTxList) ProtoMessage

func (*ReqCacheTxList) ProtoMessage()

func (*ReqCacheTxList) Reset

func (m *ReqCacheTxList) Reset()

func (*ReqCacheTxList) String

func (m *ReqCacheTxList) String() string

func (*ReqCacheTxList) XXX_DiscardUnknown

func (m *ReqCacheTxList) XXX_DiscardUnknown()

func (*ReqCacheTxList) XXX_Marshal

func (m *ReqCacheTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCacheTxList) XXX_Merge

func (m *ReqCacheTxList) XXX_Merge(src proto.Message)

func (*ReqCacheTxList) XXX_Size

func (m *ReqCacheTxList) XXX_Size() int

func (*ReqCacheTxList) XXX_Unmarshal

func (m *ReqCacheTxList) XXX_Unmarshal(b []byte) error

type ReqCreateCacheTxKey

type ReqCreateCacheTxKey struct {
	Tokenname            string   `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Hashkey              []byte   `protobuf:"bytes,2,opt,name=hashkey,proto3" json:"hashkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqCreateCacheTxKey) Descriptor

func (*ReqCreateCacheTxKey) Descriptor() ([]byte, []int)

func (*ReqCreateCacheTxKey) GetHashkey

func (m *ReqCreateCacheTxKey) GetHashkey() []byte

func (*ReqCreateCacheTxKey) GetTokenname

func (m *ReqCreateCacheTxKey) GetTokenname() string

func (*ReqCreateCacheTxKey) ProtoMessage

func (*ReqCreateCacheTxKey) ProtoMessage()

func (*ReqCreateCacheTxKey) Reset

func (m *ReqCreateCacheTxKey) Reset()

func (*ReqCreateCacheTxKey) String

func (m *ReqCreateCacheTxKey) String() string

func (*ReqCreateCacheTxKey) XXX_DiscardUnknown

func (m *ReqCreateCacheTxKey) XXX_DiscardUnknown()

func (*ReqCreateCacheTxKey) XXX_Marshal

func (m *ReqCreateCacheTxKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateCacheTxKey) XXX_Merge

func (m *ReqCreateCacheTxKey) XXX_Merge(src proto.Message)

func (*ReqCreateCacheTxKey) XXX_Size

func (m *ReqCreateCacheTxKey) XXX_Size() int

func (*ReqCreateCacheTxKey) XXX_Unmarshal

func (m *ReqCreateCacheTxKey) XXX_Unmarshal(b []byte) error

type ReqCreatePrivacyTx

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 (*ReqCreatePrivacyTx) Descriptor

func (*ReqCreatePrivacyTx) Descriptor() ([]byte, []int)

func (*ReqCreatePrivacyTx) GetAmount

func (m *ReqCreatePrivacyTx) GetAmount() int64

func (*ReqCreatePrivacyTx) GetExpire

func (m *ReqCreatePrivacyTx) GetExpire() int64

func (*ReqCreatePrivacyTx) GetFrom

func (m *ReqCreatePrivacyTx) GetFrom() string

func (*ReqCreatePrivacyTx) GetMixcount

func (m *ReqCreatePrivacyTx) GetMixcount() int32

func (*ReqCreatePrivacyTx) GetNote

func (m *ReqCreatePrivacyTx) GetNote() string

func (*ReqCreatePrivacyTx) GetPubkeypair

func (m *ReqCreatePrivacyTx) GetPubkeypair() string

func (*ReqCreatePrivacyTx) GetTo

func (m *ReqCreatePrivacyTx) GetTo() string

func (*ReqCreatePrivacyTx) GetTokenname

func (m *ReqCreatePrivacyTx) GetTokenname() string

func (*ReqCreatePrivacyTx) GetType

func (m *ReqCreatePrivacyTx) GetType() int32

func (*ReqCreatePrivacyTx) ProtoMessage

func (*ReqCreatePrivacyTx) ProtoMessage()

func (*ReqCreatePrivacyTx) Reset

func (m *ReqCreatePrivacyTx) Reset()

func (*ReqCreatePrivacyTx) String

func (m *ReqCreatePrivacyTx) String() string

func (*ReqCreatePrivacyTx) XXX_DiscardUnknown

func (m *ReqCreatePrivacyTx) XXX_DiscardUnknown()

func (*ReqCreatePrivacyTx) XXX_Marshal

func (m *ReqCreatePrivacyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreatePrivacyTx) XXX_Merge

func (m *ReqCreatePrivacyTx) XXX_Merge(src proto.Message)

func (*ReqCreatePrivacyTx) XXX_Size

func (m *ReqCreatePrivacyTx) XXX_Size() int

func (*ReqCreatePrivacyTx) XXX_Unmarshal

func (m *ReqCreatePrivacyTx) XXX_Unmarshal(b []byte) error

type ReqCreateUTXOs

type ReqCreateUTXOs struct {
	// string viewPublic  = 1; //接收人可见公钥A
	// string spendPublic = 2; //接收人花费公钥B
	Tokenname            string   `protobuf:"bytes,3,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Amount               int64    `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string   `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Sender               string   `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
	Count                int32    `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`
	Pubkeypair           string   `protobuf:"bytes,8,opt,name=pubkeypair,proto3" json:"pubkeypair,omitempty"`
	Expire               int64    `protobuf:"varint,9,opt,name=expire,proto3" json:"expire,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqCreateUTXOs) Descriptor

func (*ReqCreateUTXOs) Descriptor() ([]byte, []int)

func (*ReqCreateUTXOs) GetAmount

func (m *ReqCreateUTXOs) GetAmount() int64

func (*ReqCreateUTXOs) GetCount

func (m *ReqCreateUTXOs) GetCount() int32

func (*ReqCreateUTXOs) GetExpire

func (m *ReqCreateUTXOs) GetExpire() int64

func (*ReqCreateUTXOs) GetNote

func (m *ReqCreateUTXOs) GetNote() string

func (*ReqCreateUTXOs) GetPubkeypair

func (m *ReqCreateUTXOs) GetPubkeypair() string

func (*ReqCreateUTXOs) GetSender

func (m *ReqCreateUTXOs) GetSender() string

func (*ReqCreateUTXOs) GetTokenname

func (m *ReqCreateUTXOs) GetTokenname() string

func (*ReqCreateUTXOs) ProtoMessage

func (*ReqCreateUTXOs) ProtoMessage()

func (*ReqCreateUTXOs) Reset

func (m *ReqCreateUTXOs) Reset()

func (*ReqCreateUTXOs) String

func (m *ReqCreateUTXOs) String() string

func (*ReqCreateUTXOs) XXX_DiscardUnknown

func (m *ReqCreateUTXOs) XXX_DiscardUnknown()

func (*ReqCreateUTXOs) XXX_Marshal

func (m *ReqCreateUTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqCreateUTXOs) XXX_Merge

func (m *ReqCreateUTXOs) XXX_Merge(src proto.Message)

func (*ReqCreateUTXOs) XXX_Size

func (m *ReqCreateUTXOs) XXX_Size() int

func (*ReqCreateUTXOs) XXX_Unmarshal

func (m *ReqCreateUTXOs) XXX_Unmarshal(b []byte) error

type ReqEnablePrivacy

type ReqEnablePrivacy struct {
	Addrs                []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqEnablePrivacy) Descriptor

func (*ReqEnablePrivacy) Descriptor() ([]byte, []int)

func (*ReqEnablePrivacy) GetAddrs

func (m *ReqEnablePrivacy) GetAddrs() []string

func (*ReqEnablePrivacy) ProtoMessage

func (*ReqEnablePrivacy) ProtoMessage()

func (*ReqEnablePrivacy) Reset

func (m *ReqEnablePrivacy) Reset()

func (*ReqEnablePrivacy) String

func (m *ReqEnablePrivacy) String() string

func (*ReqEnablePrivacy) XXX_DiscardUnknown

func (m *ReqEnablePrivacy) XXX_DiscardUnknown()

func (*ReqEnablePrivacy) XXX_Marshal

func (m *ReqEnablePrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqEnablePrivacy) XXX_Merge

func (m *ReqEnablePrivacy) XXX_Merge(src proto.Message)

func (*ReqEnablePrivacy) XXX_Size

func (m *ReqEnablePrivacy) XXX_Size() int

func (*ReqEnablePrivacy) XXX_Unmarshal

func (m *ReqEnablePrivacy) XXX_Unmarshal(b []byte) error

type ReqPPrivacyAccount

type ReqPPrivacyAccount struct {
	Addr  string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// 设定显示的数据类型信息
	// 0: 只显示账户的数值信息
	// 1: 显示UTXO明细
	// 2: 显示FTXO明细
	// 3: 全部显示
	Displaymode          int32    `protobuf:"varint,3,opt,name=displaymode,proto3" json:"displaymode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqPPrivacyAccount) Descriptor

func (*ReqPPrivacyAccount) Descriptor() ([]byte, []int)

func (*ReqPPrivacyAccount) GetAddr

func (m *ReqPPrivacyAccount) GetAddr() string

func (*ReqPPrivacyAccount) GetDisplaymode

func (m *ReqPPrivacyAccount) GetDisplaymode() int32

func (*ReqPPrivacyAccount) GetToken

func (m *ReqPPrivacyAccount) GetToken() string

func (*ReqPPrivacyAccount) ProtoMessage

func (*ReqPPrivacyAccount) ProtoMessage()

func (*ReqPPrivacyAccount) Reset

func (m *ReqPPrivacyAccount) Reset()

func (*ReqPPrivacyAccount) String

func (m *ReqPPrivacyAccount) String() string

func (*ReqPPrivacyAccount) XXX_DiscardUnknown

func (m *ReqPPrivacyAccount) XXX_DiscardUnknown()

func (*ReqPPrivacyAccount) XXX_Marshal

func (m *ReqPPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqPPrivacyAccount) XXX_Merge

func (m *ReqPPrivacyAccount) XXX_Merge(src proto.Message)

func (*ReqPPrivacyAccount) XXX_Size

func (m *ReqPPrivacyAccount) XXX_Size() int

func (*ReqPPrivacyAccount) XXX_Unmarshal

func (m *ReqPPrivacyAccount) XXX_Unmarshal(b []byte) error

type ReqPrivBal4AddrToken

type ReqPrivBal4AddrToken struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Token                string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqPrivBal4AddrToken) Descriptor

func (*ReqPrivBal4AddrToken) Descriptor() ([]byte, []int)

func (*ReqPrivBal4AddrToken) GetAddr

func (m *ReqPrivBal4AddrToken) GetAddr() string

func (*ReqPrivBal4AddrToken) GetToken

func (m *ReqPrivBal4AddrToken) GetToken() string

func (*ReqPrivBal4AddrToken) ProtoMessage

func (*ReqPrivBal4AddrToken) ProtoMessage()

func (*ReqPrivBal4AddrToken) Reset

func (m *ReqPrivBal4AddrToken) Reset()

func (*ReqPrivBal4AddrToken) String

func (m *ReqPrivBal4AddrToken) String() string

func (*ReqPrivBal4AddrToken) XXX_DiscardUnknown

func (m *ReqPrivBal4AddrToken) XXX_DiscardUnknown()

func (*ReqPrivBal4AddrToken) XXX_Marshal

func (m *ReqPrivBal4AddrToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqPrivBal4AddrToken) XXX_Merge

func (m *ReqPrivBal4AddrToken) XXX_Merge(src proto.Message)

func (*ReqPrivBal4AddrToken) XXX_Size

func (m *ReqPrivBal4AddrToken) XXX_Size() int

func (*ReqPrivBal4AddrToken) XXX_Unmarshal

func (m *ReqPrivBal4AddrToken) XXX_Unmarshal(b []byte) error

type ReqPrivacyAccount

type ReqPrivacyAccount struct {
	Tokenname            string   `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqPrivacyAccount) Descriptor

func (*ReqPrivacyAccount) Descriptor() ([]byte, []int)

func (*ReqPrivacyAccount) GetAddr

func (m *ReqPrivacyAccount) GetAddr() string

func (*ReqPrivacyAccount) GetTokenname

func (m *ReqPrivacyAccount) GetTokenname() string

func (*ReqPrivacyAccount) ProtoMessage

func (*ReqPrivacyAccount) ProtoMessage()

func (*ReqPrivacyAccount) Reset

func (m *ReqPrivacyAccount) Reset()

func (*ReqPrivacyAccount) String

func (m *ReqPrivacyAccount) String() string

func (*ReqPrivacyAccount) XXX_DiscardUnknown

func (m *ReqPrivacyAccount) XXX_DiscardUnknown()

func (*ReqPrivacyAccount) XXX_Marshal

func (m *ReqPrivacyAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqPrivacyAccount) XXX_Merge

func (m *ReqPrivacyAccount) XXX_Merge(src proto.Message)

func (*ReqPrivacyAccount) XXX_Size

func (m *ReqPrivacyAccount) XXX_Size() int

func (*ReqPrivacyAccount) XXX_Unmarshal

func (m *ReqPrivacyAccount) XXX_Unmarshal(b []byte) error

type ReqPrivacyToken

type ReqPrivacyToken struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqPrivacyToken) Descriptor

func (*ReqPrivacyToken) Descriptor() ([]byte, []int)

func (*ReqPrivacyToken) GetAmount

func (m *ReqPrivacyToken) GetAmount() int64

func (*ReqPrivacyToken) GetToken

func (m *ReqPrivacyToken) GetToken() string

func (*ReqPrivacyToken) ProtoMessage

func (*ReqPrivacyToken) ProtoMessage()

func (*ReqPrivacyToken) Reset

func (m *ReqPrivacyToken) Reset()

func (*ReqPrivacyToken) String

func (m *ReqPrivacyToken) String() string

func (*ReqPrivacyToken) XXX_DiscardUnknown

func (m *ReqPrivacyToken) XXX_DiscardUnknown()

func (*ReqPrivacyToken) XXX_Marshal

func (m *ReqPrivacyToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqPrivacyToken) XXX_Merge

func (m *ReqPrivacyToken) XXX_Merge(src proto.Message)

func (*ReqPrivacyToken) XXX_Size

func (m *ReqPrivacyToken) XXX_Size() int

func (*ReqPrivacyToken) XXX_Unmarshal

func (m *ReqPrivacyToken) XXX_Unmarshal(b []byte) error

type ReqPrivacyTransactionList

type ReqPrivacyTransactionList struct {
	// support BTY
	Tokenname string `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	// 1:sendtx  2:recvtx
	SendRecvFlag         int32    `protobuf:"varint,2,opt,name=sendRecvFlag,proto3" json:"sendRecvFlag,omitempty"`
	Direction            int32    `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"`
	Count                int32    `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	From                 string   `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
	Address              string   `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	Seedtxhash           []byte   `protobuf:"bytes,7,opt,name=seedtxhash,proto3" json:"seedtxhash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

get privacy transaction list in wallet

func (*ReqPrivacyTransactionList) Descriptor

func (*ReqPrivacyTransactionList) Descriptor() ([]byte, []int)

func (*ReqPrivacyTransactionList) GetAddress

func (m *ReqPrivacyTransactionList) GetAddress() string

func (*ReqPrivacyTransactionList) GetCount

func (m *ReqPrivacyTransactionList) GetCount() int32

func (*ReqPrivacyTransactionList) GetDirection

func (m *ReqPrivacyTransactionList) GetDirection() int32

func (*ReqPrivacyTransactionList) GetFrom

func (m *ReqPrivacyTransactionList) GetFrom() string

func (*ReqPrivacyTransactionList) GetSeedtxhash

func (m *ReqPrivacyTransactionList) GetSeedtxhash() []byte

func (*ReqPrivacyTransactionList) GetSendRecvFlag

func (m *ReqPrivacyTransactionList) GetSendRecvFlag() int32

func (*ReqPrivacyTransactionList) GetTokenname

func (m *ReqPrivacyTransactionList) GetTokenname() string

func (*ReqPrivacyTransactionList) ProtoMessage

func (*ReqPrivacyTransactionList) ProtoMessage()

func (*ReqPrivacyTransactionList) Reset

func (m *ReqPrivacyTransactionList) Reset()

func (*ReqPrivacyTransactionList) String

func (m *ReqPrivacyTransactionList) String() string

func (*ReqPrivacyTransactionList) XXX_DiscardUnknown

func (m *ReqPrivacyTransactionList) XXX_DiscardUnknown()

func (*ReqPrivacyTransactionList) XXX_Marshal

func (m *ReqPrivacyTransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqPrivacyTransactionList) XXX_Merge

func (m *ReqPrivacyTransactionList) XXX_Merge(src proto.Message)

func (*ReqPrivacyTransactionList) XXX_Size

func (m *ReqPrivacyTransactionList) XXX_Size() int

func (*ReqPrivacyTransactionList) XXX_Unmarshal

func (m *ReqPrivacyTransactionList) XXX_Unmarshal(b []byte) error

type ReqRescanUtxos

type ReqRescanUtxos struct {
	Addrs                []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	Flag                 int32    `protobuf:"varint,2,opt,name=flag,proto3" json:"flag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqRescanUtxos) Descriptor

func (*ReqRescanUtxos) Descriptor() ([]byte, []int)

func (*ReqRescanUtxos) GetAddrs

func (m *ReqRescanUtxos) GetAddrs() []string

func (*ReqRescanUtxos) GetFlag

func (m *ReqRescanUtxos) GetFlag() int32

func (*ReqRescanUtxos) ProtoMessage

func (*ReqRescanUtxos) ProtoMessage()

func (*ReqRescanUtxos) Reset

func (m *ReqRescanUtxos) Reset()

func (*ReqRescanUtxos) String

func (m *ReqRescanUtxos) String() string

func (*ReqRescanUtxos) XXX_DiscardUnknown

func (m *ReqRescanUtxos) XXX_DiscardUnknown()

func (*ReqRescanUtxos) XXX_Marshal

func (m *ReqRescanUtxos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqRescanUtxos) XXX_Merge

func (m *ReqRescanUtxos) XXX_Merge(src proto.Message)

func (*ReqRescanUtxos) XXX_Size

func (m *ReqRescanUtxos) XXX_Size() int

func (*ReqRescanUtxos) XXX_Unmarshal

func (m *ReqRescanUtxos) XXX_Unmarshal(b []byte) error

type ReqUTXOGlobalIndex

type ReqUTXOGlobalIndex struct {
	Tokenname            string   `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	MixCount             int32    `protobuf:"varint,2,opt,name=mixCount,proto3" json:"mixCount,omitempty"`
	Amount               []int64  `protobuf:"varint,3,rep,packed,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReqUTXOGlobalIndex) Descriptor

func (*ReqUTXOGlobalIndex) Descriptor() ([]byte, []int)

func (*ReqUTXOGlobalIndex) GetAmount

func (m *ReqUTXOGlobalIndex) GetAmount() []int64

func (*ReqUTXOGlobalIndex) GetMixCount

func (m *ReqUTXOGlobalIndex) GetMixCount() int32

func (*ReqUTXOGlobalIndex) GetTokenname

func (m *ReqUTXOGlobalIndex) GetTokenname() string

func (*ReqUTXOGlobalIndex) ProtoMessage

func (*ReqUTXOGlobalIndex) ProtoMessage()

func (*ReqUTXOGlobalIndex) Reset

func (m *ReqUTXOGlobalIndex) Reset()

func (*ReqUTXOGlobalIndex) String

func (m *ReqUTXOGlobalIndex) String() string

func (*ReqUTXOGlobalIndex) XXX_DiscardUnknown

func (m *ReqUTXOGlobalIndex) XXX_DiscardUnknown()

func (*ReqUTXOGlobalIndex) XXX_Marshal

func (m *ReqUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqUTXOGlobalIndex) XXX_Merge

func (m *ReqUTXOGlobalIndex) XXX_Merge(src proto.Message)

func (*ReqUTXOGlobalIndex) XXX_Size

func (m *ReqUTXOGlobalIndex) XXX_Size() int

func (*ReqUTXOGlobalIndex) XXX_Unmarshal

func (m *ReqUTXOGlobalIndex) XXX_Unmarshal(b []byte) error

type ReqUTXOPubKeys

type ReqUTXOPubKeys struct {
	TokenName            string                  `protobuf:"bytes,1,opt,name=tokenName,proto3" json:"tokenName,omitempty"`
	GroupUTXOGlobalIndex []*GroupUTXOGlobalIndex `protobuf:"bytes,2,rep,name=groupUTXOGlobalIndex,proto3" json:"groupUTXOGlobalIndex,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ReqUTXOPubKeys) Descriptor

func (*ReqUTXOPubKeys) Descriptor() ([]byte, []int)

func (*ReqUTXOPubKeys) GetGroupUTXOGlobalIndex

func (m *ReqUTXOPubKeys) GetGroupUTXOGlobalIndex() []*GroupUTXOGlobalIndex

func (*ReqUTXOPubKeys) GetTokenName

func (m *ReqUTXOPubKeys) GetTokenName() string

func (*ReqUTXOPubKeys) ProtoMessage

func (*ReqUTXOPubKeys) ProtoMessage()

func (*ReqUTXOPubKeys) Reset

func (m *ReqUTXOPubKeys) Reset()

func (*ReqUTXOPubKeys) String

func (m *ReqUTXOPubKeys) String() string

func (*ReqUTXOPubKeys) XXX_DiscardUnknown

func (m *ReqUTXOPubKeys) XXX_DiscardUnknown()

func (*ReqUTXOPubKeys) XXX_Marshal

func (m *ReqUTXOPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqUTXOPubKeys) XXX_Merge

func (m *ReqUTXOPubKeys) XXX_Merge(src proto.Message)

func (*ReqUTXOPubKeys) XXX_Size

func (m *ReqUTXOPubKeys) XXX_Size() int

func (*ReqUTXOPubKeys) XXX_Unmarshal

func (m *ReqUTXOPubKeys) XXX_Unmarshal(b []byte) error

type ResUTXOGlobalIndex

type ResUTXOGlobalIndex struct {
	Tokenname            string              `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	MixCount             int32               `protobuf:"varint,2,opt,name=mixCount,proto3" json:"mixCount,omitempty"`
	UtxoIndex4Amount     []*UTXOIndex4Amount `protobuf:"bytes,3,rep,name=utxoIndex4Amount,proto3" json:"utxoIndex4Amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ResUTXOGlobalIndex) Descriptor

func (*ResUTXOGlobalIndex) Descriptor() ([]byte, []int)

func (*ResUTXOGlobalIndex) GetMixCount

func (m *ResUTXOGlobalIndex) GetMixCount() int32

func (*ResUTXOGlobalIndex) GetTokenname

func (m *ResUTXOGlobalIndex) GetTokenname() string

func (*ResUTXOGlobalIndex) GetUtxoIndex4Amount

func (m *ResUTXOGlobalIndex) GetUtxoIndex4Amount() []*UTXOIndex4Amount

func (*ResUTXOGlobalIndex) ProtoMessage

func (*ResUTXOGlobalIndex) ProtoMessage()

func (*ResUTXOGlobalIndex) Reset

func (m *ResUTXOGlobalIndex) Reset()

func (*ResUTXOGlobalIndex) String

func (m *ResUTXOGlobalIndex) String() string

func (*ResUTXOGlobalIndex) XXX_DiscardUnknown

func (m *ResUTXOGlobalIndex) XXX_DiscardUnknown()

func (*ResUTXOGlobalIndex) XXX_Marshal

func (m *ResUTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResUTXOGlobalIndex) XXX_Merge

func (m *ResUTXOGlobalIndex) XXX_Merge(src proto.Message)

func (*ResUTXOGlobalIndex) XXX_Size

func (m *ResUTXOGlobalIndex) XXX_Size() int

func (*ResUTXOGlobalIndex) XXX_Unmarshal

func (m *ResUTXOGlobalIndex) XXX_Unmarshal(b []byte) error

type ResUTXOPubKeys

type ResUTXOPubKeys struct {
	GroupUTXOPubKeys     []*GroupUTXOPubKey `protobuf:"bytes,1,rep,name=groupUTXOPubKeys,proto3" json:"groupUTXOPubKeys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ResUTXOPubKeys) Descriptor

func (*ResUTXOPubKeys) Descriptor() ([]byte, []int)

func (*ResUTXOPubKeys) GetGroupUTXOPubKeys

func (m *ResUTXOPubKeys) GetGroupUTXOPubKeys() []*GroupUTXOPubKey

func (*ResUTXOPubKeys) ProtoMessage

func (*ResUTXOPubKeys) ProtoMessage()

func (*ResUTXOPubKeys) Reset

func (m *ResUTXOPubKeys) Reset()

func (*ResUTXOPubKeys) String

func (m *ResUTXOPubKeys) String() string

func (*ResUTXOPubKeys) XXX_DiscardUnknown

func (m *ResUTXOPubKeys) XXX_DiscardUnknown()

func (*ResUTXOPubKeys) XXX_Marshal

func (m *ResUTXOPubKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResUTXOPubKeys) XXX_Merge

func (m *ResUTXOPubKeys) XXX_Merge(src proto.Message)

func (*ResUTXOPubKeys) XXX_Size

func (m *ResUTXOPubKeys) XXX_Size() int

func (*ResUTXOPubKeys) XXX_Unmarshal

func (m *ResUTXOPubKeys) XXX_Unmarshal(b []byte) error

type TokenNamesOfUTXO

type TokenNamesOfUTXO struct {
	TokensMap            map[string]string `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TokenNamesOfUTXO) Descriptor

func (*TokenNamesOfUTXO) Descriptor() ([]byte, []int)

func (*TokenNamesOfUTXO) GetTokensMap

func (m *TokenNamesOfUTXO) GetTokensMap() map[string]string

func (*TokenNamesOfUTXO) ProtoMessage

func (*TokenNamesOfUTXO) ProtoMessage()

func (*TokenNamesOfUTXO) Reset

func (m *TokenNamesOfUTXO) Reset()

func (*TokenNamesOfUTXO) String

func (m *TokenNamesOfUTXO) String() string

func (*TokenNamesOfUTXO) XXX_DiscardUnknown

func (m *TokenNamesOfUTXO) XXX_DiscardUnknown()

func (*TokenNamesOfUTXO) XXX_Marshal

func (m *TokenNamesOfUTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenNamesOfUTXO) XXX_Merge

func (m *TokenNamesOfUTXO) XXX_Merge(src proto.Message)

func (*TokenNamesOfUTXO) XXX_Size

func (m *TokenNamesOfUTXO) XXX_Size() int

func (*TokenNamesOfUTXO) XXX_Unmarshal

func (m *TokenNamesOfUTXO) XXX_Unmarshal(b []byte) error

type UTXO

type UTXO struct {
	Amount               int64      `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	UtxoBasic            *UTXOBasic `protobuf:"bytes,2,opt,name=utxoBasic,proto3" json:"utxoBasic,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UTXO) Descriptor

func (*UTXO) Descriptor() ([]byte, []int)

func (*UTXO) GetAmount

func (m *UTXO) GetAmount() int64

func (*UTXO) GetUtxoBasic

func (m *UTXO) GetUtxoBasic() *UTXOBasic

func (*UTXO) ProtoMessage

func (*UTXO) ProtoMessage()

func (*UTXO) Reset

func (m *UTXO) Reset()

func (*UTXO) String

func (m *UTXO) String() string

func (*UTXO) XXX_DiscardUnknown

func (m *UTXO) XXX_DiscardUnknown()

func (*UTXO) XXX_Marshal

func (m *UTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXO) XXX_Merge

func (m *UTXO) XXX_Merge(src proto.Message)

func (*UTXO) XXX_Size

func (m *UTXO) XXX_Size() int

func (*UTXO) XXX_Unmarshal

func (m *UTXO) XXX_Unmarshal(b []byte) error

type UTXOBasic

type UTXOBasic struct {
	UtxoGlobalIndex      *UTXOGlobalIndex `protobuf:"bytes,1,opt,name=utxoGlobalIndex,proto3" json:"utxoGlobalIndex,omitempty"`
	OnetimePubkey        []byte           `protobuf:"bytes,2,opt,name=onetimePubkey,proto3" json:"onetimePubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*UTXOBasic) Descriptor

func (*UTXOBasic) Descriptor() ([]byte, []int)

func (*UTXOBasic) GetOnetimePubkey

func (m *UTXOBasic) GetOnetimePubkey() []byte

func (*UTXOBasic) GetUtxoGlobalIndex

func (m *UTXOBasic) GetUtxoGlobalIndex() *UTXOGlobalIndex

func (*UTXOBasic) ProtoMessage

func (*UTXOBasic) ProtoMessage()

func (*UTXOBasic) Reset

func (m *UTXOBasic) Reset()

func (*UTXOBasic) String

func (m *UTXOBasic) String() string

func (*UTXOBasic) XXX_DiscardUnknown

func (m *UTXOBasic) XXX_DiscardUnknown()

func (*UTXOBasic) XXX_Marshal

func (m *UTXOBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOBasic) XXX_Merge

func (m *UTXOBasic) XXX_Merge(src proto.Message)

func (*UTXOBasic) XXX_Size

func (m *UTXOBasic) XXX_Size() int

func (*UTXOBasic) XXX_Unmarshal

func (m *UTXOBasic) XXX_Unmarshal(b []byte) error

type UTXOBasics

type UTXOBasics struct {
	Utxos                []*UTXOBasic `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UTXOBasics) Descriptor

func (*UTXOBasics) Descriptor() ([]byte, []int)

func (*UTXOBasics) GetUtxos

func (m *UTXOBasics) GetUtxos() []*UTXOBasic

func (*UTXOBasics) ProtoMessage

func (*UTXOBasics) ProtoMessage()

func (*UTXOBasics) Reset

func (m *UTXOBasics) Reset()

func (*UTXOBasics) String

func (m *UTXOBasics) String() string

func (*UTXOBasics) XXX_DiscardUnknown

func (m *UTXOBasics) XXX_DiscardUnknown()

func (*UTXOBasics) XXX_Marshal

func (m *UTXOBasics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOBasics) XXX_Merge

func (m *UTXOBasics) XXX_Merge(src proto.Message)

func (*UTXOBasics) XXX_Size

func (m *UTXOBasics) XXX_Size() int

func (*UTXOBasics) XXX_Unmarshal

func (m *UTXOBasics) XXX_Unmarshal(b []byte) error

type UTXOGlobalIndex

type UTXOGlobalIndex struct {
	//	int64 height   = 1;
	//	int32 txindex  = 2;
	Txhash               []byte   `protobuf:"bytes,3,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Outindex             int32    `protobuf:"varint,4,opt,name=outindex,proto3" json:"outindex,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UTXOGlobalIndex) Descriptor

func (*UTXOGlobalIndex) Descriptor() ([]byte, []int)

func (*UTXOGlobalIndex) GetOutindex

func (m *UTXOGlobalIndex) GetOutindex() int32

func (*UTXOGlobalIndex) GetTxhash

func (m *UTXOGlobalIndex) GetTxhash() []byte

func (*UTXOGlobalIndex) ProtoMessage

func (*UTXOGlobalIndex) ProtoMessage()

func (*UTXOGlobalIndex) Reset

func (m *UTXOGlobalIndex) Reset()

func (*UTXOGlobalIndex) String

func (m *UTXOGlobalIndex) String() string

func (*UTXOGlobalIndex) XXX_DiscardUnknown

func (m *UTXOGlobalIndex) XXX_DiscardUnknown()

func (*UTXOGlobalIndex) XXX_Marshal

func (m *UTXOGlobalIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOGlobalIndex) XXX_Merge

func (m *UTXOGlobalIndex) XXX_Merge(src proto.Message)

func (*UTXOGlobalIndex) XXX_Size

func (m *UTXOGlobalIndex) XXX_Size() int

func (*UTXOGlobalIndex) XXX_Unmarshal

func (m *UTXOGlobalIndex) XXX_Unmarshal(b []byte) error

type UTXOGlobalIndex4Print

type UTXOGlobalIndex4Print struct {
	Txhash               string   `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Outindex             int32    `protobuf:"varint,2,opt,name=outindex,proto3" json:"outindex,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

用以转换成json后继续可见的结构

func (*UTXOGlobalIndex4Print) Descriptor

func (*UTXOGlobalIndex4Print) Descriptor() ([]byte, []int)

func (*UTXOGlobalIndex4Print) GetOutindex

func (m *UTXOGlobalIndex4Print) GetOutindex() int32

func (*UTXOGlobalIndex4Print) GetTxhash

func (m *UTXOGlobalIndex4Print) GetTxhash() string

func (*UTXOGlobalIndex4Print) ProtoMessage

func (*UTXOGlobalIndex4Print) ProtoMessage()

func (*UTXOGlobalIndex4Print) Reset

func (m *UTXOGlobalIndex4Print) Reset()

func (*UTXOGlobalIndex4Print) String

func (m *UTXOGlobalIndex4Print) String() string

func (*UTXOGlobalIndex4Print) XXX_DiscardUnknown

func (m *UTXOGlobalIndex4Print) XXX_DiscardUnknown()

func (*UTXOGlobalIndex4Print) XXX_Marshal

func (m *UTXOGlobalIndex4Print) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOGlobalIndex4Print) XXX_Merge

func (m *UTXOGlobalIndex4Print) XXX_Merge(src proto.Message)

func (*UTXOGlobalIndex4Print) XXX_Size

func (m *UTXOGlobalIndex4Print) XXX_Size() int

func (*UTXOGlobalIndex4Print) XXX_Unmarshal

func (m *UTXOGlobalIndex4Print) XXX_Unmarshal(b []byte) error

type UTXOHaveTxHash

type UTXOHaveTxHash struct {
	Amount               int64      `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	TxHash               string     `protobuf:"bytes,2,opt,name=txHash,proto3" json:"txHash,omitempty"`
	UtxoBasic            *UTXOBasic `protobuf:"bytes,3,opt,name=utxoBasic,proto3" json:"utxoBasic,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UTXOHaveTxHash) Descriptor

func (*UTXOHaveTxHash) Descriptor() ([]byte, []int)

func (*UTXOHaveTxHash) GetAmount

func (m *UTXOHaveTxHash) GetAmount() int64

func (*UTXOHaveTxHash) GetTxHash

func (m *UTXOHaveTxHash) GetTxHash() string

func (*UTXOHaveTxHash) GetUtxoBasic

func (m *UTXOHaveTxHash) GetUtxoBasic() *UTXOBasic

func (*UTXOHaveTxHash) ProtoMessage

func (*UTXOHaveTxHash) ProtoMessage()

func (*UTXOHaveTxHash) Reset

func (m *UTXOHaveTxHash) Reset()

func (*UTXOHaveTxHash) String

func (m *UTXOHaveTxHash) String() string

func (*UTXOHaveTxHash) XXX_DiscardUnknown

func (m *UTXOHaveTxHash) XXX_DiscardUnknown()

func (*UTXOHaveTxHash) XXX_Marshal

func (m *UTXOHaveTxHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOHaveTxHash) XXX_Merge

func (m *UTXOHaveTxHash) XXX_Merge(src proto.Message)

func (*UTXOHaveTxHash) XXX_Size

func (m *UTXOHaveTxHash) XXX_Size() int

func (*UTXOHaveTxHash) XXX_Unmarshal

func (m *UTXOHaveTxHash) XXX_Unmarshal(b []byte) error

type UTXOHaveTxHashs

type UTXOHaveTxHashs struct {
	UtxoHaveTxHashs      []*UTXOHaveTxHash `protobuf:"bytes,1,rep,name=utxoHaveTxHashs,proto3" json:"utxoHaveTxHashs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*UTXOHaveTxHashs) Descriptor

func (*UTXOHaveTxHashs) Descriptor() ([]byte, []int)

func (*UTXOHaveTxHashs) GetUtxoHaveTxHashs

func (m *UTXOHaveTxHashs) GetUtxoHaveTxHashs() []*UTXOHaveTxHash

func (*UTXOHaveTxHashs) ProtoMessage

func (*UTXOHaveTxHashs) ProtoMessage()

func (*UTXOHaveTxHashs) Reset

func (m *UTXOHaveTxHashs) Reset()

func (*UTXOHaveTxHashs) String

func (m *UTXOHaveTxHashs) String() string

func (*UTXOHaveTxHashs) XXX_DiscardUnknown

func (m *UTXOHaveTxHashs) XXX_DiscardUnknown()

func (*UTXOHaveTxHashs) XXX_Marshal

func (m *UTXOHaveTxHashs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOHaveTxHashs) XXX_Merge

func (m *UTXOHaveTxHashs) XXX_Merge(src proto.Message)

func (*UTXOHaveTxHashs) XXX_Size

func (m *UTXOHaveTxHashs) XXX_Size() int

func (*UTXOHaveTxHashs) XXX_Unmarshal

func (m *UTXOHaveTxHashs) XXX_Unmarshal(b []byte) error

type UTXOIndex4Amount

type UTXOIndex4Amount struct {
	Amount               int64        `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Utxos                []*UTXOBasic `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UTXOIndex4Amount) Descriptor

func (*UTXOIndex4Amount) Descriptor() ([]byte, []int)

func (*UTXOIndex4Amount) GetAmount

func (m *UTXOIndex4Amount) GetAmount() int64

func (*UTXOIndex4Amount) GetUtxos

func (m *UTXOIndex4Amount) GetUtxos() []*UTXOBasic

func (*UTXOIndex4Amount) ProtoMessage

func (*UTXOIndex4Amount) ProtoMessage()

func (*UTXOIndex4Amount) Reset

func (m *UTXOIndex4Amount) Reset()

func (*UTXOIndex4Amount) String

func (m *UTXOIndex4Amount) String() string

func (*UTXOIndex4Amount) XXX_DiscardUnknown

func (m *UTXOIndex4Amount) XXX_DiscardUnknown()

func (*UTXOIndex4Amount) XXX_Marshal

func (m *UTXOIndex4Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOIndex4Amount) XXX_Merge

func (m *UTXOIndex4Amount) XXX_Merge(src proto.Message)

func (*UTXOIndex4Amount) XXX_Size

func (m *UTXOIndex4Amount) XXX_Size() int

func (*UTXOIndex4Amount) XXX_Unmarshal

func (m *UTXOIndex4Amount) XXX_Unmarshal(b []byte) error

type UTXOs

type UTXOs struct {
	Utxos                []*UTXO  `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UTXOs) Descriptor

func (*UTXOs) Descriptor() ([]byte, []int)

func (*UTXOs) GetUtxos

func (m *UTXOs) GetUtxos() []*UTXO

func (*UTXOs) ProtoMessage

func (*UTXOs) ProtoMessage()

func (*UTXOs) Reset

func (m *UTXOs) Reset()

func (*UTXOs) String

func (m *UTXOs) String() string

func (*UTXOs) XXX_DiscardUnknown

func (m *UTXOs) XXX_DiscardUnknown()

func (*UTXOs) XXX_Marshal

func (m *UTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UTXOs) XXX_Merge

func (m *UTXOs) XXX_Merge(src proto.Message)

func (*UTXOs) XXX_Size

func (m *UTXOs) XXX_Size() int

func (*UTXOs) XXX_Unmarshal

func (m *UTXOs) XXX_Unmarshal(b []byte) error

type WalletAccountPrivacy

type WalletAccountPrivacy struct {
	ViewPubkey           []byte   `protobuf:"bytes,1,opt,name=viewPubkey,proto3" json:"viewPubkey,omitempty"`
	ViewPrivKey          []byte   `protobuf:"bytes,2,opt,name=viewPrivKey,proto3" json:"viewPrivKey,omitempty"`
	SpendPubkey          []byte   `protobuf:"bytes,3,opt,name=spendPubkey,proto3" json:"spendPubkey,omitempty"`
	SpendPrivKey         []byte   `protobuf:"bytes,4,opt,name=spendPrivKey,proto3" json:"spendPrivKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WalletAccountPrivacy) Descriptor

func (*WalletAccountPrivacy) Descriptor() ([]byte, []int)

func (*WalletAccountPrivacy) GetSpendPrivKey

func (m *WalletAccountPrivacy) GetSpendPrivKey() []byte

func (*WalletAccountPrivacy) GetSpendPubkey

func (m *WalletAccountPrivacy) GetSpendPubkey() []byte

func (*WalletAccountPrivacy) GetViewPrivKey

func (m *WalletAccountPrivacy) GetViewPrivKey() []byte

func (*WalletAccountPrivacy) GetViewPubkey

func (m *WalletAccountPrivacy) GetViewPubkey() []byte

func (*WalletAccountPrivacy) ProtoMessage

func (*WalletAccountPrivacy) ProtoMessage()

func (*WalletAccountPrivacy) Reset

func (m *WalletAccountPrivacy) Reset()

func (*WalletAccountPrivacy) String

func (m *WalletAccountPrivacy) String() string

func (*WalletAccountPrivacy) XXX_DiscardUnknown

func (m *WalletAccountPrivacy) XXX_DiscardUnknown()

func (*WalletAccountPrivacy) XXX_Marshal

func (m *WalletAccountPrivacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletAccountPrivacy) XXX_Merge

func (m *WalletAccountPrivacy) XXX_Merge(src proto.Message)

func (*WalletAccountPrivacy) XXX_Size

func (m *WalletAccountPrivacy) XXX_Size() int

func (*WalletAccountPrivacy) XXX_Unmarshal

func (m *WalletAccountPrivacy) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL