api

package
v0.0.0-...-8aa3736 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReturnResponseCode_name = map[int32]string{
		0:  "SUCCESS",
		1:  "SIGERROR",
		2:  "CONTRACT_VALIDATE_ERROR",
		3:  "CONTRACT_EXE_ERROR",
		4:  "BANDWITH_ERROR",
		5:  "DUP_TRANSACTION_ERROR",
		6:  "TAPOS_ERROR",
		7:  "TOO_BIG_TRANSACTION_ERROR",
		8:  "TRANSACTION_EXPIRATION_ERROR",
		9:  "SERVER_BUSY",
		10: "NO_CONNECTION",
		11: "NOT_ENOUGH_EFFECTIVE_CONNECTION",
		20: "OTHER_ERROR",
	}
	ReturnResponseCode_value = map[string]int32{
		"SUCCESS":                         0,
		"SIGERROR":                        1,
		"CONTRACT_VALIDATE_ERROR":         2,
		"CONTRACT_EXE_ERROR":              3,
		"BANDWITH_ERROR":                  4,
		"DUP_TRANSACTION_ERROR":           5,
		"TAPOS_ERROR":                     6,
		"TOO_BIG_TRANSACTION_ERROR":       7,
		"TRANSACTION_EXPIRATION_ERROR":    8,
		"SERVER_BUSY":                     9,
		"NO_CONNECTION":                   10,
		"NOT_ENOUGH_EFFECTIVE_CONNECTION": 11,
		"OTHER_ERROR":                     20,
	}
)

Enum value maps for ReturnResponseCode.

View Source
var (
	TransactionSignWeight_ResultResponseCode_name = map[int32]string{
		0:  "ENOUGH_PERMISSION",
		1:  "NOT_ENOUGH_PERMISSION",
		2:  "SIGNATURE_FORMAT_ERROR",
		3:  "COMPUTE_ADDRESS_ERROR",
		4:  "PERMISSION_ERROR",
		20: "OTHER_ERROR",
	}
	TransactionSignWeight_ResultResponseCode_value = map[string]int32{
		"ENOUGH_PERMISSION":      0,
		"NOT_ENOUGH_PERMISSION":  1,
		"SIGNATURE_FORMAT_ERROR": 2,
		"COMPUTE_ADDRESS_ERROR":  3,
		"PERMISSION_ERROR":       4,
		"OTHER_ERROR":            20,
	}
)

Enum value maps for TransactionSignWeight_ResultResponseCode.

View Source
var (
	TransactionApprovedList_ResultResponseCode_name = map[int32]string{
		0:  "SUCCESS",
		1:  "SIGNATURE_FORMAT_ERROR",
		2:  "COMPUTE_ADDRESS_ERROR",
		20: "OTHER_ERROR",
	}
	TransactionApprovedList_ResultResponseCode_value = map[string]int32{
		"SUCCESS":                0,
		"SIGNATURE_FORMAT_ERROR": 1,
		"COMPUTE_ADDRESS_ERROR":  2,
		"OTHER_ERROR":            20,
	}
)

Enum value maps for TransactionApprovedList_ResultResponseCode.

View Source
var (
	ZksnarkResponse_Code_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILED",
	}
	ZksnarkResponse_Code_value = map[string]int32{
		"SUCCESS": 0,
		"FAILED":  1,
	}
)

Enum value maps for ZksnarkResponse_Code.

View Source
var File_api_api_proto protoreflect.FileDescriptor
View Source
var File_api_zksnark_proto protoreflect.FileDescriptor

Functions

func RegisterDatabaseServer

func RegisterDatabaseServer(s *grpc.Server, srv DatabaseServer)

func RegisterNetworkServer

func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)

func RegisterTronZksnarkServer

func RegisterTronZksnarkServer(s *grpc.Server, srv TronZksnarkServer)

func RegisterWalletExtensionServer

func RegisterWalletExtensionServer(s *grpc.Server, srv WalletExtensionServer)

func RegisterWalletServer

func RegisterWalletServer(s *grpc.Server, srv WalletServer)

func RegisterWalletSolidityServer

func RegisterWalletSolidityServer(s *grpc.Server, srv WalletSolidityServer)

Types

type AccountNetMessage

type AccountNetMessage struct {
	FreeNetUsed    int64            `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"`
	FreeNetLimit   int64            `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"`
	NetUsed        int64            `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"`
	NetLimit       int64            `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"`
	AssetNetUsed   map[string]int64 `` /* 166-byte string literal not displayed */
	AssetNetLimit  map[string]int64 `` /* 168-byte string literal not displayed */
	TotalNetLimit  int64            `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"`
	TotalNetWeight int64            `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"`
	// contains filtered or unexported fields
}

deprecated

func (*AccountNetMessage) Descriptor deprecated

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

Deprecated: Use AccountNetMessage.ProtoReflect.Descriptor instead.

func (*AccountNetMessage) GetAssetNetLimit

func (x *AccountNetMessage) GetAssetNetLimit() map[string]int64

func (*AccountNetMessage) GetAssetNetUsed

func (x *AccountNetMessage) GetAssetNetUsed() map[string]int64

func (*AccountNetMessage) GetFreeNetLimit

func (x *AccountNetMessage) GetFreeNetLimit() int64

func (*AccountNetMessage) GetFreeNetUsed

func (x *AccountNetMessage) GetFreeNetUsed() int64

func (*AccountNetMessage) GetNetLimit

func (x *AccountNetMessage) GetNetLimit() int64

func (*AccountNetMessage) GetNetUsed

func (x *AccountNetMessage) GetNetUsed() int64

func (*AccountNetMessage) GetTotalNetLimit

func (x *AccountNetMessage) GetTotalNetLimit() int64

func (*AccountNetMessage) GetTotalNetWeight

func (x *AccountNetMessage) GetTotalNetWeight() int64

func (*AccountNetMessage) ProtoMessage

func (*AccountNetMessage) ProtoMessage()

func (*AccountNetMessage) ProtoReflect

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

func (*AccountNetMessage) Reset

func (x *AccountNetMessage) Reset()

func (*AccountNetMessage) String

func (x *AccountNetMessage) String() string

type AccountPaginated

type AccountPaginated struct {
	Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Offset  int64         `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit   int64         `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountPaginated) Descriptor deprecated

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

Deprecated: Use AccountPaginated.ProtoReflect.Descriptor instead.

func (*AccountPaginated) GetAccount

func (x *AccountPaginated) GetAccount() *core.Account

func (*AccountPaginated) GetLimit

func (x *AccountPaginated) GetLimit() int64

func (*AccountPaginated) GetOffset

func (x *AccountPaginated) GetOffset() int64

func (*AccountPaginated) ProtoMessage

func (*AccountPaginated) ProtoMessage()

func (*AccountPaginated) ProtoReflect

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

func (*AccountPaginated) Reset

func (x *AccountPaginated) Reset()

func (*AccountPaginated) String

func (x *AccountPaginated) String() string

type AccountResourceMessage

