types

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 11 Imported by: 18

Documentation

Overview

Package types ...

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
)
View Source
const (

	//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, 1 coin
	PrivacyTxFee = 1
)
View Source
const (
	// utxo缓存数量
	UTXOCacheCount = 256
	// UtxoMaturityDegree utxo 成熟度
	UtxoMaturityDegree = 12
	BTYDustThreshold   = 1
	ConfirmedHeight    = 12
	SignatureSize      = (4 + 33 + 65)
	// Size1Kshiftlen tx消息大小1k
	Size1Kshiftlen = 10
)

const ...

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")
	ErrNilUtxoInput          = errors.New("ErrNilUtxoInput")
	ErrNilUtxoOutput         = errors.New("ErrNilUtxoOutput")
	ErrRingSign              = errors.New("ErrRingSign")
)

ErrXXX defines error message

View Source
var File_privacy_proto protoreflect.FileDescriptor
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 InitExecutor

func InitExecutor(cfg *types.Chain33Config)

InitExecutor ...

func InitFork

func InitFork(cfg *types.Chain33Config)

InitFork ...

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"`
	// contains filtered or unexported fields
}

func (*AmountDetail) Descriptor deprecated

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

Deprecated: Use AmountDetail.ProtoReflect.Descriptor instead.

func (*AmountDetail) GetAmount

func (x *AmountDetail) GetAmount() int64

func (*AmountDetail) GetCount

func (x *AmountDetail) GetCount() int64

func (*AmountDetail) ProtoMessage

func (*AmountDetail) ProtoMessage()

func (*AmountDetail) ProtoReflect added in v1.65.3

func (x *AmountDetail) ProtoReflect() protoreflect.Message

func (*AmountDetail) Reset

func (x *AmountDetail) Reset()

func (*AmountDetail) String

func (x *AmountDetail) String() string

type AmountsOfUTXO

type AmountsOfUTXO struct {
	AmountMap map[int64]int64 `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*AmountsOfUTXO) Descriptor deprecated

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

Deprecated: Use AmountsOfUTXO.ProtoReflect.Descriptor instead.

func (*AmountsOfUTXO) GetAmountMap

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

func (*AmountsOfUTXO) ProtoMessage

func (*AmountsOfUTXO) ProtoMessage()

func (*AmountsOfUTXO) ProtoReflect added in v1.65.3

func (x *AmountsOfUTXO) ProtoReflect() protoreflect.Message

func (*AmountsOfUTXO) Reset

func (x *AmountsOfUTXO) Reset()

func (*AmountsOfUTXO) String

func (x *AmountsOfUTXO) String() string

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"`
	// contains filtered or unexported fields
}

func (*CreateTransactionCache) Descriptor deprecated

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

Deprecated: Use CreateTransactionCache.ProtoReflect.Descriptor instead.

func (*CreateTransactionCache) GetCreatetime

func (x *CreateTransactionCache) GetCreatetime() int64

func (*CreateTransactionCache) GetKey

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

func (*CreateTransactionCache) GetRealkeyinput

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

func (*CreateTransactionCache) GetSender

func (x *CreateTransactionCache) GetSender() string

func (*CreateTransactionCache) GetSigntime

func (x *CreateTransactionCache) GetSigntime() int64

func (*CreateTransactionCache) GetStatus

func (x *CreateTransactionCache) GetStatus() int32

func (*CreateTransactionCache) GetTokenname

func (x *CreateTransactionCache) GetTokenname() string

func (*CreateTransactionCache) GetTransaction

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

func (*CreateTransactionCache) GetUtxos

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

func (*CreateTransactionCache) ProtoMessage

func (*CreateTransactionCache) ProtoMessage()

func (*CreateTransactionCache) ProtoReflect added in v1.65.3

func (x *CreateTransactionCache) ProtoReflect() protoreflect.Message

func (*CreateTransactionCache) Reset

func (x *CreateTransactionCache) Reset()

func (*CreateTransactionCache) String

func (x *CreateTransactionCache) String() string

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"`
	AssetExec string  `protobuf:"bytes,6,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*FTXOsSTXOsInOneTx) Descriptor deprecated

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

Deprecated: Use FTXOsSTXOsInOneTx.ProtoReflect.Descriptor instead.

func (*FTXOsSTXOsInOneTx) GetAssetExec

func (x *FTXOsSTXOsInOneTx) GetAssetExec() string

func (*FTXOsSTXOsInOneTx) GetExpire

func (x *FTXOsSTXOsInOneTx) GetExpire() int64

func (*FTXOsSTXOsInOneTx) GetSender

func (x *FTXOsSTXOsInOneTx) GetSender() string

func (*FTXOsSTXOsInOneTx) GetTokenname

func (x *FTXOsSTXOsInOneTx) GetTokenname() string

func (*FTXOsSTXOsInOneTx) GetTxhash

func (x *FTXOsSTXOsInOneTx) GetTxhash() string

func (*FTXOsSTXOsInOneTx) GetUtxos

func (x *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) ProtoReflect added in v1.65.3

func (x *FTXOsSTXOsInOneTx) ProtoReflect() protoreflect.Message

func (*FTXOsSTXOsInOneTx) Reset

func (x *FTXOsSTXOsInOneTx) Reset()

func (*FTXOsSTXOsInOneTx) SetExpire

func (ftxos *FTXOsSTXOsInOneTx) SetExpire(expire int64)

SetExpire 设定过期

func (*FTXOsSTXOsInOneTx) String

func (x *FTXOsSTXOsInOneTx) String() string

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"`
	// contains filtered or unexported fields
}

func (*GroupUTXOGlobalIndex) Descriptor deprecated

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

Deprecated: Use GroupUTXOGlobalIndex.ProtoReflect.Descriptor instead.

func (*GroupUTXOGlobalIndex) GetAmount

func (x *GroupUTXOGlobalIndex) GetAmount() int64

func (*GroupUTXOGlobalIndex) GetUtxoGlobalIndex

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

func (*GroupUTXOGlobalIndex) ProtoMessage

func (*GroupUTXOGlobalIndex) ProtoMessage()

func (*GroupUTXOGlobalIndex) ProtoReflect added in v1.65.3

func (x *GroupUTXOGlobalIndex) ProtoReflect() protoreflect.Message

func (*GroupUTXOGlobalIndex) Reset

func (x *GroupUTXOGlobalIndex) Reset()

func (*GroupUTXOGlobalIndex) String

func (x *GroupUTXOGlobalIndex) String() string

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"`
	// contains filtered or unexported fields
}

func (*GroupUTXOPubKey) Descriptor deprecated

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

Deprecated: Use GroupUTXOPubKey.ProtoReflect.Descriptor instead.

func (*GroupUTXOPubKey) GetAmount

func (x *GroupUTXOPubKey) GetAmount() int64

func (*GroupUTXOPubKey) GetPubkey

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

func (*GroupUTXOPubKey) ProtoMessage

func (*GroupUTXOPubKey) ProtoMessage()

func (*GroupUTXOPubKey) ProtoReflect added in v1.65.3

func (x *GroupUTXOPubKey) ProtoReflect() protoreflect.Message

func (*GroupUTXOPubKey) Reset

func (x *GroupUTXOPubKey) Reset()

func (*GroupUTXOPubKey) String

func (x *GroupUTXOPubKey) String() string

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"`
	// contains filtered or unexported fields
}

privacy input

func (*KeyInput) Descriptor deprecated

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

Deprecated: Use KeyInput.ProtoReflect.Descriptor instead.

func (*KeyInput) GetAmount

func (x *KeyInput) GetAmount() int64

func (*KeyInput) GetKeyImage

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

func (*KeyInput) GetUtxoGlobalIndex

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

func (*KeyInput) ProtoMessage

func (*KeyInput) ProtoMessage()

func (*KeyInput) ProtoReflect added in v1.65.3

func (x *KeyInput) ProtoReflect() protoreflect.Message

func (*KeyInput) Reset

func (x *KeyInput) Reset()

func (*KeyInput) String

func (x *KeyInput) String() string

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"`
	// contains filtered or unexported fields
}

func (*KeyInput4Print) Descriptor deprecated

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