type AccountResourceMessage struct {
	FreeNetUsed       int64            `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"`
	FreeNetLimit      int64            `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"`
	NetUsed           int64            `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"`
	NetLimit          int64            `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"`
	AssetNetUsed      map[string]int64 `` /* 166-byte string literal not displayed */
	AssetNetLimit     map[string]int64 `` /* 168-byte string literal not displayed */
	TotalNetLimit     int64            `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"`
	TotalNetWeight    int64            `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"`
	EnergyUsed        int64            `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"`
	EnergyLimit       int64            `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"`
	TotalEnergyLimit  int64            `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"`
	TotalEnergyWeight int64            `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"`
	StorageUsed       int64            `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"`
	StorageLimit      int64            `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountResourceMessage) Descriptor deprecated

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

Deprecated: Use AccountResourceMessage.ProtoReflect.Descriptor instead.

func (*AccountResourceMessage) GetAssetNetLimit

func (x *AccountResourceMessage) GetAssetNetLimit() map[string]int64

func (*AccountResourceMessage) GetAssetNetUsed

func (x *AccountResourceMessage) GetAssetNetUsed() map[string]int64

func (*AccountResourceMessage) GetEnergyLimit

func (x *AccountResourceMessage) GetEnergyLimit() int64

func (*AccountResourceMessage) GetEnergyUsed

func (x *AccountResourceMessage) GetEnergyUsed() int64

func (*AccountResourceMessage) GetFreeNetLimit

func (x *AccountResourceMessage) GetFreeNetLimit() int64

func (*AccountResourceMessage) GetFreeNetUsed

func (x *AccountResourceMessage) GetFreeNetUsed() int64

func (*AccountResourceMessage) GetNetLimit

func (x *AccountResourceMessage) GetNetLimit() int64

func (*AccountResourceMessage) GetNetUsed

func (x *AccountResourceMessage) GetNetUsed() int64

func (*AccountResourceMessage) GetStorageLimit

func (x *AccountResourceMessage) GetStorageLimit() int64

func (*AccountResourceMessage) GetStorageUsed

func (x *AccountResourceMessage) GetStorageUsed() int64

func (*AccountResourceMessage) GetTotalEnergyLimit

func (x *AccountResourceMessage) GetTotalEnergyLimit() int64

func (*AccountResourceMessage) GetTotalEnergyWeight

func (x *AccountResourceMessage) GetTotalEnergyWeight() int64

func (*AccountResourceMessage) GetTotalNetLimit

func (x *AccountResourceMessage) GetTotalNetLimit() int64

func (*AccountResourceMessage) GetTotalNetWeight

func (x *AccountResourceMessage) GetTotalNetWeight() int64

func (*AccountResourceMessage) ProtoMessage

func (*AccountResourceMessage) ProtoMessage()

func (*AccountResourceMessage) ProtoReflect

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

func (*AccountResourceMessage) Reset

func (x *AccountResourceMessage) Reset()

func (*AccountResourceMessage) String

func (x *AccountResourceMessage) String() string

type Address

type Address struct {
	Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Gossip node address

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetHost

func (x *Address) GetHost() []byte

func (*Address) GetPort

func (x *Address) GetPort() int32

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type AddressPrKeyPairMessage

type AddressPrKeyPairMessage struct {
	Address    string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressPrKeyPairMessage) Descriptor deprecated

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

Deprecated: Use AddressPrKeyPairMessage.ProtoReflect.Descriptor instead.

func (*AddressPrKeyPairMessage) GetAddress

func (x *AddressPrKeyPairMessage) GetAddress() string

func (*AddressPrKeyPairMessage) GetPrivateKey

func (x *AddressPrKeyPairMessage) GetPrivateKey() string

func (*AddressPrKeyPairMessage) ProtoMessage

func (*AddressPrKeyPairMessage) ProtoMessage()

func (*AddressPrKeyPairMessage) ProtoReflect

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

func (*AddressPrKeyPairMessage) Reset

func (x *AddressPrKeyPairMessage) Reset()

func (*AddressPrKeyPairMessage) String

func (x *AddressPrKeyPairMessage) String() string

type AssetIssueList

type AssetIssueList struct {
	AssetIssue []*core.AssetIssueContract `protobuf:"bytes,1,rep,name=assetIssue,proto3" json:"assetIssue,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetIssueList) Descriptor deprecated

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

Deprecated: Use AssetIssueList.ProtoReflect.Descriptor instead.

func (*AssetIssueList) GetAssetIssue

func (x *AssetIssueList) GetAssetIssue() []*core.AssetIssueContract

func (*AssetIssueList) ProtoMessage

func (*AssetIssueList) ProtoMessage()

func (*AssetIssueList) ProtoReflect

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

func (*AssetIssueList) Reset

func (x *AssetIssueList) Reset()

func (*AssetIssueList) String

func (x *AssetIssueList) String() string

type BlockExtention

type BlockExtention struct {
	Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	BlockHeader  *core.BlockHeader       `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	Blockid      []byte                  `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockExtention) Descriptor deprecated

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

Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead.

func (*BlockExtention) GetBlockHeader

func (x *BlockExtention) GetBlockHeader() *core.BlockHeader

func (*BlockExtention) GetBlockid

func (x *BlockExtention) GetBlockid() []byte

func (*BlockExtention) GetTransactions

func (x *BlockExtention) GetTransactions() []*TransactionExtention

func (*BlockExtention) ProtoMessage

func (*BlockExtention) ProtoMessage()

func (*BlockExtention) ProtoReflect

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

func (*BlockExtention) Reset

func (x *BlockExtention) Reset()

func (*BlockExtention) String

func (x *BlockExtention) String() string

type BlockIncrementalMerkleTree

type BlockIncrementalMerkleTree struct {
	Number     int64                       `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockIncrementalMerkleTree) Descriptor deprecated

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

Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead.

func (*BlockIncrementalMerkleTree) GetMerkleTree

func (*BlockIncrementalMerkleTree) GetNumber

func (x *BlockIncrementalMerkleTree) GetNumber() int64

func (*BlockIncrementalMerkleTree) ProtoMessage

func (*BlockIncrementalMerkleTree) ProtoMessage()

func (*BlockIncrementalMerkleTree) ProtoReflect

func (*BlockIncrementalMerkleTree) Reset

func (x *BlockIncrementalMerkleTree) Reset()

func (*BlockIncrementalMerkleTree) String

func (x *BlockIncrementalMerkleTree) String() string

type BlockLimit

type BlockLimit struct {
	StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"`
	EndNum   int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockLimit) Descriptor deprecated

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

Deprecated: Use BlockLimit.ProtoReflect.Descriptor instead.

func (*BlockLimit) GetEndNum

func (x *BlockLimit) GetEndNum() int64

func (*BlockLimit) GetStartNum

func (x *BlockLimit) GetStartNum() int64

func (*BlockLimit) ProtoMessage

func (*BlockLimit) ProtoMessage()

func (*BlockLimit) ProtoReflect

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

func (*BlockLimit) Reset

func (x *BlockLimit) Reset()

func (*BlockLimit) String

func (x *BlockLimit) String() string

type BlockList

type BlockList struct {
	Block []*core.Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockList) Descriptor deprecated

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

Deprecated: Use BlockList.ProtoReflect.Descriptor instead.

func (*BlockList) GetBlock

func (x *BlockList) GetBlock() []*core.Block

func (*BlockList) ProtoMessage

func (*BlockList) ProtoMessage()

func (*BlockList) ProtoReflect

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

func (*BlockList) Reset

func (x *BlockList) Reset()

func (*BlockList) String

func (x *BlockList) String() string

type BlockListExtention

type BlockListExtention struct {
	Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockListExtention) Descriptor deprecated

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

Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead.

func (*BlockListExtention) GetBlock

func (x *BlockListExtention) GetBlock() []*BlockExtention

func (*BlockListExtention) ProtoMessage

func (*BlockListExtention) ProtoMessage()

func (*BlockListExtention) ProtoReflect

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

func (*BlockListExtention) Reset

func (x *BlockListExtention) Reset()

func (*BlockListExtention) String

func (x *BlockListExtention) String() string

type BlockReference

type BlockReference struct {
	BlockNum  int64  `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockReference) Descriptor deprecated

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

Deprecated: Use BlockReference.ProtoReflect.Descriptor instead.

func (*BlockReference) GetBlockHash

func (x *BlockReference) GetBlockHash() []byte

func (*BlockReference) GetBlockNum

func (x *BlockReference) GetBlockNum() int64

func (*BlockReference) ProtoMessage

func (*BlockReference) ProtoMessage()

func (*BlockReference) ProtoReflect

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

func (*BlockReference) Reset

func (x *BlockReference) Reset()

func (*BlockReference) String

func (x *BlockReference) String() string

type BytesMessage

type BytesMessage struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesMessage) Descriptor deprecated

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

Deprecated: Use BytesMessage.ProtoReflect.Descriptor instead.

func (*BytesMessage) GetValue

func (x *BytesMessage) GetValue() []byte

func (*BytesMessage) ProtoMessage

func (*BytesMessage) ProtoMessage()

func (*BytesMessage) ProtoReflect

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

func (*BytesMessage) Reset

func (x *BytesMessage) Reset()

func (*BytesMessage) String

func (x *BytesMessage) String() string

type DatabaseClient

type DatabaseClient interface {
	// for tapos
	GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error)
	GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error)
	GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error)
	GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error)
}

DatabaseClient is the client API for Database service.

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

func NewDatabaseClient

func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient

type DatabaseServer

type DatabaseServer interface {
	// for tapos
	GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error)
	GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error)
	GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error)
	GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error)
}

DatabaseServer is the server API for Database service.

type DecryptNotes

type DecryptNotes struct {
	NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotes) Descriptor deprecated

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

Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead.

func (*DecryptNotes) GetNoteTxs

func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx

func (*DecryptNotes) ProtoMessage

func (*DecryptNotes) ProtoMessage()

func (*DecryptNotes) ProtoReflect

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

func (*DecryptNotes) Reset

func (x *DecryptNotes) Reset()

func (*DecryptNotes) String

func (x *DecryptNotes) String() string

type DecryptNotesMarked

type DecryptNotesMarked struct {
	NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotesMarked) Descriptor deprecated

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

Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead.

func (*DecryptNotesMarked) GetNoteTxs

func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx

func (*DecryptNotesMarked) ProtoMessage

func (*DecryptNotesMarked) ProtoMessage()

func (*DecryptNotesMarked) ProtoReflect

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

func (*DecryptNotesMarked) Reset

func (x *DecryptNotesMarked) Reset()

func (*DecryptNotesMarked) String

func (x *DecryptNotesMarked) String() string

type DecryptNotesMarked_NoteTx

type DecryptNotesMarked_NoteTx struct {
	Note    *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Txid    []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`    //transaction id = sha256(transaction.raw_data)
	Index   int32  `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive
	IsSpend bool   `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotesMarked_NoteTx) Descriptor deprecated

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

Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead.

func (*DecryptNotesMarked_NoteTx) GetIndex

func (x *DecryptNotesMarked_NoteTx) GetIndex() int32

func (*DecryptNotesMarked_NoteTx) GetIsSpend

func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool

func (*DecryptNotesMarked_NoteTx) GetNote

func (x *DecryptNotesMarked_NoteTx) GetNote() *Note

func (*DecryptNotesMarked_NoteTx) GetTxid

func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte

func (*DecryptNotesMarked_NoteTx) ProtoMessage

func (*DecryptNotesMarked_NoteTx) ProtoMessage()

func (*DecryptNotesMarked_NoteTx) ProtoReflect

func (*DecryptNotesMarked_NoteTx) Reset

func (x *DecryptNotesMarked_NoteTx) Reset()

func (*DecryptNotesMarked_NoteTx) String

func (x *DecryptNotesMarked_NoteTx) String() string

type DecryptNotes_NoteTx

type DecryptNotes_NoteTx struct {
	Note  *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Txid  []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`    //transaction id = sha256(transaction.raw_data)
	Index int32  `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive
	// contains filtered or unexported fields
}

func (*DecryptNotes_NoteTx) Descriptor deprecated

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

Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead.

func (*DecryptNotes_NoteTx) GetIndex

func (x *DecryptNotes_NoteTx) GetIndex() int32

func (*DecryptNotes_NoteTx) GetNote

func (x *DecryptNotes_NoteTx) GetNote() *Note

func (*DecryptNotes_NoteTx) GetTxid

func (x *DecryptNotes_NoteTx) GetTxid() []byte

func (*DecryptNotes_NoteTx) ProtoMessage

func (*DecryptNotes_NoteTx) ProtoMessage()

func (*DecryptNotes_NoteTx) ProtoReflect

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

func (*DecryptNotes_NoteTx) Reset

func (x *DecryptNotes_NoteTx) Reset()

func (*DecryptNotes_NoteTx) String

func (x *DecryptNotes_NoteTx) String() string

type DelegatedResourceList

type DelegatedResourceList struct {
	DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"`
	// contains filtered or unexported fields
}

func (*DelegatedResourceList) Descriptor deprecated

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

Deprecated: Use DelegatedResourceList.ProtoReflect.Descriptor instead.

func (*DelegatedResourceList) GetDelegatedResource

func (x *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource

func (*DelegatedResourceList) ProtoMessage

func (*DelegatedResourceList) ProtoMessage()

func (*DelegatedResourceList) ProtoReflect

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

func (*DelegatedResourceList) Reset

func (x *DelegatedResourceList) Reset()

func (*DelegatedResourceList) String

func (x *DelegatedResourceList) String() string

type DelegatedResourceMessage

type DelegatedResourceMessage struct {
	FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"`
	ToAddress   []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*DelegatedResourceMessage) Descriptor deprecated

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

Deprecated: Use DelegatedResourceMessage.ProtoReflect.Descriptor instead.

func (*DelegatedResourceMessage) GetFromAddress

func (x *DelegatedResourceMessage) GetFromAddress() []byte

func (*DelegatedResourceMessage) GetToAddress

func (x *DelegatedResourceMessage) GetToAddress() []byte

func (*DelegatedResourceMessage) ProtoMessage

func (*DelegatedResourceMessage) ProtoMessage()

func (*DelegatedResourceMessage) ProtoReflect

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

func (*DelegatedResourceMessage) Reset

func (x *DelegatedResourceMessage) Reset()

func (*DelegatedResourceMessage) String

func (x *DelegatedResourceMessage) String() string

type DiversifierMessage

type DiversifierMessage struct {
	D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*DiversifierMessage) Descriptor deprecated

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

Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead.

func (*DiversifierMessage) GetD

func (x *DiversifierMessage) GetD() []byte

func (*DiversifierMessage) ProtoMessage

func (*DiversifierMessage) ProtoMessage()

func (*DiversifierMessage) ProtoReflect

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

func (*DiversifierMessage) Reset

func (x *DiversifierMessage) Reset()

func (*DiversifierMessage) String

func (x *DiversifierMessage) String() string

type EasyTransferAssetByPrivateMessage

type EasyTransferAssetByPrivateMessage struct {
	PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	AssetId    string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"`
	Amount     int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferAssetByPrivateMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferAssetByPrivateMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferAssetByPrivateMessage) GetAmount

func (*EasyTransferAssetByPrivateMessage) GetAssetId

func (x *EasyTransferAssetByPrivateMessage) GetAssetId() string

func (*EasyTransferAssetByPrivateMessage) GetPrivateKey

func (x *EasyTransferAssetByPrivateMessage) GetPrivateKey() []byte

func (*EasyTransferAssetByPrivateMessage) GetToAddress

func (x *EasyTransferAssetByPrivateMessage) GetToAddress() []byte

func (*EasyTransferAssetByPrivateMessage) ProtoMessage

func (*EasyTransferAssetByPrivateMessage) ProtoMessage()

func (*EasyTransferAssetByPrivateMessage) ProtoReflect

func (*EasyTransferAssetByPrivateMessage) Reset

func (*EasyTransferAssetByPrivateMessage) String

type EasyTransferAssetMessage

type EasyTransferAssetMessage struct {
	PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	AssetId    string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"`
	Amount     int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferAssetMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferAssetMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferAssetMessage) GetAmount

func (x *EasyTransferAssetMessage) GetAmount() int64

func (*EasyTransferAssetMessage) GetAssetId

func (x *EasyTransferAssetMessage) GetAssetId() string

func (*EasyTransferAssetMessage) GetPassPhrase

func (x *EasyTransferAssetMessage) GetPassPhrase() []byte

func (*EasyTransferAssetMessage) GetToAddress

func (x *EasyTransferAssetMessage) GetToAddress() []byte

func (*EasyTransferAssetMessage) ProtoMessage

func (*EasyTransferAssetMessage) ProtoMessage()

func (*EasyTransferAssetMessage) ProtoReflect

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

func (*EasyTransferAssetMessage) Reset

func (x *EasyTransferAssetMessage) Reset()

func (*EasyTransferAssetMessage) String

func (x *EasyTransferAssetMessage) String() string

type EasyTransferByPrivateMessage

type EasyTransferByPrivateMessage struct {
	PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	Amount     int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferByPrivateMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferByPrivateMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferByPrivateMessage) GetAmount

func (x *EasyTransferByPrivateMessage) GetAmount() int64

func (*EasyTransferByPrivateMessage) GetPrivateKey

func (x *EasyTransferByPrivateMessage) GetPrivateKey() []byte

func (*EasyTransferByPrivateMessage) GetToAddress

func (x *EasyTransferByPrivateMessage) GetToAddress() []byte

func (*EasyTransferByPrivateMessage) ProtoMessage

func (*EasyTransferByPrivateMessage) ProtoMessage()

func (*EasyTransferByPrivateMessage) ProtoReflect

func (*EasyTransferByPrivateMessage) Reset

func (x *EasyTransferByPrivateMessage) Reset()

func (*EasyTransferByPrivateMessage) String

type EasyTransferMessage

type EasyTransferMessage struct {
	PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	Amount     int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferMessage) GetAmount

func (x *EasyTransferMessage) GetAmount() int64

func (*EasyTransferMessage) GetPassPhrase

func (x *EasyTransferMessage) GetPassPhrase() []byte

func (*EasyTransferMessage) GetToAddress

func (x *EasyTransferMessage) GetToAddress() []byte

func (*EasyTransferMessage) ProtoMessage

func (*EasyTransferMessage) ProtoMessage()

func (*EasyTransferMessage) ProtoReflect

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

func (*EasyTransferMessage) Reset

func (x *EasyTransferMessage) Reset()

func (*EasyTransferMessage) String

func (x *EasyTransferMessage) String() string

type EasyTransferResponse

type EasyTransferResponse struct {
	Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Result      *Return           `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	Txid        []byte            `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.raw_data)
	// contains filtered or unexported fields
}

func (*EasyTransferResponse) Descriptor deprecated

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

Deprecated: Use EasyTransferResponse.ProtoReflect.Descriptor instead.

func (*EasyTransferResponse) GetResult

func (x *EasyTransferResponse) GetResult() *Return

func (*EasyTransferResponse) GetTransaction

func (x *EasyTransferResponse) GetTransaction() *core.Transaction

func (*EasyTransferResponse) GetTxid

func (x *EasyTransferResponse) GetTxid() []byte

func (*EasyTransferResponse) ProtoMessage

func (*EasyTransferResponse) ProtoMessage()

func (*EasyTransferResponse) ProtoReflect

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

func (*EasyTransferResponse) Reset

func (x *EasyTransferResponse) Reset()

func (*EasyTransferResponse) String

func (x *EasyTransferResponse) String() string

type EmptyMessage

type EmptyMessage struct {
	// contains filtered or unexported fields
}

func (*EmptyMessage) Descriptor deprecated

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

Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.

func (*EmptyMessage) ProtoMessage

func (*EmptyMessage) ProtoMessage()

func (*EmptyMessage) ProtoReflect

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

func (*EmptyMessage) Reset

func (x *EmptyMessage) Reset()

func (*EmptyMessage) String

func (x *EmptyMessage) String() string

type ExchangeList

type ExchangeList struct {
	Exchanges []*core.Exchange `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeList) Descriptor deprecated

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

Deprecated: Use ExchangeList.ProtoReflect.Descriptor instead.

func (*ExchangeList) GetExchanges

func (x *ExchangeList) GetExchanges() []*core.Exchange

func (*ExchangeList) ProtoMessage

func (*ExchangeList) ProtoMessage()

func (*ExchangeList) ProtoReflect

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

func (*ExchangeList) Reset

func (x *ExchangeList) Reset()

func (*ExchangeList) String

func (x *ExchangeList) String() string

type ExpandedSpendingKeyMessage

type ExpandedSpendingKeyMessage struct {
	Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandedSpendingKeyMessage) Descriptor deprecated

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

Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead.

func (*ExpandedSpendingKeyMessage) GetAsk

func (x *ExpandedSpendingKeyMessage) GetAsk() []byte

func (*ExpandedSpendingKeyMessage) GetNsk

func (x *ExpandedSpendingKeyMessage) GetNsk() []byte

func (*ExpandedSpendingKeyMessage) GetOvk

func (x *ExpandedSpendingKeyMessage) GetOvk() []byte

func (*ExpandedSpendingKeyMessage) ProtoMessage

func (*ExpandedSpendingKeyMessage) ProtoMessage()

func (*ExpandedSpendingKeyMessage) ProtoReflect

func (*ExpandedSpendingKeyMessage) Reset

func (x *ExpandedSpendingKeyMessage) Reset()

func (*ExpandedSpendingKeyMessage) String

func (x *ExpandedSpendingKeyMessage) String() string

type IncomingViewingKeyDiversifierMessage

type IncomingViewingKeyDiversifierMessage struct {
	Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"`
	D   *DiversifierMessage        `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*IncomingViewingKeyDiversifierMessage) Descriptor deprecated

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

Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead.

func (*IncomingViewingKeyDiversifierMessage) GetD

func (*IncomingViewingKeyDiversifierMessage) GetIvk

func (*IncomingViewingKeyDiversifierMessage) ProtoMessage

func (*IncomingViewingKeyDiversifierMessage) ProtoMessage()

func (*IncomingViewingKeyDiversifierMessage) ProtoReflect

func (*IncomingViewingKeyDiversifierMessage) Reset

func (*IncomingViewingKeyDiversifierMessage) String

type IncomingViewingKeyMessage

type IncomingViewingKeyMessage struct {
	Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"`
	// contains filtered or unexported fields
}

func (*IncomingViewingKeyMessage) Descriptor deprecated

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

Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead.

func (*IncomingViewingKeyMessage) GetIvk

func (x *IncomingViewingKeyMessage) GetIvk() []byte

func (*IncomingViewingKeyMessage) ProtoMessage

func (*IncomingViewingKeyMessage) ProtoMessage()

func (*IncomingViewingKeyMessage) ProtoReflect

func (*IncomingViewingKeyMessage) Reset

func (x *IncomingViewingKeyMessage) Reset()

func (*IncomingViewingKeyMessage) String

func (x *IncomingViewingKeyMessage) String() string

type IvkDecryptAndMarkParameters

type IvkDecryptAndMarkParameters struct {
	StartBlockIndex int64  `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex   int64  `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ivk             []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"`
	Ak              []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk              []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"`
	// contains filtered or unexported fields
}

func (*IvkDecryptAndMarkParameters) Descriptor deprecated

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

Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead.

func (*IvkDecryptAndMarkParameters) GetAk

func (x *IvkDecryptAndMarkParameters) GetAk() []byte

func (*IvkDecryptAndMarkParameters) GetEndBlockIndex

func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64

func (*IvkDecryptAndMarkParameters) GetIvk

func (x *IvkDecryptAndMarkParameters) GetIvk() []byte

func (*IvkDecryptAndMarkParameters) GetNk

func (x *IvkDecryptAndMarkParameters) GetNk() []byte

func (*IvkDecryptAndMarkParameters) GetStartBlockIndex

func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64

func (*IvkDecryptAndMarkParameters) ProtoMessage

func (*IvkDecryptAndMarkParameters) ProtoMessage()

func (*IvkDecryptAndMarkParameters) ProtoReflect

func (*IvkDecryptAndMarkParameters) Reset

func (x *IvkDecryptAndMarkParameters) Reset()

func (*IvkDecryptAndMarkParameters) String

func (x *IvkDecryptAndMarkParameters) String() string

type IvkDecryptParameters

type IvkDecryptParameters struct {
	StartBlockIndex int64  `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex   int64  `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ivk             []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"`
	// contains filtered or unexported fields
}

func (*IvkDecryptParameters) Descriptor deprecated

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

Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead.

func (*IvkDecryptParameters) GetEndBlockIndex

func (x *IvkDecryptParameters) GetEndBlockIndex() int64

func (*IvkDecryptParameters) GetIvk

func (x *IvkDecryptParameters) GetIvk() []byte

func (*IvkDecryptParameters) GetStartBlockIndex

func (x *IvkDecryptParameters) GetStartBlockIndex() int64

func (*IvkDecryptParameters) ProtoMessage

func (*IvkDecryptParameters) ProtoMessage()

func (*IvkDecryptParameters) ProtoReflect

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

func (*IvkDecryptParameters) Reset

func (x *IvkDecryptParameters) Reset()

func (*IvkDecryptParameters) String

func (x *IvkDecryptParameters) String() string

type NetworkClient

type NetworkClient interface {
}

NetworkClient is the client API for Network service.

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

func NewNetworkClient

func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient

type NetworkServer

type NetworkServer interface {
}

NetworkServer is the server API for Network service.

type NfParameters

type NfParameters struct {
	Note    *Note                          `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"`
	Ak      []byte                         `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk      []byte                         `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"`
	// contains filtered or unexported fields
}

func (*NfParameters) Descriptor deprecated

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

Deprecated: Use NfParameters.ProtoReflect.Descriptor instead.

func (*NfParameters) GetAk

func (x *NfParameters) GetAk() []byte

func (*NfParameters) GetNk

func (x *NfParameters) GetNk() []byte

func (*NfParameters) GetNote

func (x *NfParameters) GetNote() *Note

func (*NfParameters) GetVoucher

func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher

func (*NfParameters) ProtoMessage

func (*NfParameters) ProtoMessage()

func (*NfParameters) ProtoReflect

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

func (*NfParameters) Reset

func (x *NfParameters) Reset()

func (*NfParameters) String

func (x *NfParameters) String() string

type Node

type Node struct {
	Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

Gossip node

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAddress

func (x *Node) GetAddress() *Address

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeList

type NodeList struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

Gossip node list

func (*NodeList) Descriptor deprecated

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

Deprecated: Use NodeList.ProtoReflect.Descriptor instead.

func (*NodeList) GetNodes

func (x *NodeList) GetNodes() []*Node

func (*NodeList) ProtoMessage

func (*NodeList) ProtoMessage()

func (*NodeList) ProtoReflect

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

func (*NodeList) Reset

func (x *NodeList) Reset()

func (*NodeList) String

func (x *NodeList) String() string

type Note

type Note struct {
	Value          int64  `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	Rcm            []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32
	Memo           []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*Note) Descriptor deprecated

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

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetMemo

func (x *Note) GetMemo() []byte

func (*Note) GetPaymentAddress

func (x *Note) GetPaymentAddress() string

func (*Note) GetRcm

func (x *Note) GetRcm() []byte

func (*Note) GetValue

func (x *Note) GetValue() int64

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) ProtoReflect

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

func (*Note) Reset

func (x *Note) Reset()

func (*Note) String

func (x *Note) String() string

type NoteParameters

type NoteParameters struct {
	Ak    []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk    []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"`
	Note  *Note  `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Txid  []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"`
	Index int32  `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*NoteParameters) Descriptor deprecated

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

Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead.

func (*NoteParameters) GetAk

func (x *NoteParameters) GetAk() []byte

func (*NoteParameters) GetIndex

func (x *NoteParameters) GetIndex() int32

func (*NoteParameters) GetNk

func (x *NoteParameters) GetNk() []byte

func (*NoteParameters) GetNote

func (x *NoteParameters) GetNote() *Note

func (*NoteParameters) GetTxid

func (x *NoteParameters) GetTxid() []byte

func (*NoteParameters) ProtoMessage

func (*NoteParameters) ProtoMessage()

func (*NoteParameters) ProtoReflect

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

func (*NoteParameters) Reset

func (x *NoteParameters) Reset()

func (*NoteParameters) String

func (x *NoteParameters) String() string

type NumberMessage

type NumberMessage struct {
	Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberMessage) Descriptor deprecated

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

Deprecated: Use NumberMessage.ProtoReflect.Descriptor instead.

func (*NumberMessage) GetNum

func (x *NumberMessage) GetNum() int64

func (*NumberMessage) ProtoMessage

func (*NumberMessage) ProtoMessage()

func (*NumberMessage) ProtoReflect

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

func (*NumberMessage) Reset

func (x *NumberMessage) Reset()

func (*NumberMessage) String

func (x *NumberMessage) String() string

type OvkDecryptParameters

type OvkDecryptParameters struct {
	StartBlockIndex int64  `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex   int64  `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ovk             []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	// contains filtered or unexported fields
}

func (*OvkDecryptParameters) Descriptor deprecated

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

Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead.

func (*OvkDecryptParameters) GetEndBlockIndex

func (x *OvkDecryptParameters) GetEndBlockIndex() int64

func (*OvkDecryptParameters) GetOvk

func (x *OvkDecryptParameters) GetOvk() []byte

func (*OvkDecryptParameters) GetStartBlockIndex

func (x *OvkDecryptParameters) GetStartBlockIndex() int64

func (*OvkDecryptParameters) ProtoMessage

func (*OvkDecryptParameters) ProtoMessage()

func (*OvkDecryptParameters) ProtoReflect

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

func (*OvkDecryptParameters) Reset

func (x *OvkDecryptParameters) Reset()

func (*OvkDecryptParameters) String

func (x *OvkDecryptParameters) String() string

type PaginatedMessage

type PaginatedMessage struct {
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginatedMessage) Descriptor deprecated

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

Deprecated: Use PaginatedMessage.ProtoReflect.Descriptor instead.

func (*PaginatedMessage) GetLimit

func (x *PaginatedMessage) GetLimit() int64

func (*PaginatedMessage) GetOffset

func (x *PaginatedMessage) GetOffset() int64

func (*PaginatedMessage) ProtoMessage

func (*PaginatedMessage) ProtoMessage()

func (*PaginatedMessage) ProtoReflect

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

func (*PaginatedMessage) Reset

func (x *PaginatedMessage) Reset()

func (*PaginatedMessage) String

func (x *PaginatedMessage) String() string

type PaymentAddressMessage

type PaymentAddressMessage struct {
	D              *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"`
	PkD            []byte              `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"`
	PaymentAddress string              `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentAddressMessage) Descriptor deprecated

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

Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead.

func (*PaymentAddressMessage) GetD

func (*PaymentAddressMessage) GetPaymentAddress

func (x *PaymentAddressMessage) GetPaymentAddress() string

func (*PaymentAddressMessage) GetPkD

func (x *PaymentAddressMessage) GetPkD() []byte

func (*PaymentAddressMessage) ProtoMessage

func (*PaymentAddressMessage) ProtoMessage()

func (*PaymentAddressMessage) ProtoReflect

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

func (*PaymentAddressMessage) Reset

func (x *PaymentAddressMessage) Reset()

func (*PaymentAddressMessage) String

func (x *PaymentAddressMessage) String() string

type PrivateParameters

type PrivateParameters struct {
	TransparentFromAddress []byte         `` /* 129-byte string literal not displayed */
	Ask                    []byte         `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk                    []byte         `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk                    []byte         `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"`
	FromAmount             int64          `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	ShieldedSpends         []*SpendNote   `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"`
	ShieldedReceives       []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"`
	TransparentToAddress   []byte         `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	ToAmount               int64          `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateParameters) Descriptor deprecated

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

Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead.

func (*PrivateParameters) GetAsk

func (x *PrivateParameters) GetAsk() []byte

func (*PrivateParameters) GetFromAmount

func (x *PrivateParameters) GetFromAmount() int64

func (*PrivateParameters) GetNsk

func (x *PrivateParameters) GetNsk() []byte

func (*PrivateParameters) GetOvk

func (x *PrivateParameters) GetOvk() []byte

func (*PrivateParameters) GetShieldedReceives

func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote

func (*PrivateParameters) GetShieldedSpends

func (x *PrivateParameters) GetShieldedSpends() []*SpendNote

func (*PrivateParameters) GetToAmount

func (x *PrivateParameters) GetToAmount() int64

func (*PrivateParameters) GetTransparentFromAddress

func (x *PrivateParameters) GetTransparentFromAddress() []byte

func (*PrivateParameters) GetTransparentToAddress

func (x *PrivateParameters) GetTransparentToAddress() []byte

func (*PrivateParameters) ProtoMessage

func (*PrivateParameters) ProtoMessage()

func (*PrivateParameters) ProtoReflect

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

func (*PrivateParameters) Reset

func (x *PrivateParameters) Reset()

func (*PrivateParameters) String

func (x *PrivateParameters) String() string

type PrivateParametersWithoutAsk

type PrivateParametersWithoutAsk struct {
	TransparentFromAddress []byte         `` /* 129-byte string literal not displayed */
	Ak                     []byte         `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"`
	Nsk                    []byte         `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk                    []byte         `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"`
	FromAmount             int64          `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	ShieldedSpends         []*SpendNote   `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"`
	ShieldedReceives       []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"`
	TransparentToAddress   []byte         `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	ToAmount               int64          `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateParametersWithoutAsk) Descriptor deprecated

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

Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead.

func (*PrivateParametersWithoutAsk) GetAk

func (x *PrivateParametersWithoutAsk) GetAk() []byte

func (*PrivateParametersWithoutAsk) GetFromAmount

func (x *PrivateParametersWithoutAsk) GetFromAmount() int64

func (*PrivateParametersWithoutAsk) GetNsk

func (x *PrivateParametersWithoutAsk) GetNsk() []byte

func (*PrivateParametersWithoutAsk) GetOvk

func (x *PrivateParametersWithoutAsk) GetOvk() []byte

func (*PrivateParametersWithoutAsk) GetShieldedReceives

func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote

func (*PrivateParametersWithoutAsk) GetShieldedSpends

func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote

func (*PrivateParametersWithoutAsk) GetToAmount

func (x *PrivateParametersWithoutAsk) GetToAmount() int64

func (*PrivateParametersWithoutAsk) GetTransparentFromAddress

func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte

func (*PrivateParametersWithoutAsk) GetTransparentToAddress

func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte

func (*PrivateParametersWithoutAsk) ProtoMessage

func (*PrivateParametersWithoutAsk) ProtoMessage()

func (*PrivateParametersWithoutAsk) ProtoReflect

func (*PrivateParametersWithoutAsk) Reset

func (x *PrivateParametersWithoutAsk) Reset()

func (*PrivateParametersWithoutAsk) String

func (x *PrivateParametersWithoutAsk) String() string

type ProposalList

type ProposalList struct {
	Proposals []*core.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalList) Descriptor deprecated

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

Deprecated: Use ProposalList.ProtoReflect.Descriptor instead.

func (*ProposalList) GetProposals

func (x *ProposalList) GetProposals() []*core.Proposal

func (*ProposalList) ProtoMessage

func (*ProposalList) ProtoMessage()

func (*ProposalList) ProtoReflect

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

func (*ProposalList) Reset

func (x *ProposalList) Reset()

func (*ProposalList) String

func (x *ProposalList) String() string

type ReceiveNote

type ReceiveNote struct {
	Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiveNote) Descriptor deprecated

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

Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead.

func (*ReceiveNote) GetNote

func (x *ReceiveNote) GetNote() *Note

func (*ReceiveNote) ProtoMessage

func (*ReceiveNote) ProtoMessage()

func (*ReceiveNote) ProtoReflect

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

func (*ReceiveNote) Reset

func (x *ReceiveNote) Reset()

func (*ReceiveNote) String

func (x *ReceiveNote) String() string

type Return

type Return struct {
	Result  bool               `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Code    ReturnResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protocol.ReturnResponseCode" json:"code,omitempty"`
	Message []byte             `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Return) Descriptor deprecated

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

Deprecated: Use Return.ProtoReflect.Descriptor instead.

func (*Return) GetCode

func (x *Return) GetCode() ReturnResponseCode

func (*Return) GetMessage

func (x *Return) GetMessage() []byte

func (*Return) GetResult

func (x *Return) GetResult() bool

func (*Return) ProtoMessage

func (*Return) ProtoMessage()

func (*Return) ProtoReflect

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

func (*Return) Reset

func (x *Return) Reset()

func (*Return) String

func (x *Return) String() string

type ReturnResponseCode

type ReturnResponseCode int32
const (
	Return_SUCCESS                         ReturnResponseCode = 0
	Return_SIGERROR                        ReturnResponseCode = 1 // error in signature
	Return_CONTRACT_VALIDATE_ERROR         ReturnResponseCode = 2
	Return_CONTRACT_EXE_ERROR              ReturnResponseCode = 3
	Return_BANDWITH_ERROR                  ReturnResponseCode = 4
	Return_DUP_TRANSACTION_ERROR           ReturnResponseCode = 5
	Return_TAPOS_ERROR                     ReturnResponseCode = 6
	Return_TOO_BIG_TRANSACTION_ERROR       ReturnResponseCode = 7
	Return_TRANSACTION_EXPIRATION_ERROR    ReturnResponseCode = 8
	Return_SERVER_BUSY                     ReturnResponseCode = 9
	Return_NO_CONNECTION                   ReturnResponseCode = 10
	Return_NOT_ENOUGH_EFFECTIVE_CONNECTION ReturnResponseCode = 11
	Return_OTHER_ERROR                     ReturnResponseCode = 20
)

func (ReturnResponseCode) Descriptor

func (ReturnResponseCode) Enum

func (ReturnResponseCode) EnumDescriptor deprecated

func (ReturnResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReturnResponseCode.Descriptor instead.

func (ReturnResponseCode) Number

func (ReturnResponseCode) String

func (x ReturnResponseCode) String() string

func (ReturnResponseCode) Type

type ShieldedAddressInfo

type ShieldedAddressInfo struct {
	Sk             []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"`
	Ask            []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk            []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk            []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"`
	Ak             []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk             []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"`
	Ivk            []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"`
	D              []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"`
	PkD            []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"`
	PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ShieldedAddressInfo) Descriptor deprecated

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

Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead.

func (*ShieldedAddressInfo) GetAk

func (x *ShieldedAddressInfo) GetAk() []byte

func (*ShieldedAddressInfo) GetAsk

func (x *ShieldedAddressInfo) GetAsk() []byte

func (*ShieldedAddressInfo) GetD

func (x *ShieldedAddressInfo) GetD() []byte

func (*ShieldedAddressInfo) GetIvk

func (x *ShieldedAddressInfo) GetIvk() []byte

func (*ShieldedAddressInfo) GetNk

func (x *ShieldedAddressInfo) GetNk() []byte

func (*ShieldedAddressInfo) GetNsk

func (x *ShieldedAddressInfo) GetNsk() []byte

func (*ShieldedAddressInfo) GetOvk

func (x *ShieldedAddressInfo) GetOvk() []byte

func (*ShieldedAddressInfo) GetPaymentAddress

func (x *ShieldedAddressInfo) GetPaymentAddress() string

func (*ShieldedAddressInfo) GetPkD

func (x *ShieldedAddressInfo) GetPkD() []byte

func (*ShieldedAddressInfo) GetSk

func (x *ShieldedAddressInfo) GetSk() []byte

func (*ShieldedAddressInfo) ProtoMessage

func (*ShieldedAddressInfo) ProtoMessage()

func (*ShieldedAddressInfo) ProtoReflect

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

func (*ShieldedAddressInfo) Reset

func (x *ShieldedAddressInfo) Reset()

func (*ShieldedAddressInfo) String

func (x *ShieldedAddressInfo) String() string

type SpendAuthSigParameters

type SpendAuthSigParameters struct {
	Ask    []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
	TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Alpha  []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendAuthSigParameters) Descriptor deprecated

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

Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead.

func (*SpendAuthSigParameters) GetAlpha

func (x *SpendAuthSigParameters) GetAlpha() []byte

func (*SpendAuthSigParameters) GetAsk

func (x *SpendAuthSigParameters) GetAsk() []byte

func (*SpendAuthSigParameters) GetTxHash

func (x *SpendAuthSigParameters) GetTxHash() []byte

func (*SpendAuthSigParameters) ProtoMessage

func (*SpendAuthSigParameters) ProtoMessage()

func (*SpendAuthSigParameters) ProtoReflect

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

func (*SpendAuthSigParameters) Reset

func (x *SpendAuthSigParameters) Reset()

func (*SpendAuthSigParameters) String

func (x *SpendAuthSigParameters) String() string

type SpendNote

type SpendNote struct {
	Note    *Note                          `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Alpha   []byte                         `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature
	Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"`
	Path    []byte                         `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree
	// contains filtered or unexported fields
}

func (*SpendNote) Descriptor deprecated

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

Deprecated: Use SpendNote.ProtoReflect.Descriptor instead.

func (*SpendNote) GetAlpha

func (x *SpendNote) GetAlpha() []byte

func (*SpendNote) GetNote

func (x *SpendNote) GetNote() *Note

func (*SpendNote) GetPath

func (x *SpendNote) GetPath() []byte

func (*SpendNote) GetVoucher

func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher

func (*SpendNote) ProtoMessage

func (*SpendNote) ProtoMessage()

func (*SpendNote) ProtoReflect

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

func (*SpendNote) Reset

func (x *SpendNote) Reset()

func (*SpendNote) String

func (x *SpendNote) String() string

type SpendResult

type SpendResult struct {
	Result  bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendResult) Descriptor deprecated

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

Deprecated: Use SpendResult.ProtoReflect.Descriptor instead.

func (*SpendResult) GetMessage

func (x *SpendResult) GetMessage() string

func (*SpendResult) GetResult

func (x *SpendResult) GetResult() bool

func (*SpendResult) ProtoMessage

func (*SpendResult) ProtoMessage()

func (*SpendResult) ProtoReflect

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

func (*SpendResult) Reset

func (x *SpendResult) Reset()

func (*SpendResult) String

func (x *SpendResult) String() string

type TimeMessage

type TimeMessage struct {
	BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"`
	EndInMilliseconds   int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeMessage) Descriptor deprecated

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

Deprecated: Use TimeMessage.ProtoReflect.Descriptor instead.

func (*TimeMessage) GetBeginInMilliseconds

func (x *TimeMessage) GetBeginInMilliseconds() int64

func (*TimeMessage) GetEndInMilliseconds

func (x *TimeMessage) GetEndInMilliseconds() int64

func (*TimeMessage) ProtoMessage

func (*TimeMessage) ProtoMessage()

func (*TimeMessage) ProtoReflect

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

func (*TimeMessage) Reset

func (x *TimeMessage) Reset()

func (*TimeMessage) String

func (x *TimeMessage) String() string

type TimePaginatedMessage

type TimePaginatedMessage struct {
	TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"`
	Offset      int64        `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit       int64        `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*TimePaginatedMessage) Descriptor deprecated

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

Deprecated: Use TimePaginatedMessage.ProtoReflect.Descriptor instead.

func (*TimePaginatedMessage) GetLimit

func (x *TimePaginatedMessage) GetLimit() int64

func (*TimePaginatedMessage) GetOffset

func (x *TimePaginatedMessage) GetOffset() int64

func (*TimePaginatedMessage) GetTimeMessage

func (x *TimePaginatedMessage) GetTimeMessage() *TimeMessage

func (*TimePaginatedMessage) ProtoMessage

func (*TimePaginatedMessage) ProtoMessage()

func (*TimePaginatedMessage) ProtoReflect

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

func (*TimePaginatedMessage) Reset

func (x *TimePaginatedMessage) Reset()

func (*TimePaginatedMessage) String

func (x *TimePaginatedMessage) String() string

type TransactionApprovedList

type TransactionApprovedList struct {
	ApprovedList [][]byte                        `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"`
	Result       *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	Transaction  *TransactionExtention           `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionApprovedList) Descriptor deprecated

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

Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead.

func (*TransactionApprovedList) GetApprovedList

func (x *TransactionApprovedList) GetApprovedList() [][]byte

func (*TransactionApprovedList) GetResult

func (*TransactionApprovedList) GetTransaction

func (x *TransactionApprovedList) GetTransaction() *TransactionExtention

func (*TransactionApprovedList) ProtoMessage

func (*TransactionApprovedList) ProtoMessage()

func (*TransactionApprovedList) ProtoReflect

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

func (*TransactionApprovedList) Reset

func (x *TransactionApprovedList) Reset()

func (*TransactionApprovedList) String

func (x *TransactionApprovedList) String() string

type TransactionApprovedList_Result

type TransactionApprovedList_Result struct {
	Code    TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"`
	Message string                                     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionApprovedList_Result) Descriptor deprecated

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

Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead.

func (*TransactionApprovedList_Result) GetCode

func (*TransactionApprovedList_Result) GetMessage

func (x *TransactionApprovedList_Result) GetMessage() string

func (*TransactionApprovedList_Result) ProtoMessage

func (*TransactionApprovedList_Result) ProtoMessage()

func (*TransactionApprovedList_Result) ProtoReflect

func (*TransactionApprovedList_Result) Reset

func (x *TransactionApprovedList_Result) Reset()

func (*TransactionApprovedList_Result) String

type TransactionApprovedList_ResultResponseCode

type TransactionApprovedList_ResultResponseCode int32
const (
	TransactionApprovedList_Result_SUCCESS                TransactionApprovedList_ResultResponseCode = 0
	TransactionApprovedList_Result_SIGNATURE_FORMAT_ERROR TransactionApprovedList_ResultResponseCode = 1
	TransactionApprovedList_Result_COMPUTE_ADDRESS_ERROR  TransactionApprovedList_ResultResponseCode = 2
	TransactionApprovedList_Result_OTHER_ERROR            TransactionApprovedList_ResultResponseCode = 20
)

func (TransactionApprovedList_ResultResponseCode) Descriptor

func (TransactionApprovedList_ResultResponseCode) Enum

func (TransactionApprovedList_ResultResponseCode) EnumDescriptor deprecated

func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionApprovedList_ResultResponseCode.Descriptor instead.

func (TransactionApprovedList_ResultResponseCode) Number

func (TransactionApprovedList_ResultResponseCode) String

func (TransactionApprovedList_ResultResponseCode) Type

type TransactionExtention

type TransactionExtention struct {
	Transaction    *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Txid           []byte            `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.raw_data)
	ConstantResult [][]byte          `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"`
	Result         *Return           `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionExtention) Descriptor deprecated

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

Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead.

func (*TransactionExtention) GetConstantResult

func (x *TransactionExtention) GetConstantResult() [][]byte

func (*TransactionExtention) GetResult

func (x *TransactionExtention) GetResult() *Return

func (*TransactionExtention) GetTransaction

func (x *TransactionExtention) GetTransaction() *core.Transaction

func (*TransactionExtention) GetTxid

func (x *TransactionExtention) GetTxid() []byte

func (*TransactionExtention) ProtoMessage

func (*TransactionExtention) ProtoMessage()

func (*TransactionExtention) ProtoReflect

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

func (*TransactionExtention) Reset

func (x *TransactionExtention) Reset()

func (*TransactionExtention) String

func (x *TransactionExtention) String() string

type TransactionInfoList

type TransactionInfoList struct {
	TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInfoList) Descriptor deprecated

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

Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead.

func (*TransactionInfoList) GetTransactionInfo

func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo

func (*TransactionInfoList) ProtoMessage

func (*TransactionInfoList) ProtoMessage()

func (*TransactionInfoList) ProtoReflect

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

func (*TransactionInfoList) Reset

func (x *TransactionInfoList) Reset()

func (*TransactionInfoList) String

func (x *TransactionInfoList) String() string

type TransactionLimit

type TransactionLimit struct {
	TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	LimitNum      int64  `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionLimit) Descriptor deprecated

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

Deprecated: Use TransactionLimit.ProtoReflect.Descriptor instead.

func (*TransactionLimit) GetLimitNum

func (x *TransactionLimit) GetLimitNum() int64

func (*TransactionLimit) GetTransactionId

func (x *TransactionLimit) GetTransactionId() []byte

func (*TransactionLimit) ProtoMessage

func (*TransactionLimit) ProtoMessage()

func (*TransactionLimit) ProtoReflect

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

func (*TransactionLimit) Reset

func (x *TransactionLimit) Reset()

func (*TransactionLimit) String

func (x *TransactionLimit) String() string

type TransactionList

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

func (*TransactionList) Descriptor deprecated

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

Deprecated: Use TransactionList.ProtoReflect.Descriptor instead.

func (*TransactionList) GetTransaction

func (x *TransactionList) GetTransaction() []*core.Transaction

func (*TransactionList) ProtoMessage

func (*TransactionList) ProtoMessage()

func (*TransactionList) ProtoReflect

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

func (*TransactionList) Reset

func (x *TransactionList) Reset()

func (*TransactionList) String

func (x *TransactionList) String() string

type TransactionListExtention

type TransactionListExtention struct {
	Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionListExtention) Descriptor deprecated

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

Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead.

func (*TransactionListExtention) GetTransaction

func (x *TransactionListExtention) GetTransaction() []*TransactionExtention

func (*TransactionListExtention) ProtoMessage

func (*TransactionListExtention) ProtoMessage()

func (*TransactionListExtention) ProtoReflect

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

func (*TransactionListExtention) Reset

func (x *TransactionListExtention) Reset()

func (*TransactionListExtention) String

func (x *TransactionListExtention) String() string

type TransactionSignWeight

type TransactionSignWeight struct {
	Permission    *core.Permission              `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
	ApprovedList  [][]byte                      `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"`
	CurrentWeight int64                         `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"`
	Result        *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	Transaction   *TransactionExtention         `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionSignWeight) Descriptor deprecated

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

Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead.

func (*TransactionSignWeight) GetApprovedList

func (x *TransactionSignWeight) GetApprovedList() [][]byte

func (*TransactionSignWeight) GetCurrentWeight

func (x *TransactionSignWeight) GetCurrentWeight() int64

func (*TransactionSignWeight) GetPermission

func (x *TransactionSignWeight) GetPermission() *core.Permission

func (*TransactionSignWeight) GetResult

func (*TransactionSignWeight) GetTransaction

func (x *TransactionSignWeight) GetTransaction() *TransactionExtention

func (*TransactionSignWeight) ProtoMessage

func (*TransactionSignWeight) ProtoMessage()

func (*TransactionSignWeight) ProtoReflect

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

func (*TransactionSignWeight) Reset

func (x *TransactionSignWeight) Reset()

func (*TransactionSignWeight) String

func (x *TransactionSignWeight) String() string

type TransactionSignWeight_Result

type TransactionSignWeight_Result struct {
	Code    TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"`
	Message string                                   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionSignWeight_Result) Descriptor deprecated

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

Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead.

func (*TransactionSignWeight_Result) GetCode

func (*TransactionSignWeight_Result) GetMessage

func (x *TransactionSignWeight_Result) GetMessage() string

func (*TransactionSignWeight_Result) ProtoMessage

func (*TransactionSignWeight_Result) ProtoMessage()

func (*TransactionSignWeight_Result) ProtoReflect

func (*TransactionSignWeight_Result) Reset

func (x *TransactionSignWeight_Result) Reset()

func (*TransactionSignWeight_Result) String

type TransactionSignWeight_ResultResponseCode

type TransactionSignWeight_ResultResponseCode int32
const (
	TransactionSignWeight_Result_ENOUGH_PERMISSION      TransactionSignWeight_ResultResponseCode = 0
	TransactionSignWeight_Result_NOT_ENOUGH_PERMISSION  TransactionSignWeight_ResultResponseCode = 1 // error in
	TransactionSignWeight_Result_SIGNATURE_FORMAT_ERROR TransactionSignWeight_ResultResponseCode = 2
	TransactionSignWeight_Result_COMPUTE_ADDRESS_ERROR  TransactionSignWeight_ResultResponseCode = 3
	TransactionSignWeight_Result_PERMISSION_ERROR       TransactionSignWeight_ResultResponseCode = 4 //The key is not in permission
	TransactionSignWeight_Result_OTHER_ERROR            TransactionSignWeight_ResultResponseCode = 20
)

func (TransactionSignWeight_ResultResponseCode) Descriptor

func (TransactionSignWeight_ResultResponseCode) Enum

func (TransactionSignWeight_ResultResponseCode) EnumDescriptor deprecated

func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionSignWeight_ResultResponseCode.Descriptor instead.

func (TransactionSignWeight_ResultResponseCode) Number

func (TransactionSignWeight_ResultResponseCode) String

func (TransactionSignWeight_ResultResponseCode) Type

type TronZksnarkClient

type TronZksnarkClient interface {
	CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error)
}

TronZksnarkClient is the client API for TronZksnark service.

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

type TronZksnarkServer

type TronZksnarkServer interface {
	CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error)
}