Deprecated: Use KeyInput4Print.ProtoReflect.Descriptor instead.

func (*KeyInput4Print) GetAmount

func (x *KeyInput4Print) GetAmount() int64

func (*KeyInput4Print) GetKeyImage

func (x *KeyInput4Print) GetKeyImage() string

func (*KeyInput4Print) GetUtxoGlobalIndex

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

func (*KeyInput4Print) ProtoMessage

func (*KeyInput4Print) ProtoMessage()

func (*KeyInput4Print) ProtoReflect added in v1.65.3

func (x *KeyInput4Print) ProtoReflect() protoreflect.Message

func (*KeyInput4Print) Reset

func (x *KeyInput4Print) Reset()

func (*KeyInput4Print) String

func (x *KeyInput4Print) String() string

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"`
	// contains filtered or unexported fields
}

privacy output

func (*KeyOutput) Descriptor deprecated

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

Deprecated: Use KeyOutput.ProtoReflect.Descriptor instead.

func (*KeyOutput) GetAmount

func (x *KeyOutput) GetAmount() int64

func (*KeyOutput) GetOnetimepubkey

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

func (*KeyOutput) ProtoMessage

func (*KeyOutput) ProtoMessage()

func (*KeyOutput) ProtoReflect added in v1.65.3

func (x *KeyOutput) ProtoReflect() protoreflect.Message

func (*KeyOutput) Reset

func (x *KeyOutput) Reset()

func (*KeyOutput) String

func (x *KeyOutput) String() string

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"`
	// contains filtered or unexported fields
}

func (*KeyOutput4Print) Descriptor deprecated

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

Deprecated: Use KeyOutput4Print.ProtoReflect.Descriptor instead.

func (*KeyOutput4Print) GetAmount

func (x *KeyOutput4Print) GetAmount() int64

func (*KeyOutput4Print) GetOnetimepubkey

func (x *KeyOutput4Print) GetOnetimepubkey() string

func (*KeyOutput4Print) ProtoMessage

func (*KeyOutput4Print) ProtoMessage()

func (*KeyOutput4Print) ProtoReflect added in v1.65.3

func (x *KeyOutput4Print) ProtoReflect() protoreflect.Message

func (*KeyOutput4Print) Reset

func (x *KeyOutput4Print) Reset()

func (*KeyOutput4Print) String

func (x *KeyOutput4Print) String() string

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"`
	// contains filtered or unexported fields
}

func (*LocalUTXOItem) Descriptor deprecated

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

Deprecated: Use LocalUTXOItem.ProtoReflect.Descriptor instead.

func (*LocalUTXOItem) GetHeight

func (x *LocalUTXOItem) GetHeight() int64

func (*LocalUTXOItem) GetOnetimepubkey

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

func (*LocalUTXOItem) GetOutindex

func (x *LocalUTXOItem) GetOutindex() int32

func (*LocalUTXOItem) GetTxhash

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

func (*LocalUTXOItem) GetTxindex

func (x *LocalUTXOItem) GetTxindex() int32

func (*LocalUTXOItem) ProtoMessage

func (*LocalUTXOItem) ProtoMessage()

func (*LocalUTXOItem) ProtoReflect added in v1.65.3

func (x *LocalUTXOItem) ProtoReflect() protoreflect.Message

func (*LocalUTXOItem) Reset

func (x *LocalUTXOItem) Reset()

func (*LocalUTXOItem) String

func (x *LocalUTXOItem) String() string

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"`
	// contains filtered or unexported fields
}

func (*PriAddrResult) Descriptor deprecated

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

Deprecated: Use PriAddrResult.ProtoReflect.Descriptor instead.

func (*PriAddrResult) GetAddr

func (x *PriAddrResult) GetAddr() string

func (*PriAddrResult) GetIsOK

func (x *PriAddrResult) GetIsOK() bool

func (*PriAddrResult) GetMsg

func (x *PriAddrResult) GetMsg() string

func (*PriAddrResult) ProtoMessage

func (*PriAddrResult) ProtoMessage()

func (*PriAddrResult) ProtoReflect added in v1.65.3

func (x *PriAddrResult) ProtoReflect() protoreflect.Message

func (*PriAddrResult) Reset

func (x *PriAddrResult) Reset()

func (*PriAddrResult) String

func (x *PriAddrResult) String() string

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"`
	AssetExec string         `protobuf:"bytes,8,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*Privacy2Privacy) Descriptor deprecated

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

Deprecated: Use Privacy2Privacy.ProtoReflect.Descriptor instead.

func (*Privacy2Privacy) GetAmount

func (x *Privacy2Privacy) GetAmount() int64

func (*Privacy2Privacy) GetAssetExec

func (x *Privacy2Privacy) GetAssetExec() string

func (*Privacy2Privacy) GetInput

func (x *Privacy2Privacy) GetInput() *PrivacyInput

func (*Privacy2Privacy) GetNote

func (x *Privacy2Privacy) GetNote() string

func (*Privacy2Privacy) GetOutput

func (x *Privacy2Privacy) GetOutput() *PrivacyOutput

func (*Privacy2Privacy) GetTokenname

func (x *Privacy2Privacy) GetTokenname() string

func (*Privacy2Privacy) ProtoMessage

func (*Privacy2Privacy) ProtoMessage()

func (*Privacy2Privacy) ProtoReflect added in v1.65.3

func (x *Privacy2Privacy) ProtoReflect() protoreflect.Message

func (*Privacy2Privacy) Reset

func (x *Privacy2Privacy) Reset()

func (*Privacy2Privacy) String

func (x *Privacy2Privacy) String() string

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"`
	// contains filtered or unexported fields
}

func (*Privacy2Privacy4Print) Descriptor deprecated

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

Deprecated: Use Privacy2Privacy4Print.ProtoReflect.Descriptor instead.

func (*Privacy2Privacy4Print) GetAmount

func (x *Privacy2Privacy4Print) GetAmount() int64

func (*Privacy2Privacy4Print) GetInput

func (*Privacy2Privacy4Print) GetNote

func (x *Privacy2Privacy4Print) GetNote() string

func (*Privacy2Privacy4Print) GetOutput

func (*Privacy2Privacy4Print) GetTokenname

func (x *Privacy2Privacy4Print) GetTokenname() string

func (*Privacy2Privacy4Print) ProtoMessage

func (*Privacy2Privacy4Print) ProtoMessage()

func (*Privacy2Privacy4Print) ProtoReflect added in v1.65.3

func (x *Privacy2Privacy4Print) ProtoReflect() protoreflect.Message

func (*Privacy2Privacy4Print) Reset

func (x *Privacy2Privacy4Print) Reset()

func (*Privacy2Privacy4Print) String

func (x *Privacy2Privacy4Print) String() string

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"`
	AssetExec string         `protobuf:"bytes,8,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*Privacy2Public) Descriptor deprecated

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

Deprecated: Use Privacy2Public.ProtoReflect.Descriptor instead.

func (*Privacy2Public) GetAmount

func (x *Privacy2Public) GetAmount() int64

func (*Privacy2Public) GetAssetExec

func (x *Privacy2Public) GetAssetExec() string

func (*Privacy2Public) GetInput

func (x *Privacy2Public) GetInput() *PrivacyInput

func (*Privacy2Public) GetNote

func (x *Privacy2Public) GetNote() string

func (*Privacy2Public) GetOutput

func (x *Privacy2Public) GetOutput() *PrivacyOutput

func (*Privacy2Public) GetTo

func (x *Privacy2Public) GetTo() string

func (*Privacy2Public) GetTokenname

func (x *Privacy2Public) GetTokenname() string

func (*Privacy2Public) ProtoMessage

func (*Privacy2Public) ProtoMessage()

func (*Privacy2Public) ProtoReflect added in v1.65.3

func (x *Privacy2Public) ProtoReflect() protoreflect.Message

func (*Privacy2Public) Reset

func (x *Privacy2Public) Reset()

func (*Privacy2Public) String

func (x *Privacy2Public) String() string

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"`
	// contains filtered or unexported fields
}

func (*Privacy2Public4Print) Descriptor deprecated

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

Deprecated: Use Privacy2Public4Print.ProtoReflect.Descriptor instead.

func (*Privacy2Public4Print) GetAmount

func (x *Privacy2Public4Print) GetAmount() int64

func (*Privacy2Public4Print) GetInput

func (*Privacy2Public4Print) GetNote

func (x *Privacy2Public4Print) GetNote() string

func (*Privacy2Public4Print) GetOutput

func (x *Privacy2Public4Print) GetOutput() *PrivacyOutput4Print

func (*Privacy2Public4Print) GetTokenname

func (x *Privacy2Public4Print) GetTokenname() string

func (*Privacy2Public4Print) ProtoMessage

func (*Privacy2Public4Print) ProtoMessage()

func (*Privacy2Public4Print) ProtoReflect added in v1.65.3

func (x *Privacy2Public4Print) ProtoReflect() protoreflect.Message

func (*Privacy2Public4Print) Reset

func (x *Privacy2Public4Print) Reset()

func (*Privacy2Public4Print) String

func (x *Privacy2Public4Print) String() string

type PrivacyAction

type PrivacyAction struct {

	// Types that are assignable 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"`
	// contains filtered or unexported fields
}

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

func (*PrivacyAction) Descriptor deprecated

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

Deprecated: Use PrivacyAction.ProtoReflect.Descriptor instead.

func (*PrivacyAction) GetActionName

func (action *PrivacyAction) GetActionName() string

GetActionName get action name

func (*PrivacyAction) GetAssetExecSymbol

func (action *PrivacyAction) GetAssetExecSymbol() (assetExec, assetSymbol string)

GetAssetExecSymbol get assert exec and symbol

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 (x *PrivacyAction) GetPrivacy2Privacy() *Privacy2Privacy

func (*PrivacyAction) GetPrivacy2Public

func (x *PrivacyAction) GetPrivacy2Public() *Privacy2Public

func (*PrivacyAction) GetPublic2Privacy

func (x *PrivacyAction) GetPublic2Privacy() *Public2Privacy

func (*PrivacyAction) GetTy

func (x *PrivacyAction) GetTy() int32

func (*PrivacyAction) GetValue

func (m *PrivacyAction) GetValue() isPrivacyAction_Value

func (*PrivacyAction) ProtoMessage

func (*PrivacyAction) ProtoMessage()

func (*PrivacyAction) ProtoReflect added in v1.65.3

func (x *PrivacyAction) ProtoReflect() protoreflect.Message

func (*PrivacyAction) Reset

func (x *PrivacyAction) Reset()

func (*PrivacyAction) String

func (x *PrivacyAction) String() string

type PrivacyAction4Print

type PrivacyAction4Print struct {

	// Types that are assignable 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"`
	// contains filtered or unexported fields
}

func (*PrivacyAction4Print) Descriptor deprecated

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

Deprecated: Use PrivacyAction4Print.ProtoReflect.Descriptor instead.

func (*PrivacyAction4Print) GetPrivacy2Privacy

func (x *PrivacyAction4Print) GetPrivacy2Privacy() *Privacy2Privacy4Print

func (*PrivacyAction4Print) GetPrivacy2Public

func (x *PrivacyAction4Print) GetPrivacy2Public() *Privacy2Public4Print

func (*PrivacyAction4Print) GetPublic2Privacy

func (x *PrivacyAction4Print) GetPublic2Privacy() *Public2Privacy4Print

func (*PrivacyAction4Print) GetTy

func (x *PrivacyAction4Print) GetTy() int32

func (*PrivacyAction4Print) GetValue

func (m *PrivacyAction4Print) GetValue() isPrivacyAction4Print_Value

func (*PrivacyAction4Print) ProtoMessage

func (*PrivacyAction4Print) ProtoMessage()

func (*PrivacyAction4Print) ProtoReflect added in v1.65.3

func (x *PrivacyAction4Print) ProtoReflect() protoreflect.Message

func (*PrivacyAction4Print) Reset

func (x *PrivacyAction4Print) Reset()

func (*PrivacyAction4Print) String

func (x *PrivacyAction4Print) String() string

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以及获取扫描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.ClientConnInterface) 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"`
	AssetExec        string `protobuf:"bytes,11,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivacyDBStore) Descriptor deprecated

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

Deprecated: Use PrivacyDBStore.ProtoReflect.Descriptor instead.

func (*PrivacyDBStore) GetAmount

func (x *PrivacyDBStore) GetAmount() int64

func (*PrivacyDBStore) GetAssetExec

func (x *PrivacyDBStore) GetAssetExec() string

func (*PrivacyDBStore) GetBlockhash

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

func (*PrivacyDBStore) GetHeight

func (x *PrivacyDBStore) GetHeight() int64

func (*PrivacyDBStore) GetOnetimePublicKey

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

func (*PrivacyDBStore) GetOutIndex

func (x *PrivacyDBStore) GetOutIndex() int32

func (*PrivacyDBStore) GetOwner

func (x *PrivacyDBStore) GetOwner() string

func (*PrivacyDBStore) GetTokenname

func (x *PrivacyDBStore) GetTokenname() string

func (*PrivacyDBStore) GetTxPublicKeyR

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

func (*PrivacyDBStore) GetTxhash

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

func (*PrivacyDBStore) GetTxindex

func (x *PrivacyDBStore) GetTxindex() int32

func (*PrivacyDBStore) ProtoMessage

func (*PrivacyDBStore) ProtoMessage()

func (*PrivacyDBStore) ProtoReflect added in v1.65.3

func (x *PrivacyDBStore) ProtoReflect() protoreflect.Message

func (*PrivacyDBStore) Reset

func (x *PrivacyDBStore) Reset()

func (*PrivacyDBStore) String

func (x *PrivacyDBStore) String() string

type PrivacyInput

type PrivacyInput struct {
	Keyinput []*KeyInput `protobuf:"bytes,1,rep,name=keyinput,proto3" json:"keyinput,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivacyInput) Descriptor deprecated

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

Deprecated: Use PrivacyInput.ProtoReflect.Descriptor instead.

func (*PrivacyInput) GetKeyinput

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

func (*PrivacyInput) ProtoMessage

func (*PrivacyInput) ProtoMessage()

func (*PrivacyInput) ProtoReflect added in v1.65.3

func (x *PrivacyInput) ProtoReflect() protoreflect.Message

func (*PrivacyInput) Reset

func (x *PrivacyInput) Reset()

func (*PrivacyInput) String

func (x *PrivacyInput) String() string

type PrivacyInput4Print

type PrivacyInput4Print struct {
	Keyinput []*KeyInput4Print `protobuf:"bytes,1,rep,name=keyinput,proto3" json:"keyinput,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivacyInput4Print) Descriptor deprecated

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

Deprecated: Use PrivacyInput4Print.ProtoReflect.Descriptor instead.

func (*PrivacyInput4Print) GetKeyinput

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

func (*PrivacyInput4Print) ProtoMessage

func (*PrivacyInput4Print) ProtoMessage()

func (*PrivacyInput4Print) ProtoReflect added in v1.65.3

func (x *PrivacyInput4Print) ProtoReflect() protoreflect.Message

func (*PrivacyInput4Print) Reset

func (x *PrivacyInput4Print) Reset()

func (*PrivacyInput4Print) String

func (x *PrivacyInput4Print) String() string

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"`
	// contains filtered or unexported fields
}

func (*PrivacyOutput) Descriptor deprecated

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

Deprecated: Use PrivacyOutput.ProtoReflect.Descriptor instead.

func (*PrivacyOutput) GetKeyoutput

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

func (*PrivacyOutput) GetRpubKeytx

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

func (*PrivacyOutput) ProtoMessage

func (*PrivacyOutput) ProtoMessage()

func (*PrivacyOutput) ProtoReflect added in v1.65.3

func (x *PrivacyOutput) ProtoReflect() protoreflect.Message

func (*PrivacyOutput) Reset

func (x *PrivacyOutput) Reset()

func (*PrivacyOutput) String

func (x *PrivacyOutput) String() string

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"`
	// contains filtered or unexported fields
}

func (*PrivacyOutput4Print) Descriptor deprecated

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