TronZksnarkServer is the server API for TronZksnark service.

type UnimplementedDatabaseServer

type UnimplementedDatabaseServer struct {
}

UnimplementedDatabaseServer can be embedded to have forward compatible implementations.

func (*UnimplementedDatabaseServer) GetBlockByNum

func (*UnimplementedDatabaseServer) GetBlockReference

func (*UnimplementedDatabaseServer) GetDynamicProperties

func (*UnimplementedDatabaseServer) GetNowBlock

type UnimplementedNetworkServer

type UnimplementedNetworkServer struct {
}

UnimplementedNetworkServer can be embedded to have forward compatible implementations.

type UnimplementedTronZksnarkServer

type UnimplementedTronZksnarkServer struct {
}

UnimplementedTronZksnarkServer can be embedded to have forward compatible implementations.

func (*UnimplementedTronZksnarkServer) CheckZksnarkProof

type UnimplementedWalletExtensionServer

type UnimplementedWalletExtensionServer struct {
}

UnimplementedWalletExtensionServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletExtensionServer) GetTransactionsFromThis

func (*UnimplementedWalletExtensionServer) GetTransactionsFromThis2

func (*UnimplementedWalletExtensionServer) GetTransactionsToThis

func (*UnimplementedWalletExtensionServer) GetTransactionsToThis2

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletServer) AccountPermissionUpdate

func (*UnimplementedWalletServer) AddSign

func (*UnimplementedWalletServer) BroadcastTransaction

func (*UnimplementedWalletServer) BroadcastTransaction(context.Context, *core.Transaction) (*Return, error)

func (*UnimplementedWalletServer) BuyStorage

func (*UnimplementedWalletServer) BuyStorageBytes

func (*UnimplementedWalletServer) ClearContractABI

func (*UnimplementedWalletServer) CreateAccount

func (*UnimplementedWalletServer) CreateAccount2

func (*UnimplementedWalletServer) CreateAddress

func (*UnimplementedWalletServer) CreateAssetIssue

func (*UnimplementedWalletServer) CreateAssetIssue2

func (*UnimplementedWalletServer) CreateCommonTransaction

func (*UnimplementedWalletServer) CreateShieldNullifier

func (*UnimplementedWalletServer) CreateShieldedTransaction

func (*UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig

func (*UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error)

func (*UnimplementedWalletServer) CreateSpendAuthSig

func (*UnimplementedWalletServer) CreateTransaction

func (*UnimplementedWalletServer) CreateTransaction2

func (*UnimplementedWalletServer) CreateWitness

func (*UnimplementedWalletServer) CreateWitness2

func (*UnimplementedWalletServer) DeployContract

func (*UnimplementedWalletServer) EasyTransfer

func (*UnimplementedWalletServer) EasyTransferAsset

func (*UnimplementedWalletServer) EasyTransferAssetByPrivate

func (*UnimplementedWalletServer) EasyTransferByPrivate

func (*UnimplementedWalletServer) ExchangeCreate

func (*UnimplementedWalletServer) ExchangeInject

func (*UnimplementedWalletServer) ExchangeTransaction

func (*UnimplementedWalletServer) ExchangeWithdraw

func (*UnimplementedWalletServer) FreezeBalance

func (*UnimplementedWalletServer) FreezeBalance2

func (*UnimplementedWalletServer) GenerateAddress

func (*UnimplementedWalletServer) GetAccount

func (*UnimplementedWalletServer) GetAccountById

func (*UnimplementedWalletServer) GetAccountNet

func (*UnimplementedWalletServer) GetAccountResource

func (*UnimplementedWalletServer) GetAkFromAsk

func (*UnimplementedWalletServer) GetAssetIssueByAccount

func (*UnimplementedWalletServer) GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error)