Deprecated: Use PrivacyOutput4Print.ProtoReflect.Descriptor instead.

func (*PrivacyOutput4Print) GetKeyoutput

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

func (*PrivacyOutput4Print) GetRpubKeytx

func (x *PrivacyOutput4Print) GetRpubKeytx() string

func (*PrivacyOutput4Print) ProtoMessage

func (*PrivacyOutput4Print) ProtoMessage()

func (*PrivacyOutput4Print) ProtoReflect added in v1.65.3

func (x *PrivacyOutput4Print) ProtoReflect() protoreflect.Message

func (*PrivacyOutput4Print) Reset

func (x *PrivacyOutput4Print) Reset()

func (*PrivacyOutput4Print) String

func (x *PrivacyOutput4Print) String() string

type PrivacyServer

type PrivacyServer interface {
	// Privacy Trading
	// 显示指定地址的公钥对信息,可以作为后续交易参数
	ShowPrivacyKey(context.Context, *types.ReqString) (*ReplyPrivacyPkPair, 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"`
	// contains filtered or unexported fields
}

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

func (*PrivacySignatureParam) Descriptor deprecated

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

Deprecated: Use PrivacySignatureParam.ProtoReflect.Descriptor instead.

func (*PrivacySignatureParam) GetActionType

func (x *PrivacySignatureParam) GetActionType() int32

func (*PrivacySignatureParam) GetRealKeyInputs

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

func (*PrivacySignatureParam) GetUtxobasics

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

func (*PrivacySignatureParam) ProtoMessage

func (*PrivacySignatureParam) ProtoMessage()

func (*PrivacySignatureParam) ProtoReflect added in v1.65.3

func (x *PrivacySignatureParam) ProtoReflect() protoreflect.Message

func (*PrivacySignatureParam) Reset

func (x *PrivacySignatureParam) Reset()

func (*PrivacySignatureParam) String

func (x *PrivacySignatureParam) String() string

type PrivacyType

type PrivacyType struct {
	types.ExecTypeBase
}

PrivacyType declare PrivacyType class

func NewType

func NewType(cfg *types.Chain33Config) *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"`
	AssetExec string         `protobuf:"bytes,8,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*Public2Privacy) Descriptor deprecated

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

Deprecated: Use Public2Privacy.ProtoReflect.Descriptor instead.

func (*Public2Privacy) GetAmount

func (x *Public2Privacy) GetAmount() int64

func (*Public2Privacy) GetAssetExec

func (x *Public2Privacy) GetAssetExec() string

func (*Public2Privacy) GetNote

func (x *Public2Privacy) GetNote() string

func (*Public2Privacy) GetOutput

func (x *Public2Privacy) GetOutput() *PrivacyOutput

func (*Public2Privacy) GetTokenname

func (x *Public2Privacy) GetTokenname() string

func (*Public2Privacy) ProtoMessage

func (*Public2Privacy) ProtoMessage()

func (*Public2Privacy) ProtoReflect added in v1.65.3

func (x *Public2Privacy) ProtoReflect() protoreflect.Message

func (*Public2Privacy) Reset

func (x *Public2Privacy) Reset()

func (*Public2Privacy) String

func (x *Public2Privacy) String() string

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"`
	// contains filtered or unexported fields
}

func (*Public2Privacy4Print) Descriptor deprecated

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

Deprecated: Use Public2Privacy4Print.ProtoReflect.Descriptor instead.

func (*Public2Privacy4Print) GetAmount

func (x *Public2Privacy4Print) GetAmount() int64

func (*Public2Privacy4Print) GetNote

func (x *Public2Privacy4Print) GetNote() string

func (*Public2Privacy4Print) GetOutput

func (x *Public2Privacy4Print) GetOutput() *PrivacyOutput4Print

func (*Public2Privacy4Print) GetTokenname

func (x *Public2Privacy4Print) GetTokenname() string

func (*Public2Privacy4Print) ProtoMessage

func (*Public2Privacy4Print) ProtoMessage()

func (*Public2Privacy4Print) ProtoReflect added in v1.65.3

func (x *Public2Privacy4Print) ProtoReflect() protoreflect.Message

func (*Public2Privacy4Print) Reset

func (x *Public2Privacy4Print) Reset()

func (*Public2Privacy4Print) String

func (x *Public2Privacy4Print) String() string

type PublicKeyData

type PublicKeyData struct {
	Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

一个公钥信息

func (*PublicKeyData) Descriptor deprecated

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

Deprecated: Use PublicKeyData.ProtoReflect.Descriptor instead.

func (*PublicKeyData) GetData

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

func (*PublicKeyData) ProtoMessage

func (*PublicKeyData) ProtoMessage()

func (*PublicKeyData) ProtoReflect added in v1.65.3

func (x *PublicKeyData) ProtoReflect() protoreflect.Message

func (*PublicKeyData) Reset

func (x *PublicKeyData) Reset()

func (*PublicKeyData) String

func (x *PublicKeyData) String() string

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"`
	// contains filtered or unexported fields
}

func (*RealKeyInput) Descriptor deprecated

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

Deprecated: Use RealKeyInput.ProtoReflect.Descriptor instead.

func (*RealKeyInput) GetOnetimeprivkey

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

func (*RealKeyInput) GetRealinputkey

func (x *RealKeyInput) GetRealinputkey() int32

func (*RealKeyInput) ProtoMessage

func (*RealKeyInput) ProtoMessage()

func (*RealKeyInput) ProtoReflect added in v1.65.3

func (x *RealKeyInput) ProtoReflect() protoreflect.Message

func (*RealKeyInput) Reset

func (x *RealKeyInput) Reset()

func (*RealKeyInput) String

func (x *RealKeyInput) String() string

type ReceiptPrivacyOutput

type ReceiptPrivacyOutput struct {
	AssetExec   string       `protobuf:"bytes,1,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	AssetSymbol string       `protobuf:"bytes,2,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
	Keyoutput   []*KeyOutput `protobuf:"bytes,3,rep,name=keyoutput,proto3" json:"keyoutput,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiptPrivacyOutput) Descriptor deprecated

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

Deprecated: Use ReceiptPrivacyOutput.ProtoReflect.Descriptor instead.

func (*ReceiptPrivacyOutput) GetAssetExec

func (x *ReceiptPrivacyOutput) GetAssetExec() string

func (*ReceiptPrivacyOutput) GetAssetSymbol

func (x *ReceiptPrivacyOutput) GetAssetSymbol() string

func (*ReceiptPrivacyOutput) GetKeyoutput

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

func (*ReceiptPrivacyOutput) ProtoMessage

func (*ReceiptPrivacyOutput) ProtoMessage()

func (*ReceiptPrivacyOutput) ProtoReflect added in v1.65.3

func (x *ReceiptPrivacyOutput) ProtoReflect() protoreflect.Message

func (*ReceiptPrivacyOutput) Reset

func (x *ReceiptPrivacyOutput) Reset()

func (*ReceiptPrivacyOutput) String

func (x *ReceiptPrivacyOutput) String() string

type RepEnablePrivacy

type RepEnablePrivacy struct {
	Results []*PriAddrResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*RepEnablePrivacy) Descriptor deprecated

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

Deprecated: Use RepEnablePrivacy.ProtoReflect.Descriptor instead.

func (*RepEnablePrivacy) GetResults

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

func (*RepEnablePrivacy) ProtoMessage

func (*RepEnablePrivacy) ProtoMessage()

func (*RepEnablePrivacy) ProtoReflect added in v1.65.3

func (x *RepEnablePrivacy) ProtoReflect() protoreflect.Message

func (*RepEnablePrivacy) Reset

func (x *RepEnablePrivacy) Reset()

func (*RepEnablePrivacy) String

func (x *RepEnablePrivacy) String() string

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"`
	// contains filtered or unexported fields
}

func (*RepRescanResult) Descriptor deprecated

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

Deprecated: Use RepRescanResult.ProtoReflect.Descriptor instead.

func (*RepRescanResult) GetAddr

func (x *RepRescanResult) GetAddr() string

func (*RepRescanResult) GetFlag

func (x *RepRescanResult) GetFlag() int32