func (*UnimplementedWalletServer) GetAssetIssueById

func (*UnimplementedWalletServer) GetAssetIssueByName

func (*UnimplementedWalletServer) GetAssetIssueList

func (*UnimplementedWalletServer) GetAssetIssueListByName

func (*UnimplementedWalletServer) GetBlockById

func (*UnimplementedWalletServer) GetBlockByLatestNum

func (*UnimplementedWalletServer) GetBlockByLatestNum2

func (*UnimplementedWalletServer) GetBlockByLimitNext

func (*UnimplementedWalletServer) GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error)

func (*UnimplementedWalletServer) GetBlockByLimitNext2

func (*UnimplementedWalletServer) GetBlockByNum

func (*UnimplementedWalletServer) GetBlockByNum2

func (*UnimplementedWalletServer) GetBrokerageInfo

func (*UnimplementedWalletServer) GetChainParameters

func (*UnimplementedWalletServer) GetContract

func (*UnimplementedWalletServer) GetDelegatedResource

func (*UnimplementedWalletServer) GetDelegatedResourceAccountIndex

func (*UnimplementedWalletServer) GetDiversifier

func (*UnimplementedWalletServer) GetExchangeById

func (*UnimplementedWalletServer) GetExpandedSpendingKey

func (*UnimplementedWalletServer) GetIncomingViewingKey

func (*UnimplementedWalletServer) GetMerkleTreeVoucherInfo

func (*UnimplementedWalletServer) GetNewShieldedAddress

func (*UnimplementedWalletServer) GetNextMaintenanceTime

func (*UnimplementedWalletServer) GetNkFromNsk

func (*UnimplementedWalletServer) GetNodeInfo

func (*UnimplementedWalletServer) GetNowBlock

func (*UnimplementedWalletServer) GetNowBlock2

func (*UnimplementedWalletServer) GetPaginatedAssetIssueList

func (*UnimplementedWalletServer) GetPaginatedExchangeList

func (*UnimplementedWalletServer) GetPaginatedProposalList

func (*UnimplementedWalletServer) GetProposalById

func (*UnimplementedWalletServer) GetRcm

func (*UnimplementedWalletServer) GetRewardInfo

func (*UnimplementedWalletServer) GetShieldTransactionHash

func (*UnimplementedWalletServer) GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error)

func (*UnimplementedWalletServer) GetSpendingKey

func (*UnimplementedWalletServer) GetTransactionApprovedList

func (*UnimplementedWalletServer) GetTransactionById

func (*UnimplementedWalletServer) GetTransactionCountByBlockNum

func (*UnimplementedWalletServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)

func (*UnimplementedWalletServer) GetTransactionInfoByBlockNum