func (*RepRescanResult) ProtoMessage

func (*RepRescanResult) ProtoMessage()

func (*RepRescanResult) ProtoReflect added in v1.65.3

func (x *RepRescanResult) ProtoReflect() protoreflect.Message

func (*RepRescanResult) Reset

func (x *RepRescanResult) Reset()

func (*RepRescanResult) String

func (x *RepRescanResult) String() string

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"`
	// contains filtered or unexported fields
}

func (*RepRescanUtxos) Descriptor deprecated

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

Deprecated: Use RepRescanUtxos.ProtoReflect.Descriptor instead.

func (*RepRescanUtxos) GetFlag

func (x *RepRescanUtxos) GetFlag() int32

func (*RepRescanUtxos) GetRepRescanResults

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

func (*RepRescanUtxos) ProtoMessage

func (*RepRescanUtxos) ProtoMessage()

func (*RepRescanUtxos) ProtoReflect added in v1.65.3

func (x *RepRescanUtxos) ProtoReflect() protoreflect.Message

func (*RepRescanUtxos) Reset

func (x *RepRescanUtxos) Reset()

func (*RepRescanUtxos) String

func (x *RepRescanUtxos) String() string

type ReplyCacheTxList

type ReplyCacheTxList struct {
	Txs []*types.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyCacheTxList) Descriptor deprecated

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

Deprecated: Use ReplyCacheTxList.ProtoReflect.Descriptor instead.

func (*ReplyCacheTxList) GetTxs

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

func (*ReplyCacheTxList) ProtoMessage

func (*ReplyCacheTxList) ProtoMessage()

func (*ReplyCacheTxList) ProtoReflect added in v1.65.3

func (x *ReplyCacheTxList) ProtoReflect() protoreflect.Message

func (*ReplyCacheTxList) Reset

func (x *ReplyCacheTxList) Reset()

func (*ReplyCacheTxList) String

func (x *ReplyCacheTxList) String() string

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"`
	// contains filtered or unexported fields
}

请求隐私账户信息的应答

func (*ReplyPrivacyAccount) Descriptor deprecated

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

Deprecated: Use ReplyPrivacyAccount.ProtoReflect.Descriptor instead.

func (*ReplyPrivacyAccount) GetDisplaymode

func (x *ReplyPrivacyAccount) GetDisplaymode() int32

func (*ReplyPrivacyAccount) GetFtxos

func (x *ReplyPrivacyAccount) GetFtxos() *UTXOs

func (*ReplyPrivacyAccount) GetUtxos

func (x *ReplyPrivacyAccount) GetUtxos() *UTXOs

func (*ReplyPrivacyAccount) ProtoMessage

func (*ReplyPrivacyAccount) ProtoMessage()

func (*ReplyPrivacyAccount) ProtoReflect added in v1.65.3

func (x *ReplyPrivacyAccount) ProtoReflect() protoreflect.Message

func (*ReplyPrivacyAccount) Reset

func (x *ReplyPrivacyAccount) Reset()

func (*ReplyPrivacyAccount) String

func (x *ReplyPrivacyAccount) String() string

type ReplyPrivacyAmounts

type ReplyPrivacyAmounts struct {
	AmountDetail []*AmountDetail `protobuf:"bytes,1,rep,name=amountDetail,proto3" json:"amountDetail,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyPrivacyAmounts) Descriptor deprecated

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

Deprecated: Use ReplyPrivacyAmounts.ProtoReflect.Descriptor instead.

func (*ReplyPrivacyAmounts) GetAmountDetail

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

func (*ReplyPrivacyAmounts) ProtoMessage

func (*ReplyPrivacyAmounts) ProtoMessage()

func (*ReplyPrivacyAmounts) ProtoReflect added in v1.65.3

func (x *ReplyPrivacyAmounts) ProtoReflect() protoreflect.Message

func (*ReplyPrivacyAmounts) Reset

func (x *ReplyPrivacyAmounts) Reset()

func (*ReplyPrivacyAmounts) String

func (x *ReplyPrivacyAmounts) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReplyPrivacyBalance) Descriptor deprecated

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

Deprecated: Use ReplyPrivacyBalance.ProtoReflect.Descriptor instead.

func (*ReplyPrivacyBalance) GetBalance

func (x *ReplyPrivacyBalance) GetBalance() int64

func (*ReplyPrivacyBalance) GetOnetimeaddr

func (x *ReplyPrivacyBalance) GetOnetimeaddr() string

func (*ReplyPrivacyBalance) ProtoMessage

func (*ReplyPrivacyBalance) ProtoMessage()

func (*ReplyPrivacyBalance) ProtoReflect added in v1.65.3

func (x *ReplyPrivacyBalance) ProtoReflect() protoreflect.Message

func (*ReplyPrivacyBalance) Reset

func (x *ReplyPrivacyBalance) Reset()

func (*ReplyPrivacyBalance) String

func (x *ReplyPrivacyBalance) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReplyPrivacyPkPair) Descriptor deprecated

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

Deprecated: Use ReplyPrivacyPkPair.ProtoReflect.Descriptor instead.

func (*ReplyPrivacyPkPair) GetPubkeypair

func (x *ReplyPrivacyPkPair) GetPubkeypair() string

func (*ReplyPrivacyPkPair) GetShowSuccessful

func (x *ReplyPrivacyPkPair) GetShowSuccessful() bool

func (*ReplyPrivacyPkPair) ProtoMessage

func (*ReplyPrivacyPkPair) ProtoMessage()

func (*ReplyPrivacyPkPair) ProtoReflect added in v1.65.3

func (x *ReplyPrivacyPkPair) ProtoReflect() protoreflect.Message

func (*ReplyPrivacyPkPair) Reset

func (x *ReplyPrivacyPkPair) Reset()

func (*ReplyPrivacyPkPair) String

func (x *ReplyPrivacyPkPair) String() string

type ReplyUTXOsOfAmount

type ReplyUTXOsOfAmount struct {
	LocalUTXOItems []*LocalUTXOItem `protobuf:"bytes,1,rep,name=localUTXOItems,proto3" json:"localUTXOItems,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyUTXOsOfAmount) Descriptor deprecated

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

Deprecated: Use ReplyUTXOsOfAmount.ProtoReflect.Descriptor instead.

func (*ReplyUTXOsOfAmount) GetLocalUTXOItems

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

func (*ReplyUTXOsOfAmount) ProtoMessage

func (*ReplyUTXOsOfAmount) ProtoMessage()

func (*ReplyUTXOsOfAmount) ProtoReflect added in v1.65.3

func (x *ReplyUTXOsOfAmount) ProtoReflect() protoreflect.Message

func (*ReplyUTXOsOfAmount) Reset

func (x *ReplyUTXOsOfAmount) Reset()

func (*ReplyUTXOsOfAmount) String

func (x *ReplyUTXOsOfAmount) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReqCacheTxList) Descriptor deprecated

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

Deprecated: Use ReqCacheTxList.ProtoReflect.Descriptor instead.

func (*ReqCacheTxList) GetAddr

func (x *ReqCacheTxList) GetAddr() string

func (*ReqCacheTxList) GetTokenname

func (x *ReqCacheTxList) GetTokenname() string

func (*ReqCacheTxList) ProtoMessage

func (*ReqCacheTxList) ProtoMessage()

func (*ReqCacheTxList) ProtoReflect added in v1.65.3

func (x *ReqCacheTxList) ProtoReflect() protoreflect.Message

func (*ReqCacheTxList) Reset

func (x *ReqCacheTxList) Reset()

func (*ReqCacheTxList) String

func (x *ReqCacheTxList) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReqCreateCacheTxKey) Descriptor deprecated

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

Deprecated: Use ReqCreateCacheTxKey.ProtoReflect.Descriptor instead.

func (*ReqCreateCacheTxKey) GetHashkey

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

func (*ReqCreateCacheTxKey) GetTokenname

func (x *ReqCreateCacheTxKey) GetTokenname() string

func (*ReqCreateCacheTxKey) ProtoMessage

func (*ReqCreateCacheTxKey) ProtoMessage()

func (*ReqCreateCacheTxKey) ProtoReflect added in v1.65.3

func (x *ReqCreateCacheTxKey) ProtoReflect() protoreflect.Message

func (*ReqCreateCacheTxKey) Reset

func (x *ReqCreateCacheTxKey) Reset()

func (*ReqCreateCacheTxKey) String

func (x *ReqCreateCacheTxKey) String() string

type ReqCreatePrivacyTx

type ReqCreatePrivacyTx struct {
	Tokenname string `protobuf:"bytes,1,opt,name=tokenname,proto3" json:"tokenname,omitempty"`
	// 构建交易类型
	ActionType int32  `protobuf:"varint,2,opt,name=actionType,proto3" json:"actionType,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"`
	AssetExec  string `protobuf:"bytes,13,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

创建隐私交易请求

func (*ReqCreatePrivacyTx) Descriptor deprecated

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

Deprecated: Use ReqCreatePrivacyTx.ProtoReflect.Descriptor instead.

func (*ReqCreatePrivacyTx) GetActionType

func (x *ReqCreatePrivacyTx) GetActionType() int32

func (*ReqCreatePrivacyTx) GetAmount

func (x *ReqCreatePrivacyTx) GetAmount() int64

func (*ReqCreatePrivacyTx) GetAssetExec

func (x *ReqCreatePrivacyTx) GetAssetExec() string

func (*ReqCreatePrivacyTx) GetExpire

func (x *ReqCreatePrivacyTx) GetExpire() int64

func (*ReqCreatePrivacyTx) GetFrom

func (x *ReqCreatePrivacyTx) GetFrom() string

func (*ReqCreatePrivacyTx) GetMixcount

func (x *ReqCreatePrivacyTx) GetMixcount() int32

func (*ReqCreatePrivacyTx) GetNote

func (x *ReqCreatePrivacyTx) GetNote() string

func (*ReqCreatePrivacyTx) GetPubkeypair

func (x *ReqCreatePrivacyTx) GetPubkeypair() string

func (*ReqCreatePrivacyTx) GetTo

func (x *ReqCreatePrivacyTx) GetTo() string

func (*ReqCreatePrivacyTx) GetTokenname

func (x *ReqCreatePrivacyTx) GetTokenname() string

func (*ReqCreatePrivacyTx) ProtoMessage

func (*ReqCreatePrivacyTx) ProtoMessage()

func (*ReqCreatePrivacyTx) ProtoReflect added in v1.65.3

func (x *ReqCreatePrivacyTx) ProtoReflect() protoreflect.Message

func (*ReqCreatePrivacyTx) Reset

func (x *ReqCreatePrivacyTx) Reset()

func (*ReqCreatePrivacyTx) String

func (x *ReqCreatePrivacyTx) String() string

type ReqEnablePrivacy

type ReqEnablePrivacy struct {
	Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqEnablePrivacy) Descriptor deprecated

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

Deprecated: Use ReqEnablePrivacy.ProtoReflect.Descriptor instead.

func (*ReqEnablePrivacy) GetAddrs

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

func (*ReqEnablePrivacy) ProtoMessage

func (*ReqEnablePrivacy) ProtoMessage()

func (*ReqEnablePrivacy) ProtoReflect added in v1.65.3

func (x *ReqEnablePrivacy) ProtoReflect() protoreflect.Message

func (*ReqEnablePrivacy) Reset

func (x *ReqEnablePrivacy) Reset()

func (*ReqEnablePrivacy) String

func (x *ReqEnablePrivacy) String() string

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"`
	AssetExec string `protobuf:"bytes,3,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqPrivBal4AddrToken) Descriptor deprecated

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

Deprecated: Use ReqPrivBal4AddrToken.ProtoReflect.Descriptor instead.

func (*ReqPrivBal4AddrToken) GetAddr

func (x *ReqPrivBal4AddrToken) GetAddr() string

func (*ReqPrivBal4AddrToken) GetAssetExec

func (x *ReqPrivBal4AddrToken) GetAssetExec() string

func (*ReqPrivBal4AddrToken) GetToken

func (x *ReqPrivBal4AddrToken) GetToken() string

func (*ReqPrivBal4AddrToken) ProtoMessage

func (*ReqPrivBal4AddrToken) ProtoMessage()

func (*ReqPrivBal4AddrToken) ProtoReflect added in v1.65.3

func (x *ReqPrivBal4AddrToken) ProtoReflect() protoreflect.Message

func (*ReqPrivBal4AddrToken) Reset

func (x *ReqPrivBal4AddrToken) Reset()

func (*ReqPrivBal4AddrToken) String

func (x *ReqPrivBal4AddrToken) String() string

type ReqPrivacyAccount

type ReqPrivacyAccount 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"`
	AssetExec   string `protobuf:"bytes,4,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqPrivacyAccount) Descriptor deprecated

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

Deprecated: Use ReqPrivacyAccount.ProtoReflect.Descriptor instead.

func (*ReqPrivacyAccount) GetAddr

func (x *ReqPrivacyAccount) GetAddr() string

func (*ReqPrivacyAccount) GetAssetExec

func (x *ReqPrivacyAccount) GetAssetExec() string

func (*ReqPrivacyAccount) GetDisplaymode

func (x *ReqPrivacyAccount) GetDisplaymode() int32

func (*ReqPrivacyAccount) GetToken

func (x *ReqPrivacyAccount) GetToken() string

func (*ReqPrivacyAccount) ProtoMessage

func (*ReqPrivacyAccount) ProtoMessage()

func (*ReqPrivacyAccount) ProtoReflect added in v1.65.3

func (x *ReqPrivacyAccount) ProtoReflect() protoreflect.Message

func (*ReqPrivacyAccount) Reset

func (x *ReqPrivacyAccount) Reset()

func (*ReqPrivacyAccount) String

func (x *ReqPrivacyAccount) String() string

type ReqPrivacyToken

type ReqPrivacyToken struct {
	AssetExec   string `protobuf:"bytes,1,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	AssetSymbol string `protobuf:"bytes,2,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
	Amount      int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqPrivacyToken) Descriptor deprecated

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

Deprecated: Use ReqPrivacyToken.ProtoReflect.Descriptor instead.

func (*ReqPrivacyToken) GetAmount

func (x *ReqPrivacyToken) GetAmount() int64

func (*ReqPrivacyToken) GetAssetExec

func (x *ReqPrivacyToken) GetAssetExec() string

func (*ReqPrivacyToken) GetAssetSymbol

func (x *ReqPrivacyToken) GetAssetSymbol() string

func (*ReqPrivacyToken) ProtoMessage

func (*ReqPrivacyToken) ProtoMessage()

func (*ReqPrivacyToken) ProtoReflect added in v1.65.3

func (x *ReqPrivacyToken) ProtoReflect() protoreflect.Message

func (*ReqPrivacyToken) Reset

func (x *ReqPrivacyToken) Reset()

func (*ReqPrivacyToken) String

func (x *ReqPrivacyToken) String() string

type ReqPrivacyTransactionList

type ReqPrivacyTransactionList struct {

	// 1:sendtx  2:recvtx
	SendRecvFlag int32 `protobuf:"varint,2,opt,name=sendRecvFlag,proto3" json:"sendRecvFlag,omitempty"`
	// 列表顺序,0降1升
	Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"`
	// 单次列表数量
	Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	// 交易相关的地址,发送方或接收方
	Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// 资产执行器
	AssetExec string `protobuf:"bytes,8,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	// 资产符号
	AssetSymbol string `protobuf:"bytes,9,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
	// 指定列表请求开始位置
	StartTxHeightIndex string `protobuf:"bytes,10,opt,name=startTxHeightIndex,proto3" json:"startTxHeightIndex,omitempty"`
	// contains filtered or unexported fields
}

get privacy transaction list in wallet

func (*ReqPrivacyTransactionList) Descriptor deprecated

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

Deprecated: Use ReqPrivacyTransactionList.ProtoReflect.Descriptor instead.

func (*ReqPrivacyTransactionList) GetAddress

func (x *ReqPrivacyTransactionList) GetAddress() string

func (*ReqPrivacyTransactionList) GetAssetExec

func (x *ReqPrivacyTransactionList) GetAssetExec() string