func (*UnimplementedWalletServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error)

func (*UnimplementedWalletServer) GetTransactionInfoById

func (*UnimplementedWalletServer) GetTransactionSign

func (*UnimplementedWalletServer) GetTransactionSign2

func (*UnimplementedWalletServer) GetTransactionSignWeight

func (*UnimplementedWalletServer) IsSpend

func (*UnimplementedWalletServer) ListExchanges

func (*UnimplementedWalletServer) ListNodes

func (*UnimplementedWalletServer) ListProposals

func (*UnimplementedWalletServer) ListWitnesses

func (*UnimplementedWalletServer) ParticipateAssetIssue

func (*UnimplementedWalletServer) ParticipateAssetIssue2

func (*UnimplementedWalletServer) ProposalApprove

func (*UnimplementedWalletServer) ProposalCreate

func (*UnimplementedWalletServer) ProposalDelete

func (*UnimplementedWalletServer) ScanAndMarkNoteByIvk

func (*UnimplementedWalletServer) ScanNoteByIvk

func (*UnimplementedWalletServer) ScanNoteByOvk

func (*UnimplementedWalletServer) SellStorage

func (*UnimplementedWalletServer) SetAccountId

func (*UnimplementedWalletServer) TotalTransaction

func (*UnimplementedWalletServer) TransferAsset

func (*UnimplementedWalletServer) TransferAsset2

func (*UnimplementedWalletServer) TriggerConstantContract

func (*UnimplementedWalletServer) TriggerContract

func (*UnimplementedWalletServer) UnfreezeAsset

func (*UnimplementedWalletServer) UnfreezeAsset2

func (*UnimplementedWalletServer) UnfreezeBalance

func (*UnimplementedWalletServer) UnfreezeBalance2

func (*UnimplementedWalletServer) UpdateAccount

func (*UnimplementedWalletServer) UpdateAccount2

func (*UnimplementedWalletServer) UpdateAsset

func (*UnimplementedWalletServer) UpdateAsset2

func (*UnimplementedWalletServer) UpdateBrokerage

func (*UnimplementedWalletServer) UpdateEnergyLimit

func (*UnimplementedWalletServer) UpdateSetting

func (*UnimplementedWalletServer) UpdateWitness

func (*UnimplementedWalletServer) UpdateWitness2

func (*UnimplementedWalletServer) VoteWitnessAccount

func (*UnimplementedWalletServer) VoteWitnessAccount2

func (*UnimplementedWalletServer) WithdrawBalance

func (*UnimplementedWalletServer) WithdrawBalance2

type UnimplementedWalletSolidityServer

type UnimplementedWalletSolidityServer struct {
}

UnimplementedWalletSolidityServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletSolidityServer) GenerateAddress

func (*UnimplementedWalletSolidityServer) GetAccount

func (*UnimplementedWalletSolidityServer) GetAccountById

func (*UnimplementedWalletSolidityServer) GetAssetIssueById

func (*UnimplementedWalletSolidityServer) GetAssetIssueByName

func (*UnimplementedWalletSolidityServer) GetAssetIssueList

func (*UnimplementedWalletSolidityServer) GetAssetIssueListByName

func (*UnimplementedWalletSolidityServer) GetBlockByNum

func (*UnimplementedWalletSolidityServer) GetBlockByNum2

func (*UnimplementedWalletSolidityServer) GetBrokerageInfo

func (*UnimplementedWalletSolidityServer) GetDelegatedResource

func (*UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndex

func (*UnimplementedWalletSolidityServer) GetExchangeById

func (*UnimplementedWalletSolidityServer) GetMerkleTreeVoucherInfo

func (*UnimplementedWalletSolidityServer) GetNowBlock

func (*UnimplementedWalletSolidityServer) GetNowBlock2

func (*UnimplementedWalletSolidityServer) GetPaginatedAssetIssueList

func (*UnimplementedWalletSolidityServer) GetRewardInfo

func (*UnimplementedWalletSolidityServer) GetTransactionById

func (*UnimplementedWalletSolidityServer) GetTransactionCountByBlockNum

func (*UnimplementedWalletSolidityServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)

func (*UnimplementedWalletSolidityServer) GetTransactionInfoByBlockNum

func (*UnimplementedWalletSolidityServer) GetTransactionInfoById

func (*UnimplementedWalletSolidityServer) IsSpend

func (*UnimplementedWalletSolidityServer) ListExchanges

func (*UnimplementedWalletSolidityServer) ListWitnesses

func (*UnimplementedWalletSolidityServer) ScanAndMarkNoteByIvk

func (*UnimplementedWalletSolidityServer) ScanNoteByIvk

func (*UnimplementedWalletSolidityServer) ScanNoteByOvk

func (*UnimplementedWalletSolidityServer) TriggerConstantContract

type ViewingKeyMessage

type ViewingKeyMessage struct {
	Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewingKeyMessage) Descriptor deprecated

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

Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead.

func (*ViewingKeyMessage) GetAk

func (x *ViewingKeyMessage) GetAk() []byte

func (*ViewingKeyMessage) GetNk

func (x *ViewingKeyMessage) GetNk() []byte

func (*ViewingKeyMessage) ProtoMessage

func (*ViewingKeyMessage) ProtoMessage()

func (*ViewingKeyMessage) ProtoReflect

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

func (*ViewingKeyMessage) Reset

func (x *ViewingKeyMessage) Reset()

func (*ViewingKeyMessage) String

func (x *ViewingKeyMessage) String() string

type WalletClient

type WalletClient interface {
	GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	//Please use CreateTransaction2 instead of this function.
	CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of CreateTransaction.
	CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error)
	//Please use UpdateAccount2 instead of this function.
	UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of UpdateAccount.
	UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use VoteWitnessAccount2 instead of this function.
	VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//modify the consume_user_resource_percent
	UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//modify the energy_limit
	UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Use this function instead of VoteWitnessAccount.
	VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use CreateAssetIssue2 instead of this function.
	CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of CreateAssetIssue.
	CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use UpdateWitness2 instead of this function.
	UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of UpdateWitness.
	UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use CreateAccount2 instead of this function.
	CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of CreateAccount.
	CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use CreateWitness2 instead of this function.
	CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of CreateWitness.
	CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use TransferAsset2 instead of this function.
	TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of TransferAsset.
	TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use ParticipateAssetIssue2 instead of this function.
	ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of ParticipateAssetIssue.
	ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use FreezeBalance2 instead of this function.
	FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of FreezeBalance.
	FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use UnfreezeBalance2 instead of this function.
	UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of UnfreezeBalance.
	UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use UnfreezeAsset2 instead of this function.
	UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of UnfreezeAsset.
	UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use WithdrawBalance2 instead of this function.
	WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of WithdrawBalance.
	WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Please use UpdateAsset2 instead of this function.
	UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error)
	//Use this function instead of UpdateAsset.
	UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error)
	GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error)
	GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error)
	GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	//Please use GetNowBlock2 instead of this function.
	GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error)
	//Use this function instead of GetNowBlock.
	GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	//Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error)
	//Use this function instead of GetBlockByNum.
	GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error)
	//Please use GetBlockByLimitNext2 instead of this function.
	GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error)
	//Use this function instead of GetBlockByLimitNext.
	GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error)
	//Please use GetBlockByLatestNum2 instead of this function.
	GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error)
	//Use this function instead of GetBlockByLatestNum.
	GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error)
	GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error)
	DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error)
	TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error)
	GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error)
	ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error)
	GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error)
	GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error)
	ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error)
	GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error)
	GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error)
	GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error)
	GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	//Warning: do not invoke this interface provided by others.
	//Please use GetTransactionSign2 instead of this function.
	GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error)
	//Warning: do not invoke this interface provided by others.
	//Use this function instead of GetTransactionSign.
	GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error)
	//Warning: do not invoke this interface provided by others.
	CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error)
	GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error)
	AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error)
	GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error)
	GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error)
	GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// for shiededTransaction
	CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error)
	ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error)
	GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error)
	GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error)
	GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error)
	GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error)
	GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error)
	CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error)
	CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error)
	CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error)
	CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error)
}

WalletClient is the client API for Wallet service.

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

func NewWalletClient

func NewWalletClient(cc grpc.ClientConnInterface) WalletClient

type WalletExtensionClient

type WalletExtensionClient interface {
	//Please use GetTransactionsFromThis2 instead of this function.
	GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error)
	//Use this function instead of GetTransactionsFromThis.
	GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error)
	//Please use GetTransactionsToThis2 instead of this function.
	GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error)
	//Use this function instead of GetTransactionsToThis.
	GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error)
}

WalletExtensionClient is the client API for WalletExtension service.

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

type WalletExtensionServer

type WalletExtensionServer interface {
	//Please use GetTransactionsFromThis2 instead of this function.
	GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error)
	//Use this function instead of GetTransactionsFromThis.
	GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error)
	//Please use GetTransactionsToThis2 instead of this function.
	GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error)
	//Use this function instead of GetTransactionsToThis.
	GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error)
}

WalletExtensionServer is the server API for WalletExtension service.

type WalletServer

type WalletServer interface {
	GetAccount(context.Context, *core.Account) (*core.Account, error)
	GetAccountById(context.Context, *core.Account) (*core.Account, error)
	//Please use CreateTransaction2 instead of this function.
	CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error)
	//Use this function instead of CreateTransaction.
	CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error)
	BroadcastTransaction(context.Context, *core.Transaction) (*Return, error)
	//Please use UpdateAccount2 instead of this function.
	UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error)
	SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error)
	//Use this function instead of UpdateAccount.
	UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error)
	//Please use VoteWitnessAccount2 instead of this function.
	VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error)
	//modify the consume_user_resource_percent
	UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error)
	//modify the energy_limit
	UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error)
	//Use this function instead of VoteWitnessAccount.
	VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error)
	//Please use CreateAssetIssue2 instead of this function.
	CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error)
	//Use this function instead of CreateAssetIssue.
	CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error)
	//Please use UpdateWitness2 instead of this function.
	UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error)
	//Use this function instead of UpdateWitness.
	UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error)
	//Please use CreateAccount2 instead of this function.
	CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error)
	//Use this function instead of CreateAccount.
	CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error)
	//Please use CreateWitness2 instead of this function.
	CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error)
	//Use this function instead of CreateWitness.
	CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error)
	//Please use TransferAsset2 instead of this function.
	TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error)
	//Use this function instead of TransferAsset.
	TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error)
	//Please use ParticipateAssetIssue2 instead of this function.
	ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error)
	//Use this function instead of ParticipateAssetIssue.
	ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error)
	//Please use FreezeBalance2 instead of this function.
	FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error)
	//Use this function instead of FreezeBalance.
	FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error)
	//Please use UnfreezeBalance2 instead of this function.
	UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error)
	//Use this function instead of UnfreezeBalance.
	UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error)
	//Please use UnfreezeAsset2 instead of this function.
	UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error)
	//Use this function instead of UnfreezeAsset.
	UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error)
	//Please use WithdrawBalance2 instead of this function.
	WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error)
	//Use this function instead of WithdrawBalance.
	WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error)
	//Please use UpdateAsset2 instead of this function.
	UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error)
	//Use this function instead of UpdateAsset.
	UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error)
	ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error)
	ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error)
	ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error)
	BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error)
	BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error)
	SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error)
	ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error)
	ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error)
	ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error)
	ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error)
	ListNodes(context.Context, *EmptyMessage) (*NodeList, error)
	GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error)
	GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error)
	GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error)
	GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error)
	GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	//Please use GetNowBlock2 instead of this function.
	GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error)
	//Use this function instead of GetNowBlock.
	GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error)
	//Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error)
	//Use this function instead of GetBlockByNum.
	GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error)
	GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)
	GetBlockById(context.Context, *BytesMessage) (*core.Block, error)
	//Please use GetBlockByLimitNext2 instead of this function.
	GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error)
	//Use this function instead of GetBlockByLimitNext.
	GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error)
	//Please use GetBlockByLatestNum2 instead of this function.
	GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error)
	//Use this function instead of GetBlockByLatestNum.
	GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error)
	GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error)
	DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error)
	GetContract(context.Context, *BytesMessage) (*core.SmartContract, error)
	TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error)
	TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error)
	ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error)
	ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error)
	GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error)
	ListProposals(context.Context, *EmptyMessage) (*ProposalList, error)
	GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error)
	GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error)
	ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error)
	GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error)
	GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error)
	GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error)
	GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error)
	TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error)
	GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error)
	//Warning: do not invoke this interface provided by others.
	//Please use GetTransactionSign2 instead of this function.
	GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error)
	//Warning: do not invoke this interface provided by others.
	//Use this function instead of GetTransactionSign.
	GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error)
	//Warning: do not invoke this interface provided by others.
	CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error)
	//Warning: do not invoke this interface provided by others.
	GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error)
	GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error)
	AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error)
	AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error)
	GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error)
	GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error)
	GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error)
	GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error)
	// for shiededTransaction
	CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error)
	GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error)
	ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error)
	GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error)
	GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error)
	GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error)
	GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error)
	GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error)
	GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error)
	GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error)
	GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error)
	GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error)
	IsSpend(context.Context, *NoteParameters) (*SpendResult, error)
	CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error)
	GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error)
	CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error)
	CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error)
	CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error)
	GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error)
}

WalletServer is the server API for Wallet service.

type WalletSolidityClient

type WalletSolidityClient interface {
	GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error)
	GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	//Please use GetNowBlock2 instead of this function.
	GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error)
	//Use this function instead of GetNowBlock.
	GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	//Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error)
	//Use this function instead of GetBlockByNum.
	GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error)
	GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error)
	ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error)
	GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error)
	GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error)
	//Warning: do not invoke this interface provided by others.
	GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error)
	GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error)
	ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error)
	GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error)
}

WalletSolidityClient is the client API for WalletSolidity service.

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

type WalletSolidityServer

type WalletSolidityServer interface {
	GetAccount(context.Context, *core.Account) (*core.Account, error)
	GetAccountById(context.Context, *core.Account) (*core.Account, error)
	ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error)
	GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error)
	GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error)
	GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	//Please use GetNowBlock2 instead of this function.
	GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error)
	//Use this function instead of GetNowBlock.
	GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error)
	//Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error)
	//Use this function instead of GetBlockByNum.
	GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error)
	GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)
	GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error)
	GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error)
	ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error)
	GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error)
	GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error)
	//Warning: do not invoke this interface provided by others.
	GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error)
	GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error)
	ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error)
	IsSpend(context.Context, *NoteParameters) (*SpendResult, error)
	GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error)
	GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error)
}

WalletSolidityServer is the server API for WalletSolidity service.

type WitnessList

type WitnessList struct {
	Witnesses []*core.Witness `protobuf:"bytes,1,rep,name=witnesses,proto3" json:"witnesses,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessList) Descriptor deprecated

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

Deprecated: Use WitnessList.ProtoReflect.Descriptor instead.

func (*WitnessList) GetWitnesses

func (x *WitnessList) GetWitnesses() []*core.Witness

func (*WitnessList) ProtoMessage

func (*WitnessList) ProtoMessage()

func (*WitnessList) ProtoReflect

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

func (*WitnessList) Reset

func (x *WitnessList) Reset()

func (*WitnessList) String

func (x *WitnessList) String() string

type ZksnarkRequest

type ZksnarkRequest struct {
	Transaction  *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Sighash      []byte            `protobuf:"bytes,2,opt,name=sighash,proto3" json:"sighash,omitempty"`
	ValueBalance int64             `protobuf:"varint,3,opt,name=valueBalance,proto3" json:"valueBalance,omitempty"`
	TxId         string            `protobuf:"bytes,4,opt,name=txId,proto3" json:"txId,omitempty"`
	// contains filtered or unexported fields
}

func (*ZksnarkRequest) Descriptor deprecated

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

Deprecated: Use ZksnarkRequest.ProtoReflect.Descriptor instead.

func (*ZksnarkRequest) GetSighash

func (x *ZksnarkRequest) GetSighash() []byte

func (*ZksnarkRequest) GetTransaction

func (x *ZksnarkRequest) GetTransaction() *core.Transaction

func (*ZksnarkRequest) GetTxId

func (x *ZksnarkRequest) GetTxId() string

func (*ZksnarkRequest) GetValueBalance

func (x *ZksnarkRequest) GetValueBalance() int64

func (*ZksnarkRequest) ProtoMessage

func (*ZksnarkRequest) ProtoMessage()

func (*ZksnarkRequest) ProtoReflect

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

func (*ZksnarkRequest) Reset

func (x *ZksnarkRequest) Reset()

func (*ZksnarkRequest) String

func (x *ZksnarkRequest) String() string

type ZksnarkResponse

type ZksnarkResponse struct {
	Code ZksnarkResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.ZksnarkResponse_Code" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*ZksnarkResponse) Descriptor deprecated

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

Deprecated: Use ZksnarkResponse.ProtoReflect.Descriptor instead.

func (*ZksnarkResponse) GetCode

func (*ZksnarkResponse) ProtoMessage

func (*ZksnarkResponse) ProtoMessage()

func (*ZksnarkResponse) ProtoReflect

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

func (*ZksnarkResponse) Reset

func (x *ZksnarkResponse) Reset()

func (*ZksnarkResponse) String

func (x *ZksnarkResponse) String() string

type ZksnarkResponse_Code

type ZksnarkResponse_Code int32
const (
	ZksnarkResponse_SUCCESS ZksnarkResponse_Code = 0
	ZksnarkResponse_FAILED  ZksnarkResponse_Code = 1
)

func (ZksnarkResponse_Code) Descriptor

func (ZksnarkResponse_Code) Enum

func (ZksnarkResponse_Code) EnumDescriptor deprecated

func (ZksnarkResponse_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZksnarkResponse_Code.Descriptor instead.

func (ZksnarkResponse_Code) Number

func (ZksnarkResponse_Code) String

func (x ZksnarkResponse_Code) String() string

func (ZksnarkResponse_Code) Type

Jump to

Keyboard shortcuts

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