func (*ReqPrivacyTransactionList) GetAssetSymbol added in v1.65.2

func (x *ReqPrivacyTransactionList) GetAssetSymbol() string

func (*ReqPrivacyTransactionList) GetCount

func (x *ReqPrivacyTransactionList) GetCount() int32

func (*ReqPrivacyTransactionList) GetDirection

func (x *ReqPrivacyTransactionList) GetDirection() int32

func (*ReqPrivacyTransactionList) GetSendRecvFlag

func (x *ReqPrivacyTransactionList) GetSendRecvFlag() int32

func (*ReqPrivacyTransactionList) GetStartTxHeightIndex added in v1.65.2

func (x *ReqPrivacyTransactionList) GetStartTxHeightIndex() string

func (*ReqPrivacyTransactionList) ProtoMessage

func (*ReqPrivacyTransactionList) ProtoMessage()

func (*ReqPrivacyTransactionList) ProtoReflect added in v1.65.3

func (*ReqPrivacyTransactionList) Reset

func (x *ReqPrivacyTransactionList) Reset()

func (*ReqPrivacyTransactionList) String

func (x *ReqPrivacyTransactionList) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReqRescanUtxos) Descriptor deprecated

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

Deprecated: Use ReqRescanUtxos.ProtoReflect.Descriptor instead.

func (*ReqRescanUtxos) GetAddrs

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

func (*ReqRescanUtxos) GetFlag

func (x *ReqRescanUtxos) GetFlag() int32

func (*ReqRescanUtxos) ProtoMessage

func (*ReqRescanUtxos) ProtoMessage()

func (*ReqRescanUtxos) ProtoReflect added in v1.65.3

func (x *ReqRescanUtxos) ProtoReflect() protoreflect.Message

func (*ReqRescanUtxos) Reset

func (x *ReqRescanUtxos) Reset()

func (*ReqRescanUtxos) String

func (x *ReqRescanUtxos) String() string

type ReqUTXOGlobalIndex

type ReqUTXOGlobalIndex struct {
	AssetExec   string  `protobuf:"bytes,1,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
	AssetSymbol string  `protobuf:"bytes,2,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
	MixCount    int32   `protobuf:"varint,3,opt,name=mixCount,proto3" json:"mixCount,omitempty"`
	Amount      []int64 `protobuf:"varint,4,rep,packed,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqUTXOGlobalIndex) Descriptor deprecated

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

Deprecated: Use ReqUTXOGlobalIndex.ProtoReflect.Descriptor instead.

func (*ReqUTXOGlobalIndex) GetAmount

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

func (*ReqUTXOGlobalIndex) GetAssetExec

func (x *ReqUTXOGlobalIndex) GetAssetExec() string

func (*ReqUTXOGlobalIndex) GetAssetSymbol

func (x *ReqUTXOGlobalIndex) GetAssetSymbol() string

func (*ReqUTXOGlobalIndex) GetMixCount

func (x *ReqUTXOGlobalIndex) GetMixCount() int32

func (*ReqUTXOGlobalIndex) ProtoMessage

func (*ReqUTXOGlobalIndex) ProtoMessage()

func (*ReqUTXOGlobalIndex) ProtoReflect added in v1.65.3

func (x *ReqUTXOGlobalIndex) ProtoReflect() protoreflect.Message

func (*ReqUTXOGlobalIndex) Reset

func (x *ReqUTXOGlobalIndex) Reset()

func (*ReqUTXOGlobalIndex) String

func (x *ReqUTXOGlobalIndex) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReqUTXOPubKeys) Descriptor deprecated

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

Deprecated: Use ReqUTXOPubKeys.ProtoReflect.Descriptor instead.

func (*ReqUTXOPubKeys) GetGroupUTXOGlobalIndex

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

func (*ReqUTXOPubKeys) GetTokenName

func (x *ReqUTXOPubKeys) GetTokenName() string

func (*ReqUTXOPubKeys) ProtoMessage

func (*ReqUTXOPubKeys) ProtoMessage()

func (*ReqUTXOPubKeys) ProtoReflect added in v1.65.3

func (x *ReqUTXOPubKeys) ProtoReflect() protoreflect.Message

func (*ReqUTXOPubKeys) Reset

func (x *ReqUTXOPubKeys) Reset()

func (*ReqUTXOPubKeys) String

func (x *ReqUTXOPubKeys) String() string

type ResUTXOGlobalIndex

type ResUTXOGlobalIndex struct {
	UtxoIndex4Amount []*UTXOIndex4Amount `protobuf:"bytes,3,rep,name=utxoIndex4Amount,proto3" json:"utxoIndex4Amount,omitempty"`
	// contains filtered or unexported fields
}

func (*ResUTXOGlobalIndex) Descriptor deprecated

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

Deprecated: Use ResUTXOGlobalIndex.ProtoReflect.Descriptor instead.

func (*ResUTXOGlobalIndex) GetUtxoIndex4Amount

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

func (*ResUTXOGlobalIndex) ProtoMessage

func (*ResUTXOGlobalIndex) ProtoMessage()

func (*ResUTXOGlobalIndex) ProtoReflect added in v1.65.3

func (x *ResUTXOGlobalIndex) ProtoReflect() protoreflect.Message

func (*ResUTXOGlobalIndex) Reset

func (x *ResUTXOGlobalIndex) Reset()

func (*ResUTXOGlobalIndex) String

func (x *ResUTXOGlobalIndex) String() string

type ResUTXOPubKeys

type ResUTXOPubKeys struct {
	GroupUTXOPubKeys []*GroupUTXOPubKey `protobuf:"bytes,1,rep,name=groupUTXOPubKeys,proto3" json:"groupUTXOPubKeys,omitempty"`
	// contains filtered or unexported fields
}

func (*ResUTXOPubKeys) Descriptor deprecated

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

Deprecated: Use ResUTXOPubKeys.ProtoReflect.Descriptor instead.

func (*ResUTXOPubKeys) GetGroupUTXOPubKeys

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

func (*ResUTXOPubKeys) ProtoMessage

func (*ResUTXOPubKeys) ProtoMessage()

func (*ResUTXOPubKeys) ProtoReflect added in v1.65.3

func (x *ResUTXOPubKeys) ProtoReflect() protoreflect.Message

func (*ResUTXOPubKeys) Reset

func (x *ResUTXOPubKeys) Reset()

func (*ResUTXOPubKeys) String

func (x *ResUTXOPubKeys) String() string

type TokenNamesOfUTXO

type TokenNamesOfUTXO struct {
	TokensMap map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TokenNamesOfUTXO) Descriptor deprecated

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

Deprecated: Use TokenNamesOfUTXO.ProtoReflect.Descriptor instead.

func (*TokenNamesOfUTXO) GetTokensMap

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

func (*TokenNamesOfUTXO) ProtoMessage

func (*TokenNamesOfUTXO) ProtoMessage()

func (*TokenNamesOfUTXO) ProtoReflect added in v1.65.3

func (x *TokenNamesOfUTXO) ProtoReflect() protoreflect.Message

func (*TokenNamesOfUTXO) Reset

func (x *TokenNamesOfUTXO) Reset()

func (*TokenNamesOfUTXO) String

func (x *TokenNamesOfUTXO) String() string

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"`
	// contains filtered or unexported fields
}

func (*UTXO) Descriptor deprecated

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

Deprecated: Use UTXO.ProtoReflect.Descriptor instead.

func (*UTXO) GetAmount

func (x *UTXO) GetAmount() int64

func (*UTXO) GetUtxoBasic

func (x *UTXO) GetUtxoBasic() *UTXOBasic

func (*UTXO) ProtoMessage

func (*UTXO) ProtoMessage()

func (*UTXO) ProtoReflect added in v1.65.3

func (x *UTXO) ProtoReflect() protoreflect.Message

func (*UTXO) Reset

func (x *UTXO) Reset()

func (*UTXO) String

func (x *UTXO) String() string

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"`
	// contains filtered or unexported fields
}

func (*UTXOBasic) Descriptor deprecated

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

Deprecated: Use UTXOBasic.ProtoReflect.Descriptor instead.

func (*UTXOBasic) GetOnetimePubkey

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

func (*UTXOBasic) GetUtxoGlobalIndex

func (x *UTXOBasic) GetUtxoGlobalIndex() *UTXOGlobalIndex

func (*UTXOBasic) ProtoMessage

func (*UTXOBasic) ProtoMessage()

func (*UTXOBasic) ProtoReflect added in v1.65.3

func (x *UTXOBasic) ProtoReflect() protoreflect.Message

func (*UTXOBasic) Reset

func (x *UTXOBasic) Reset()

func (*UTXOBasic) String

func (x *UTXOBasic) String() string

type UTXOBasics

type UTXOBasics struct {
	Utxos []*UTXOBasic `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	// contains filtered or unexported fields
}

func (*UTXOBasics) Descriptor deprecated

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

Deprecated: Use UTXOBasics.ProtoReflect.Descriptor instead.

func (*UTXOBasics) GetUtxos

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

func (*UTXOBasics) ProtoMessage

func (*UTXOBasics) ProtoMessage()

func (*UTXOBasics) ProtoReflect added in v1.65.3

func (x *UTXOBasics) ProtoReflect() protoreflect.Message

func (*UTXOBasics) Reset

func (x *UTXOBasics) Reset()

func (*UTXOBasics) String

func (x *UTXOBasics) String() string

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"`
	// contains filtered or unexported fields
}

func (*UTXOGlobalIndex) Descriptor deprecated

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

Deprecated: Use UTXOGlobalIndex.ProtoReflect.Descriptor instead.

func (*UTXOGlobalIndex) GetOutindex

func (x *UTXOGlobalIndex) GetOutindex() int32

func (*UTXOGlobalIndex) GetTxhash

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

func (*UTXOGlobalIndex) ProtoMessage

func (*UTXOGlobalIndex) ProtoMessage()

func (*UTXOGlobalIndex) ProtoReflect added in v1.65.3

func (x *UTXOGlobalIndex) ProtoReflect() protoreflect.Message

func (*UTXOGlobalIndex) Reset

func (x *UTXOGlobalIndex) Reset()

func (*UTXOGlobalIndex) String

func (x *UTXOGlobalIndex) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*UTXOGlobalIndex4Print) Descriptor deprecated

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

Deprecated: Use UTXOGlobalIndex4Print.ProtoReflect.Descriptor instead.

func (*UTXOGlobalIndex4Print) GetOutindex

func (x *UTXOGlobalIndex4Print) GetOutindex() int32

func (*UTXOGlobalIndex4Print) GetTxhash

func (x *UTXOGlobalIndex4Print) GetTxhash() string

func (*UTXOGlobalIndex4Print) ProtoMessage

func (*UTXOGlobalIndex4Print) ProtoMessage()

func (*UTXOGlobalIndex4Print) ProtoReflect added in v1.65.3

func (x *UTXOGlobalIndex4Print) ProtoReflect() protoreflect.Message

func (*UTXOGlobalIndex4Print) Reset

func (x *UTXOGlobalIndex4Print) Reset()

func (*UTXOGlobalIndex4Print) String

func (x *UTXOGlobalIndex4Print) String() string

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"`
	// contains filtered or unexported fields
}

func (*UTXOHaveTxHash) Descriptor deprecated

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

Deprecated: Use UTXOHaveTxHash.ProtoReflect.Descriptor instead.

func (*UTXOHaveTxHash) GetAmount

func (x *UTXOHaveTxHash) GetAmount() int64

func (*UTXOHaveTxHash) GetTxHash

func (x *UTXOHaveTxHash) GetTxHash() string

func (*UTXOHaveTxHash) GetUtxoBasic

func (x *UTXOHaveTxHash) GetUtxoBasic() *UTXOBasic

func (*UTXOHaveTxHash) ProtoMessage

func (*UTXOHaveTxHash) ProtoMessage()

func (*UTXOHaveTxHash) ProtoReflect added in v1.65.3

func (x *UTXOHaveTxHash) ProtoReflect() protoreflect.Message

func (*UTXOHaveTxHash) Reset

func (x *UTXOHaveTxHash) Reset()

func (*UTXOHaveTxHash) String

func (x *UTXOHaveTxHash) String() string

type UTXOHaveTxHashs

type UTXOHaveTxHashs struct {
	UtxoHaveTxHashs []*UTXOHaveTxHash `protobuf:"bytes,1,rep,name=utxoHaveTxHashs,proto3" json:"utxoHaveTxHashs,omitempty"`
	// contains filtered or unexported fields
}

func (*UTXOHaveTxHashs) Descriptor deprecated

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

Deprecated: Use UTXOHaveTxHashs.ProtoReflect.Descriptor instead.

func (*UTXOHaveTxHashs) GetUtxoHaveTxHashs

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

func (*UTXOHaveTxHashs) ProtoMessage

func (*UTXOHaveTxHashs) ProtoMessage()

func (*UTXOHaveTxHashs) ProtoReflect added in v1.65.3

func (x *UTXOHaveTxHashs) ProtoReflect() protoreflect.Message

func (*UTXOHaveTxHashs) Reset

func (x *UTXOHaveTxHashs) Reset()

func (*UTXOHaveTxHashs) String

func (x *UTXOHaveTxHashs) String() string

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"`
	// contains filtered or unexported fields
}

func (*UTXOIndex4Amount) Descriptor deprecated

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

Deprecated: Use UTXOIndex4Amount.ProtoReflect.Descriptor instead.

func (*UTXOIndex4Amount) GetAmount

func (x *UTXOIndex4Amount) GetAmount() int64

func (*UTXOIndex4Amount) GetUtxos

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

func (*UTXOIndex4Amount) ProtoMessage

func (*UTXOIndex4Amount) ProtoMessage()

func (*UTXOIndex4Amount) ProtoReflect added in v1.65.3

func (x *UTXOIndex4Amount) ProtoReflect() protoreflect.Message

func (*UTXOIndex4Amount) Reset

func (x *UTXOIndex4Amount) Reset()

func (*UTXOIndex4Amount) String

func (x *UTXOIndex4Amount) String() string

type UTXOs

type UTXOs struct {
	Utxos []*UTXO `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	// contains filtered or unexported fields
}

func (*UTXOs) Descriptor deprecated

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

Deprecated: Use UTXOs.ProtoReflect.Descriptor instead.

func (*UTXOs) GetUtxos

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

func (*UTXOs) ProtoMessage

func (*UTXOs) ProtoMessage()

func (*UTXOs) ProtoReflect added in v1.65.3

func (x *UTXOs) ProtoReflect() protoreflect.Message

func (*UTXOs) Reset

func (x *UTXOs) Reset()

func (*UTXOs) String

func (x *UTXOs) String() string

type UnimplementedPrivacyServer

type UnimplementedPrivacyServer struct {
}

UnimplementedPrivacyServer can be embedded to have forward compatible implementations.

func (*UnimplementedPrivacyServer) CreateRawTransaction

func (*UnimplementedPrivacyServer) EnablePrivacy

func (*UnimplementedPrivacyServer) RescanUtxos

func (*UnimplementedPrivacyServer) ShowPrivacyKey

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"`
	// contains filtered or unexported fields
}

func (*WalletAccountPrivacy) Descriptor deprecated

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

Deprecated: Use WalletAccountPrivacy.ProtoReflect.Descriptor instead.

func (*WalletAccountPrivacy) GetSpendPrivKey

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

func (*WalletAccountPrivacy) GetSpendPubkey

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

func (*WalletAccountPrivacy) GetViewPrivKey

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

func (*WalletAccountPrivacy) GetViewPubkey

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

func (*WalletAccountPrivacy) ProtoMessage

func (*WalletAccountPrivacy) ProtoMessage()

func (*WalletAccountPrivacy) ProtoReflect added in v1.65.3

func (x *WalletAccountPrivacy) ProtoReflect() protoreflect.Message

func (*WalletAccountPrivacy) Reset

func (x *WalletAccountPrivacy) Reset()

func (*WalletAccountPrivacy) String

func (x *WalletAccountPrivacy) String() string

Jump to

Keyboard shortcuts

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