generated

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package qrl is a generated protocol buffer package.

It is generated from these files:

qrl.proto

It has these top-level messages:

Empty
GetNodeStateReq
GetNodeStateResp
GetKnownPeersReq
GetKnownPeersResp
GetPeersStatReq
GetPeersStatResp
GetStatsReq
GetStatsResp
GetAddressFromPKReq
GetAddressFromPKResp
BlockDataPoint
GetAddressStateReq
GetAddressStateResp
GetObjectReq
GetObjectResp
GetLatestDataReq
GetLatestDataResp
TransferCoinsReq
TransferCoinsResp
PushTransactionReq
PushTransactionResp
MessageTxnReq
TokenTxnReq
TransferTokenTxnReq
SlaveTxnReq
MiniTransaction
GetTransactionsByAddressReq
GetTransactionsByAddressResp
GetTransactionReq
GetTransactionResp
GetBalanceReq
GetBalanceResp
GetOTSReq
GetOTSResp
GetHeightReq
GetHeightResp
GetBlockReq
GetBlockResp
GetBlockByNumberReq
GetBlockByNumberResp
GetLocalAddressesReq
GetLocalAddressesResp
NodeInfo
StoredPeers
Peer
AddressState
LatticePK
AddressAmount
BlockHeader
BlockHeaderExtended
TransactionCount
TransactionExtended
BlockExtended
Block
GenesisBalance
BlockMetaDataList
Transaction
TokenList
TokenMetadata
EncryptedEphemeralMessage
AddressList
BlockHeightData
BlockMetaData
BlockNumberMapping
StateLoader
StateObjects
LRUStateCache
PeerStat
NodeChainState
NodeHeaderHash
P2PAcknowledgement
PeerInfo
Peers

Package qrl is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var GetLatestDataReq_Filter_name = map[int32]string{
	0: "ALL",
	1: "BLOCKHEADERS",
	2: "TRANSACTIONS",
	3: "TRANSACTIONS_UNCONFIRMED",
}
View Source
var GetLatestDataReq_Filter_value = map[string]int32{
	"ALL":                      0,
	"BLOCKHEADERS":             1,
	"TRANSACTIONS":             2,
	"TRANSACTIONS_UNCONFIRMED": 3,
}
View Source
var NodeInfo_State_name = map[int32]string{
	0: "UNKNOWN",
	1: "UNSYNCED",
	2: "SYNCING",
	3: "SYNCED",
	4: "FORKED",
}
View Source
var NodeInfo_State_value = map[string]int32{
	"UNKNOWN":  0,
	"UNSYNCED": 1,
	"SYNCING":  2,
	"SYNCED":   3,
	"FORKED":   4,
}
View Source
var PushTransactionResp_ResponseCode_name = map[int32]string{
	0: "UNKNOWN",
	1: "ERROR",
	2: "VALIDATION_FAILED",
	3: "SUBMITTED",
}
View Source
var PushTransactionResp_ResponseCode_value = map[string]int32{
	"UNKNOWN":           0,
	"ERROR":             1,
	"VALIDATION_FAILED": 2,
	"SUBMITTED":         3,
}

Functions

func RegisterAdminAPIServer

func RegisterAdminAPIServer(s *grpc.Server, srv AdminAPIServer)

func RegisterPublicAPIHandler

func RegisterPublicAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPublicAPIHandler registers the http handlers for service PublicAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPublicAPIHandlerClient

func RegisterPublicAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PublicAPIClient) error

RegisterPublicAPIHandlerClient registers the http handlers for service PublicAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PublicAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PublicAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PublicAPIClient" to call the correct interceptors.

func RegisterPublicAPIHandlerFromEndpoint

func RegisterPublicAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPublicAPIHandlerFromEndpoint is same as RegisterPublicAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPublicAPIServer

func RegisterPublicAPIServer(s *grpc.Server, srv PublicAPIServer)

Types

type AddressAmount

type AddressAmount struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  uint64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}

func (*AddressAmount) Descriptor

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

func (*AddressAmount) GetAddress

func (m *AddressAmount) GetAddress() []byte

func (*AddressAmount) GetAmount

func (m *AddressAmount) GetAmount() uint64

func (*AddressAmount) ProtoMessage

func (*AddressAmount) ProtoMessage()

func (*AddressAmount) Reset

func (m *AddressAmount) Reset()

func (*AddressAmount) String

func (m *AddressAmount) String() string

type AddressList

type AddressList struct {
	Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}

func (*AddressList) Descriptor

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

func (*AddressList) GetAddresses

func (m *AddressList) GetAddresses() [][]byte

func (*AddressList) ProtoMessage

func (*AddressList) ProtoMessage()

func (*AddressList) Reset

func (m *AddressList) Reset()

func (*AddressList) String

func (m *AddressList) String() string

type AddressState

type AddressState struct {
	Address            []byte            `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Balance            uint64            `protobuf:"varint,2,opt,name=balance" json:"balance,omitempty"`
	Nonce              uint64            `protobuf:"varint,3,opt,name=nonce" json:"nonce,omitempty"`
	OtsBitfield        [][]byte          `protobuf:"bytes,4,rep,name=ots_bitfield,json=otsBitfield,proto3" json:"ots_bitfield,omitempty"`
	TransactionHashes  [][]byte          `protobuf:"bytes,5,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"`
	Tokens             map[string]uint64 `` /* 133-byte string literal not displayed */
	LatticePKList      []*LatticePK      `protobuf:"bytes,7,rep,name=latticePK_list,json=latticePKList" json:"latticePK_list,omitempty"`
	SlavePksAccessType map[string]uint32 `` /* 187-byte string literal not displayed */
	OtsCounter         uint64            `protobuf:"varint,9,opt,name=ots_counter,json=otsCounter" json:"ots_counter,omitempty"`
}

func (*AddressState) Descriptor

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

func (*AddressState) GetAddress

func (m *AddressState) GetAddress() []byte

func (*AddressState) GetBalance

func (m *AddressState) GetBalance() uint64

func (*AddressState) GetLatticePKList

func (m *AddressState) GetLatticePKList() []*LatticePK

func (*AddressState) GetNonce

func (m *AddressState) GetNonce() uint64

func (*AddressState) GetOtsBitfield

func (m *AddressState) GetOtsBitfield() [][]byte

func (*AddressState) GetOtsCounter

func (m *AddressState) GetOtsCounter() uint64

func (*AddressState) GetSlavePksAccessType

func (m *AddressState) GetSlavePksAccessType() map[string]uint32

func (*AddressState) GetTokens

func (m *AddressState) GetTokens() map[string]uint64

func (*AddressState) GetTransactionHashes

func (m *AddressState) GetTransactionHashes() [][]byte

func (*AddressState) ProtoMessage

func (*AddressState) ProtoMessage()

func (*AddressState) Reset

func (m *AddressState) Reset()

func (*AddressState) String

func (m *AddressState) String() string

type AdminAPIClient

type AdminAPIClient interface {
}

func NewAdminAPIClient

func NewAdminAPIClient(cc *grpc.ClientConn) AdminAPIClient

type AdminAPIServer

type AdminAPIServer interface {
}

type Block

type Block struct {
	Header       *BlockHeader   `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
	Transactions []*Transaction `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
	// This is only applicable to genesis blocks
	GenesisBalance []*GenesisBalance `protobuf:"bytes,3,rep,name=genesis_balance,json=genesisBalance" json:"genesis_balance,omitempty"`
}

func (*Block) Descriptor

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

func (*Block) GetGenesisBalance

func (m *Block) GetGenesisBalance() []*GenesisBalance

func (*Block) GetHeader

func (m *Block) GetHeader() *BlockHeader

func (*Block) GetTransactions

func (m *Block) GetTransactions() []*Transaction

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

type BlockDataPoint

type BlockDataPoint struct {
	Number         uint64  `protobuf:"varint,1,opt,name=number" json:"number,omitempty"`
	Difficulty     string  `protobuf:"bytes,2,opt,name=difficulty" json:"difficulty,omitempty"`
	Timestamp      uint64  `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
	TimeLast       uint64  `protobuf:"varint,4,opt,name=time_last,json=timeLast" json:"time_last,omitempty"`
	TimeMovavg     uint64  `protobuf:"varint,5,opt,name=time_movavg,json=timeMovavg" json:"time_movavg,omitempty"`
	HashPower      float32 `protobuf:"fixed32,6,opt,name=hash_power,json=hashPower" json:"hash_power,omitempty"`
	HeaderHash     []byte  `protobuf:"bytes,7,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`
	HeaderHashPrev []byte  `protobuf:"bytes,8,opt,name=header_hash_prev,json=headerHashPrev,proto3" json:"header_hash_prev,omitempty"`
}

* BlockDataPoint message definition

func (*BlockDataPoint) Descriptor

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

func (*BlockDataPoint) GetDifficulty

func (m *BlockDataPoint) GetDifficulty() string

func (*BlockDataPoint) GetHashPower

func (m *BlockDataPoint) GetHashPower() float32

func (*BlockDataPoint) GetHeaderHash

func (m *BlockDataPoint) GetHeaderHash() []byte

func (*BlockDataPoint) GetHeaderHashPrev

func (m *BlockDataPoint) GetHeaderHashPrev() []byte

func (*BlockDataPoint) GetNumber

func (m *BlockDataPoint) GetNumber() uint64

func (*BlockDataPoint) GetTimeLast

func (m *BlockDataPoint) GetTimeLast() uint64

func (*BlockDataPoint) GetTimeMovavg

func (m *BlockDataPoint) GetTimeMovavg() uint64

func (*BlockDataPoint) GetTimestamp

func (m *BlockDataPoint) GetTimestamp() uint64

func (*BlockDataPoint) ProtoMessage

func (*BlockDataPoint) ProtoMessage()

func (*BlockDataPoint) Reset

func (m *BlockDataPoint) Reset()

func (*BlockDataPoint) String

func (m *BlockDataPoint) String() string

type BlockExtended

type BlockExtended struct {
	Header               *BlockHeader           `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
	ExtendedTransactions []*TransactionExtended `protobuf:"bytes,2,rep,name=extended_transactions,json=extendedTransactions" json:"extended_transactions,omitempty"`
	// This is only applicable to genesis blocks
	GenesisBalance []*GenesisBalance `protobuf:"bytes,3,rep,name=genesis_balance,json=genesisBalance" json:"genesis_balance,omitempty"`
	Size           uint64            `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
}

func (*BlockExtended) Descriptor

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

func (*BlockExtended) GetExtendedTransactions

func (m *BlockExtended) GetExtendedTransactions() []*TransactionExtended

func (*BlockExtended) GetGenesisBalance

func (m *BlockExtended) GetGenesisBalance() []*GenesisBalance

func (*BlockExtended) GetHeader

func (m *BlockExtended) GetHeader() *BlockHeader

func (*BlockExtended) GetSize

func (m *BlockExtended) GetSize() uint64

func (*BlockExtended) ProtoMessage

func (*BlockExtended) ProtoMessage()

func (*BlockExtended) Reset

func (m *BlockExtended) Reset()

func (*BlockExtended) String

func (m *BlockExtended) String() string

type BlockHeader

type BlockHeader struct {
	// Header
	HashHeader       []byte `protobuf:"bytes,1,opt,name=hash_header,json=hashHeader,proto3" json:"hash_header,omitempty"`
	BlockNumber      uint64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber" json:"block_number,omitempty"`
	TimestampSeconds uint64 `protobuf:"varint,3,opt,name=timestamp_seconds,json=timestampSeconds" json:"timestamp_seconds,omitempty"`
	HashHeaderPrev   []byte `protobuf:"bytes,4,opt,name=hash_header_prev,json=hashHeaderPrev,proto3" json:"hash_header_prev,omitempty"`
	RewardBlock      uint64 `protobuf:"varint,5,opt,name=reward_block,json=rewardBlock" json:"reward_block,omitempty"`
	RewardFee        uint64 `protobuf:"varint,6,opt,name=reward_fee,json=rewardFee" json:"reward_fee,omitempty"`
	MerkleRoot       []byte `protobuf:"bytes,7,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	MiningNonce      uint32 `protobuf:"varint,8,opt,name=mining_nonce,json=miningNonce" json:"mining_nonce,omitempty"`
	ExtraNonce       uint64 `protobuf:"varint,9,opt,name=extra_nonce,json=extraNonce" json:"extra_nonce,omitempty"`
}

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetBlockNumber

func (m *BlockHeader) GetBlockNumber() uint64

func (*BlockHeader) GetExtraNonce

func (m *BlockHeader) GetExtraNonce() uint64

func (*BlockHeader) GetHashHeader

func (m *BlockHeader) GetHashHeader() []byte

func (*BlockHeader) GetHashHeaderPrev

func (m *BlockHeader) GetHashHeaderPrev() []byte

func (*BlockHeader) GetMerkleRoot

func (m *BlockHeader) GetMerkleRoot() []byte

func (*BlockHeader) GetMiningNonce

func (m *BlockHeader) GetMiningNonce() uint32

func (*BlockHeader) GetRewardBlock

func (m *BlockHeader) GetRewardBlock() uint64

func (*BlockHeader) GetRewardFee

func (m *BlockHeader) GetRewardFee() uint64

func (*BlockHeader) GetTimestampSeconds

func (m *BlockHeader) GetTimestampSeconds() uint64

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) String

func (m *BlockHeader) String() string

type BlockHeaderExtended

type BlockHeaderExtended struct {
	Header           *BlockHeader      `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
	TransactionCount *TransactionCount `protobuf:"bytes,2,opt,name=transaction_count,json=transactionCount" json:"transaction_count,omitempty"`
}

func (*BlockHeaderExtended) Descriptor

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

func (*BlockHeaderExtended) GetHeader

func (m *BlockHeaderExtended) GetHeader() *BlockHeader

func (*BlockHeaderExtended) GetTransactionCount

func (m *BlockHeaderExtended) GetTransactionCount() *TransactionCount

func (*BlockHeaderExtended) ProtoMessage

func (*BlockHeaderExtended) ProtoMessage()

func (*BlockHeaderExtended) Reset

func (m *BlockHeaderExtended) Reset()

func (*BlockHeaderExtended) String

func (m *BlockHeaderExtended) String() string

type BlockHeightData

type BlockHeightData struct {
	BlockNumber          uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber" json:"block_number,omitempty"`
	BlockHeaderhash      []byte `protobuf:"bytes,2,opt,name=block_headerhash,json=blockHeaderhash,proto3" json:"block_headerhash,omitempty"`
	CumulativeDifficulty []byte `protobuf:"bytes,3,opt,name=cumulative_difficulty,json=cumulativeDifficulty,proto3" json:"cumulative_difficulty,omitempty"`
}

func (*BlockHeightData) Descriptor

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

func (*BlockHeightData) GetBlockHeaderhash

func (m *BlockHeightData) GetBlockHeaderhash() []byte

func (*BlockHeightData) GetBlockNumber

func (m *BlockHeightData) GetBlockNumber() uint64

func (*BlockHeightData) GetCumulativeDifficulty

func (m *BlockHeightData) GetCumulativeDifficulty() []byte

func (*BlockHeightData) ProtoMessage

func (*BlockHeightData) ProtoMessage()

func (*BlockHeightData) Reset

func (m *BlockHeightData) Reset()

func (*BlockHeightData) String

func (m *BlockHeightData) String() string

type BlockMetaData

type BlockMetaData struct {
	BlockDifficulty      []byte   `protobuf:"bytes,1,opt,name=block_difficulty,json=blockDifficulty,proto3" json:"block_difficulty,omitempty"`
	CumulativeDifficulty []byte   `protobuf:"bytes,2,opt,name=cumulative_difficulty,json=cumulativeDifficulty,proto3" json:"cumulative_difficulty,omitempty"`
	ChildHeaderhashes    [][]byte `protobuf:"bytes,3,rep,name=child_headerhashes,json=childHeaderhashes,proto3" json:"child_headerhashes,omitempty"`
	Last_NHeaderhashes   [][]byte `protobuf:"bytes,4,rep,name=last_N_headerhashes,json=lastNHeaderhashes,proto3" json:"last_N_headerhashes,omitempty"`
}

func (*BlockMetaData) Descriptor

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

func (*BlockMetaData) GetBlockDifficulty

func (m *BlockMetaData) GetBlockDifficulty() []byte

func (*BlockMetaData) GetChildHeaderhashes

func (m *BlockMetaData) GetChildHeaderhashes() [][]byte

func (*BlockMetaData) GetCumulativeDifficulty

func (m *BlockMetaData) GetCumulativeDifficulty() []byte

func (*BlockMetaData) GetLast_NHeaderhashes

func (m *BlockMetaData) GetLast_NHeaderhashes() [][]byte

func (*BlockMetaData) ProtoMessage

func (*BlockMetaData) ProtoMessage()

func (*BlockMetaData) Reset

func (m *BlockMetaData) Reset()

func (*BlockMetaData) String

func (m *BlockMetaData) String() string

type BlockMetaDataList

type BlockMetaDataList struct {
	BlockNumberHashes []*BlockMetaData `protobuf:"bytes,1,rep,name=block_number_hashes,json=blockNumberHashes" json:"block_number_hashes,omitempty"`
}

func (*BlockMetaDataList) Descriptor

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

func (*BlockMetaDataList) GetBlockNumberHashes

func (m *BlockMetaDataList) GetBlockNumberHashes() []*BlockMetaData

func (*BlockMetaDataList) ProtoMessage

func (*BlockMetaDataList) ProtoMessage()

func (*BlockMetaDataList) Reset

func (m *BlockMetaDataList) Reset()

func (*BlockMetaDataList) String

func (m *BlockMetaDataList) String() string

type BlockNumberMapping

type BlockNumberMapping struct {
	Headerhash     []byte `protobuf:"bytes,1,opt,name=headerhash,proto3" json:"headerhash,omitempty"`
	PrevHeaderhash []byte `protobuf:"bytes,2,opt,name=prev_headerhash,json=prevHeaderhash,proto3" json:"prev_headerhash,omitempty"`
}

func (*BlockNumberMapping) Descriptor

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

func (*BlockNumberMapping) GetHeaderhash

func (m *BlockNumberMapping) GetHeaderhash() []byte

func (*BlockNumberMapping) GetPrevHeaderhash

func (m *BlockNumberMapping) GetPrevHeaderhash() []byte

func (*BlockNumberMapping) ProtoMessage

func (*BlockNumberMapping) ProtoMessage()

func (*BlockNumberMapping) Reset

func (m *BlockNumberMapping) Reset()

func (*BlockNumberMapping) String

func (m *BlockNumberMapping) String() string

type Empty

type Empty struct {
}

* Empty message definition

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type EncryptedEphemeralMessage

type EncryptedEphemeralMessage struct {
	MsgId   []byte                             `protobuf:"bytes,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`
	Ttl     uint64                             `protobuf:"varint,2,opt,name=ttl" json:"ttl,omitempty"`
	Ttr     uint64                             `protobuf:"varint,3,opt,name=ttr" json:"ttr,omitempty"`
	Channel *EncryptedEphemeralMessage_Channel `protobuf:"bytes,5,opt,name=channel" json:"channel,omitempty"`
	Nonce   uint64                             `protobuf:"varint,6,opt,name=nonce" json:"nonce,omitempty"`
	Payload []byte                             `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*EncryptedEphemeralMessage) Descriptor

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

func (*EncryptedEphemeralMessage) GetChannel

func (*EncryptedEphemeralMessage) GetMsgId

func (m *EncryptedEphemeralMessage) GetMsgId() []byte

func (*EncryptedEphemeralMessage) GetNonce

func (m *EncryptedEphemeralMessage) GetNonce() uint64

func (*EncryptedEphemeralMessage) GetPayload

func (m *EncryptedEphemeralMessage) GetPayload() []byte

func (*EncryptedEphemeralMessage) GetTtl

func (m *EncryptedEphemeralMessage) GetTtl() uint64

func (*EncryptedEphemeralMessage) GetTtr

func (m *EncryptedEphemeralMessage) GetTtr() uint64

func (*EncryptedEphemeralMessage) ProtoMessage

func (*EncryptedEphemeralMessage) ProtoMessage()

func (*EncryptedEphemeralMessage) Reset

func (m *EncryptedEphemeralMessage) Reset()

func (*EncryptedEphemeralMessage) String

func (m *EncryptedEphemeralMessage) String() string

type EncryptedEphemeralMessage_Channel

type EncryptedEphemeralMessage_Channel struct {
	EncAes256Symkey []byte `protobuf:"bytes,4,opt,name=enc_aes256_symkey,json=encAes256Symkey,proto3" json:"enc_aes256_symkey,omitempty"`
}

func (*EncryptedEphemeralMessage_Channel) Descriptor

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

func (*EncryptedEphemeralMessage_Channel) GetEncAes256Symkey

func (m *EncryptedEphemeralMessage_Channel) GetEncAes256Symkey() []byte

func (*EncryptedEphemeralMessage_Channel) ProtoMessage

func (*EncryptedEphemeralMessage_Channel) ProtoMessage()

func (*EncryptedEphemeralMessage_Channel) Reset

func (*EncryptedEphemeralMessage_Channel) String

type GenesisBalance

type GenesisBalance struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Balance uint64 `protobuf:"varint,2,opt,name=balance" json:"balance,omitempty"`
}

func (*GenesisBalance) Descriptor

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

func (*GenesisBalance) GetAddress

func (m *GenesisBalance) GetAddress() []byte

func (*GenesisBalance) GetBalance

func (m *GenesisBalance) GetBalance() uint64

func (*GenesisBalance) ProtoMessage

func (*GenesisBalance) ProtoMessage()

func (*GenesisBalance) Reset

func (m *GenesisBalance) Reset()

func (*GenesisBalance) String

func (m *GenesisBalance) String() string

type GetAddressFromPKReq

type GetAddressFromPKReq struct {
	Pk []byte `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"`
}

func (*GetAddressFromPKReq) Descriptor

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

func (*GetAddressFromPKReq) GetPk

func (m *GetAddressFromPKReq) GetPk() []byte

func (*GetAddressFromPKReq) ProtoMessage

func (*GetAddressFromPKReq) ProtoMessage()

func (*GetAddressFromPKReq) Reset

func (m *GetAddressFromPKReq) Reset()

func (*GetAddressFromPKReq) String

func (m *GetAddressFromPKReq) String() string

type GetAddressFromPKResp

type GetAddressFromPKResp struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*GetAddressFromPKResp) Descriptor

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

func (*GetAddressFromPKResp) GetAddress

func (m *GetAddressFromPKResp) GetAddress() []byte

func (*GetAddressFromPKResp) ProtoMessage

func (*GetAddressFromPKResp) ProtoMessage()

func (*GetAddressFromPKResp) Reset

func (m *GetAddressFromPKResp) Reset()

func (*GetAddressFromPKResp) String

func (m *GetAddressFromPKResp) String() string

type GetAddressStateReq

type GetAddressStateReq struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*GetAddressStateReq) Descriptor

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

func (*GetAddressStateReq) GetAddress

func (m *GetAddressStateReq) GetAddress() []byte

func (*GetAddressStateReq) ProtoMessage

func (*GetAddressStateReq) ProtoMessage()

func (*GetAddressStateReq) Reset

func (m *GetAddressStateReq) Reset()

func (*GetAddressStateReq) String

func (m *GetAddressStateReq) String() string

type GetAddressStateResp

type GetAddressStateResp struct {
	State *AddressState `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
}

func (*GetAddressStateResp) Descriptor

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

func (*GetAddressStateResp) GetState

func (m *GetAddressStateResp) GetState() *AddressState

func (*GetAddressStateResp) ProtoMessage

func (*GetAddressStateResp) ProtoMessage()

func (*GetAddressStateResp) Reset

func (m *GetAddressStateResp) Reset()

func (*GetAddressStateResp) String

func (m *GetAddressStateResp) String() string

type GetBalanceReq

type GetBalanceReq struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*GetBalanceReq) Descriptor

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

func (*GetBalanceReq) GetAddress

func (m *GetBalanceReq) GetAddress() []byte

func (*GetBalanceReq) ProtoMessage

func (*GetBalanceReq) ProtoMessage()

func (*GetBalanceReq) Reset

func (m *GetBalanceReq) Reset()

func (*GetBalanceReq) String

func (m *GetBalanceReq) String() string

type GetBalanceResp

type GetBalanceResp struct {
	Balance uint64 `protobuf:"varint,1,opt,name=balance" json:"balance,omitempty"`
}

func (*GetBalanceResp) Descriptor

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

func (*GetBalanceResp) GetBalance

func (m *GetBalanceResp) GetBalance() uint64

func (*GetBalanceResp) ProtoMessage

func (*GetBalanceResp) ProtoMessage()

func (*GetBalanceResp) Reset

func (m *GetBalanceResp) Reset()

func (*GetBalanceResp) String

func (m *GetBalanceResp) String() string

type GetBlockByNumberReq

type GetBlockByNumberReq struct {
	BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber" json:"block_number,omitempty"`
}

func (*GetBlockByNumberReq) Descriptor

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

func (*GetBlockByNumberReq) GetBlockNumber

func (m *GetBlockByNumberReq) GetBlockNumber() uint64

func (*GetBlockByNumberReq) ProtoMessage

func (*GetBlockByNumberReq) ProtoMessage()

func (*GetBlockByNumberReq) Reset

func (m *GetBlockByNumberReq) Reset()

func (*GetBlockByNumberReq) String

func (m *GetBlockByNumberReq) String() string

type GetBlockByNumberResp

type GetBlockByNumberResp struct {
	Block *Block `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"`
}

func (*GetBlockByNumberResp) Descriptor

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

func (*GetBlockByNumberResp) GetBlock

func (m *GetBlockByNumberResp) GetBlock() *Block

func (*GetBlockByNumberResp) ProtoMessage

func (*GetBlockByNumberResp) ProtoMessage()

func (*GetBlockByNumberResp) Reset

func (m *GetBlockByNumberResp) Reset()

func (*GetBlockByNumberResp) String

func (m *GetBlockByNumberResp) String() string

type GetBlockReq

type GetBlockReq struct {
	HeaderHash []byte `protobuf:"bytes,1,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`
}

func (*GetBlockReq) Descriptor

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

func (*GetBlockReq) GetHeaderHash

func (m *GetBlockReq) GetHeaderHash() []byte

func (*GetBlockReq) ProtoMessage

func (*GetBlockReq) ProtoMessage()

func (*GetBlockReq) Reset

func (m *GetBlockReq) Reset()

func (*GetBlockReq) String

func (m *GetBlockReq) String() string

type GetBlockResp

type GetBlockResp struct {
	Block *Block `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"`
}

func (*GetBlockResp) Descriptor

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

func (*GetBlockResp) GetBlock

func (m *GetBlockResp) GetBlock() *Block

func (*GetBlockResp) ProtoMessage

func (*GetBlockResp) ProtoMessage()

func (*GetBlockResp) Reset

func (m *GetBlockResp) Reset()

func (*GetBlockResp) String

func (m *GetBlockResp) String() string

type GetHeightReq

type GetHeightReq struct {
}

func (*GetHeightReq) Descriptor

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

func (*GetHeightReq) ProtoMessage

func (*GetHeightReq) ProtoMessage()

func (*GetHeightReq) Reset

func (m *GetHeightReq) Reset()

func (*GetHeightReq) String

func (m *GetHeightReq) String() string

type GetHeightResp

type GetHeightResp struct {
	Height uint64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
}

func (*GetHeightResp) Descriptor

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

func (*GetHeightResp) GetHeight

func (m *GetHeightResp) GetHeight() uint64

func (*GetHeightResp) ProtoMessage

func (*GetHeightResp) ProtoMessage()

func (*GetHeightResp) Reset

func (m *GetHeightResp) Reset()

func (*GetHeightResp) String

func (m *GetHeightResp) String() string

type GetKnownPeersReq

type GetKnownPeersReq struct {
}

* Represents a query to get known peers

func (*GetKnownPeersReq) Descriptor

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

func (*GetKnownPeersReq) ProtoMessage

func (*GetKnownPeersReq) ProtoMessage()

func (*GetKnownPeersReq) Reset

func (m *GetKnownPeersReq) Reset()

func (*GetKnownPeersReq) String

func (m *GetKnownPeersReq) String() string

type GetKnownPeersResp

type GetKnownPeersResp struct {
	NodeInfo   *NodeInfo `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo" json:"node_info,omitempty"`
	KnownPeers []*Peer   `protobuf:"bytes,2,rep,name=known_peers,json=knownPeers" json:"known_peers,omitempty"`
}

* Represents the reply message to known peers query

func (*GetKnownPeersResp) Descriptor

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

func (*GetKnownPeersResp) GetKnownPeers

func (m *GetKnownPeersResp) GetKnownPeers() []*Peer

func (*GetKnownPeersResp) GetNodeInfo

func (m *GetKnownPeersResp) GetNodeInfo() *NodeInfo

func (*GetKnownPeersResp) ProtoMessage

func (*GetKnownPeersResp) ProtoMessage()

func (*GetKnownPeersResp) Reset

func (m *GetKnownPeersResp) Reset()

func (*GetKnownPeersResp) String

func (m *GetKnownPeersResp) String() string

type GetLatestDataReq

type GetLatestDataReq struct {
	Filter   GetLatestDataReq_Filter `protobuf:"varint,1,opt,name=filter,enum=qrl.GetLatestDataReq_Filter" json:"filter,omitempty"`
	Offset   uint32                  `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	Quantity uint32                  `protobuf:"varint,3,opt,name=quantity" json:"quantity,omitempty"`
}

func (*GetLatestDataReq) Descriptor

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

func (*GetLatestDataReq) GetFilter

func (*GetLatestDataReq) GetOffset

func (m *GetLatestDataReq) GetOffset() uint32

func (*GetLatestDataReq) GetQuantity

func (m *GetLatestDataReq) GetQuantity() uint32

func (*GetLatestDataReq) ProtoMessage

func (*GetLatestDataReq) ProtoMessage()

func (*GetLatestDataReq) Reset

func (m *GetLatestDataReq) Reset()

func (*GetLatestDataReq) String

func (m *GetLatestDataReq) String() string

type GetLatestDataReq_Filter

type GetLatestDataReq_Filter int32
const (
	GetLatestDataReq_ALL                      GetLatestDataReq_Filter = 0
	GetLatestDataReq_BLOCKHEADERS             GetLatestDataReq_Filter = 1
	GetLatestDataReq_TRANSACTIONS             GetLatestDataReq_Filter = 2
	GetLatestDataReq_TRANSACTIONS_UNCONFIRMED GetLatestDataReq_Filter = 3
)

func (GetLatestDataReq_Filter) EnumDescriptor

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

func (GetLatestDataReq_Filter) String

func (x GetLatestDataReq_Filter) String() string

type GetLatestDataResp

type GetLatestDataResp struct {
	Blockheaders            []*BlockHeaderExtended `protobuf:"bytes,1,rep,name=blockheaders" json:"blockheaders,omitempty"`
	Transactions            []*TransactionExtended `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
	TransactionsUnconfirmed []*TransactionExtended `protobuf:"bytes,3,rep,name=transactions_unconfirmed,json=transactionsUnconfirmed" json:"transactions_unconfirmed,omitempty"`
}

func (*GetLatestDataResp) Descriptor

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

func (*GetLatestDataResp) GetBlockheaders

func (m *GetLatestDataResp) GetBlockheaders() []*BlockHeaderExtended

func (*GetLatestDataResp) GetTransactions

func (m *GetLatestDataResp) GetTransactions() []*TransactionExtended

func (*GetLatestDataResp) GetTransactionsUnconfirmed

func (m *GetLatestDataResp) GetTransactionsUnconfirmed() []*TransactionExtended

func (*GetLatestDataResp) ProtoMessage

func (*GetLatestDataResp) ProtoMessage()

func (*GetLatestDataResp) Reset

func (m *GetLatestDataResp) Reset()

func (*GetLatestDataResp) String

func (m *GetLatestDataResp) String() string

type GetLocalAddressesReq

type GetLocalAddressesReq struct {
}

func (*GetLocalAddressesReq) Descriptor

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

func (*GetLocalAddressesReq) ProtoMessage

func (*GetLocalAddressesReq) ProtoMessage()

func (*GetLocalAddressesReq) Reset

func (m *GetLocalAddressesReq) Reset()

func (*GetLocalAddressesReq) String

func (m *GetLocalAddressesReq) String() string

type GetLocalAddressesResp

type GetLocalAddressesResp struct {
	Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}

func (*GetLocalAddressesResp) Descriptor

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

func (*GetLocalAddressesResp) GetAddresses

func (m *GetLocalAddressesResp) GetAddresses() [][]byte

func (*GetLocalAddressesResp) ProtoMessage

func (*GetLocalAddressesResp) ProtoMessage()

func (*GetLocalAddressesResp) Reset

func (m *GetLocalAddressesResp) Reset()

func (*GetLocalAddressesResp) String

func (m *GetLocalAddressesResp) String() string

type GetNodeStateReq

type GetNodeStateReq struct {
}

* Represents a query to get node state

func (*GetNodeStateReq) Descriptor

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

func (*GetNodeStateReq) ProtoMessage

func (*GetNodeStateReq) ProtoMessage()

func (*GetNodeStateReq) Reset

func (m *GetNodeStateReq) Reset()

func (*GetNodeStateReq) String

func (m *GetNodeStateReq) String() string

type GetNodeStateResp

type GetNodeStateResp struct {
	Info *NodeInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
}

* Represents the reply message to node state query

func (*GetNodeStateResp) Descriptor

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

func (*GetNodeStateResp) GetInfo

func (m *GetNodeStateResp) GetInfo() *NodeInfo

func (*GetNodeStateResp) ProtoMessage

func (*GetNodeStateResp) ProtoMessage()

func (*GetNodeStateResp) Reset

func (m *GetNodeStateResp) Reset()

func (*GetNodeStateResp) String

func (m *GetNodeStateResp) String() string

type GetOTSReq

type GetOTSReq struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*GetOTSReq) Descriptor

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

func (*GetOTSReq) GetAddress

func (m *GetOTSReq) GetAddress() []byte

func (*GetOTSReq) ProtoMessage

func (*GetOTSReq) ProtoMessage()

func (*GetOTSReq) Reset

func (m *GetOTSReq) Reset()

func (*GetOTSReq) String

func (m *GetOTSReq) String() string

type GetOTSResp

type GetOTSResp struct {
	OtsBitfield        [][]byte `protobuf:"bytes,1,rep,name=ots_bitfield,json=otsBitfield,proto3" json:"ots_bitfield,omitempty"`
	NextUnusedOtsIndex uint64   `protobuf:"varint,2,opt,name=next_unused_ots_index,json=nextUnusedOtsIndex" json:"next_unused_ots_index,omitempty"`
}

func (*GetOTSResp) Descriptor

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

func (*GetOTSResp) GetNextUnusedOtsIndex

func (m *GetOTSResp) GetNextUnusedOtsIndex() uint64

func (*GetOTSResp) GetOtsBitfield

func (m *GetOTSResp) GetOtsBitfield() [][]byte

func (*GetOTSResp) ProtoMessage

func (*GetOTSResp) ProtoMessage()

func (*GetOTSResp) Reset

func (m *GetOTSResp) Reset()

func (*GetOTSResp) String

func (m *GetOTSResp) String() string

type GetObjectReq

type GetObjectReq struct {
	Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
}

func (*GetObjectReq) Descriptor

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

func (*GetObjectReq) GetQuery

func (m *GetObjectReq) GetQuery() []byte

func (*GetObjectReq) ProtoMessage

func (*GetObjectReq) ProtoMessage()

func (*GetObjectReq) Reset

func (m *GetObjectReq) Reset()

func (*GetObjectReq) String

func (m *GetObjectReq) String() string

type GetObjectResp

type GetObjectResp struct {
	Found bool `protobuf:"varint,1,opt,name=found" json:"found,omitempty"`
	// Types that are valid to be assigned to Result:
	//	*GetObjectResp_AddressState
	//	*GetObjectResp_Transaction
	//	*GetObjectResp_BlockExtended
	Result isGetObjectResp_Result `protobuf_oneof:"result"`
}

func (*GetObjectResp) Descriptor

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

func (*GetObjectResp) GetAddressState

func (m *GetObjectResp) GetAddressState() *AddressState

func (*GetObjectResp) GetBlockExtended

func (m *GetObjectResp) GetBlockExtended() *BlockExtended

func (*GetObjectResp) GetFound

func (m *GetObjectResp) GetFound() bool

func (*GetObjectResp) GetResult

func (m *GetObjectResp) GetResult() isGetObjectResp_Result

func (*GetObjectResp) GetTransaction

func (m *GetObjectResp) GetTransaction() *TransactionExtended

func (*GetObjectResp) ProtoMessage

func (*GetObjectResp) ProtoMessage()

func (*GetObjectResp) Reset

func (m *GetObjectResp) Reset()

func (*GetObjectResp) String

func (m *GetObjectResp) String() string

func (*GetObjectResp) XXX_OneofFuncs

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

XXX_OneofFuncs is for the internal use of the proto package.

type GetObjectResp_AddressState

type GetObjectResp_AddressState struct {
	AddressState *AddressState `protobuf:"bytes,2,opt,name=address_state,json=addressState,oneof"`
}

type GetObjectResp_BlockExtended

type GetObjectResp_BlockExtended struct {
	BlockExtended *BlockExtended `protobuf:"bytes,4,opt,name=block_extended,json=blockExtended,oneof"`
}

type GetObjectResp_Transaction

type GetObjectResp_Transaction struct {
	Transaction *TransactionExtended `protobuf:"bytes,3,opt,name=transaction,oneof"`
}

type GetPeersStatReq

type GetPeersStatReq struct {
}

* Represents a query to get connected peers stat

func (*GetPeersStatReq) Descriptor

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

func (*GetPeersStatReq) ProtoMessage

func (*GetPeersStatReq) ProtoMessage()

func (*GetPeersStatReq) Reset

func (m *GetPeersStatReq) Reset()

func (*GetPeersStatReq) String

func (m *GetPeersStatReq) String() string

type GetPeersStatResp

type GetPeersStatResp struct {
	PeersStat []*PeerStat `protobuf:"bytes,1,rep,name=peers_stat,json=peersStat" json:"peers_stat,omitempty"`
}

* Represents the reply message to peers stat query

func (*GetPeersStatResp) Descriptor

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

func (*GetPeersStatResp) GetPeersStat

func (m *GetPeersStatResp) GetPeersStat() []*PeerStat

func (*GetPeersStatResp) ProtoMessage

func (*GetPeersStatResp) ProtoMessage()

func (*GetPeersStatResp) Reset

func (m *GetPeersStatResp) Reset()

func (*GetPeersStatResp) String

func (m *GetPeersStatResp) String() string

type GetStatsReq

type GetStatsReq struct {
	IncludeTimeseries bool `protobuf:"varint,1,opt,name=include_timeseries,json=includeTimeseries" json:"include_timeseries,omitempty"`
}

* Represents a query to get statistics about node

func (*GetStatsReq) Descriptor

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

func (*GetStatsReq) GetIncludeTimeseries

func (m *GetStatsReq) GetIncludeTimeseries() bool

func (*GetStatsReq) ProtoMessage

func (*GetStatsReq) ProtoMessage()

func (*GetStatsReq) Reset

func (m *GetStatsReq) Reset()

func (*GetStatsReq) String

func (m *GetStatsReq) String() string

type GetStatsResp

type GetStatsResp struct {
	NodeInfo         *NodeInfo         `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo" json:"node_info,omitempty"`
	Epoch            uint64            `protobuf:"varint,2,opt,name=epoch" json:"epoch,omitempty"`
	UptimeNetwork    uint64            `protobuf:"varint,3,opt,name=uptime_network,json=uptimeNetwork" json:"uptime_network,omitempty"`
	BlockLastReward  uint64            `protobuf:"varint,4,opt,name=block_last_reward,json=blockLastReward" json:"block_last_reward,omitempty"`
	BlockTimeMean    uint64            `protobuf:"varint,5,opt,name=block_time_mean,json=blockTimeMean" json:"block_time_mean,omitempty"`
	BlockTimeSd      uint64            `protobuf:"varint,6,opt,name=block_time_sd,json=blockTimeSd" json:"block_time_sd,omitempty"`
	CoinsTotalSupply uint64            `protobuf:"varint,7,opt,name=coins_total_supply,json=coinsTotalSupply" json:"coins_total_supply,omitempty"`
	CoinsEmitted     uint64            `protobuf:"varint,8,opt,name=coins_emitted,json=coinsEmitted" json:"coins_emitted,omitempty"`
	BlockTimeseries  []*BlockDataPoint `protobuf:"bytes,9,rep,name=block_timeseries,json=blockTimeseries" json:"block_timeseries,omitempty"`
}

* Represents the reply message to get statistics about node

func (*GetStatsResp) Descriptor

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

func (*GetStatsResp) GetBlockLastReward

func (m *GetStatsResp) GetBlockLastReward() uint64

func (*GetStatsResp) GetBlockTimeMean

func (m *GetStatsResp) GetBlockTimeMean() uint64

func (*GetStatsResp) GetBlockTimeSd

func (m *GetStatsResp) GetBlockTimeSd() uint64

func (*GetStatsResp) GetBlockTimeseries

func (m *GetStatsResp) GetBlockTimeseries() []*BlockDataPoint

func (*GetStatsResp) GetCoinsEmitted

func (m *GetStatsResp) GetCoinsEmitted() uint64

func (*GetStatsResp) GetCoinsTotalSupply

func (m *GetStatsResp) GetCoinsTotalSupply() uint64

func (*GetStatsResp) GetEpoch

func (m *GetStatsResp) GetEpoch() uint64

func (*GetStatsResp) GetNodeInfo

func (m *GetStatsResp) GetNodeInfo() *NodeInfo

func (*GetStatsResp) GetUptimeNetwork

func (m *GetStatsResp) GetUptimeNetwork() uint64

func (*GetStatsResp) ProtoMessage

func (*GetStatsResp) ProtoMessage()

func (*GetStatsResp) Reset

func (m *GetStatsResp) Reset()

func (*GetStatsResp) String

func (m *GetStatsResp) String() string

type GetTransactionReq

type GetTransactionReq struct {
	TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

func (*GetTransactionReq) Descriptor

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

func (*GetTransactionReq) GetTxHash

func (m *GetTransactionReq) GetTxHash() []byte

func (*GetTransactionReq) ProtoMessage

func (*GetTransactionReq) ProtoMessage()

func (*GetTransactionReq) Reset

func (m *GetTransactionReq) Reset()

func (*GetTransactionReq) String

func (m *GetTransactionReq) String() string

type GetTransactionResp

type GetTransactionResp struct {
	Tx              *Transaction `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"`
	Confirmations   uint64       `protobuf:"varint,2,opt,name=confirmations" json:"confirmations,omitempty"`
	BlockNumber     uint64       `protobuf:"varint,3,opt,name=block_number,json=blockNumber" json:"block_number,omitempty"`
	BlockHeaderHash []byte       `protobuf:"bytes,4,opt,name=block_header_hash,json=blockHeaderHash,proto3" json:"block_header_hash,omitempty"`
}

func (*GetTransactionResp) Descriptor

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

func (*GetTransactionResp) GetBlockHeaderHash

func (m *GetTransactionResp) GetBlockHeaderHash() []byte

func (*GetTransactionResp) GetBlockNumber

func (m *GetTransactionResp) GetBlockNumber() uint64

func (*GetTransactionResp) GetConfirmations

func (m *GetTransactionResp) GetConfirmations() uint64

func (*GetTransactionResp) GetTx

func (m *GetTransactionResp) GetTx() *Transaction

func (*GetTransactionResp) ProtoMessage

func (*GetTransactionResp) ProtoMessage()

func (*GetTransactionResp) Reset

func (m *GetTransactionResp) Reset()

func (*GetTransactionResp) String

func (m *GetTransactionResp) String() string

type GetTransactionsByAddressReq

type GetTransactionsByAddressReq struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*GetTransactionsByAddressReq) Descriptor

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

func (*GetTransactionsByAddressReq) GetAddress

func (m *GetTransactionsByAddressReq) GetAddress() []byte

func (*GetTransactionsByAddressReq) ProtoMessage

func (*GetTransactionsByAddressReq) ProtoMessage()

func (*GetTransactionsByAddressReq) Reset

func (m *GetTransactionsByAddressReq) Reset()

func (*GetTransactionsByAddressReq) String

func (m *GetTransactionsByAddressReq) String() string

type GetTransactionsByAddressResp

type GetTransactionsByAddressResp struct {
	MiniTransactions []*MiniTransaction `protobuf:"bytes,1,rep,name=mini_transactions,json=miniTransactions" json:"mini_transactions,omitempty"`
	Balance          uint64             `protobuf:"varint,2,opt,name=balance" json:"balance,omitempty"`
}

func (*GetTransactionsByAddressResp) Descriptor

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

func (*GetTransactionsByAddressResp) GetBalance

func (m *GetTransactionsByAddressResp) GetBalance() uint64

func (*GetTransactionsByAddressResp) GetMiniTransactions

func (m *GetTransactionsByAddressResp) GetMiniTransactions() []*MiniTransaction

func (*GetTransactionsByAddressResp) ProtoMessage

func (*GetTransactionsByAddressResp) ProtoMessage()

func (*GetTransactionsByAddressResp) Reset

func (m *GetTransactionsByAddressResp) Reset()

func (*GetTransactionsByAddressResp) String

type LRUStateCache

type LRUStateCache struct {
}

func (*LRUStateCache) Descriptor

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

func (*LRUStateCache) ProtoMessage

func (*LRUStateCache) ProtoMessage()

func (*LRUStateCache) Reset

func (m *LRUStateCache) Reset()

func (*LRUStateCache) String

func (m *LRUStateCache) String() string

type LatticePK

type LatticePK struct {
	Txhash      []byte `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
	DilithiumPk []byte `protobuf:"bytes,2,opt,name=dilithium_pk,json=dilithiumPk,proto3" json:"dilithium_pk,omitempty"`
	KyberPk     []byte `protobuf:"bytes,3,opt,name=kyber_pk,json=kyberPk,proto3" json:"kyber_pk,omitempty"`
}

func (*LatticePK) Descriptor

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

func (*LatticePK) GetDilithiumPk

func (m *LatticePK) GetDilithiumPk() []byte

func (*LatticePK) GetKyberPk

func (m *LatticePK) GetKyberPk() []byte

func (*LatticePK) GetTxhash

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

func (*LatticePK) ProtoMessage

func (*LatticePK) ProtoMessage()

func (*LatticePK) Reset

func (m *LatticePK) Reset()

func (*LatticePK) String

func (m *LatticePK) String() string

type MessageTxnReq

type MessageTxnReq struct {
	MasterAddr []byte `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"`
	Message    []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Fee        uint64 `protobuf:"varint,3,opt,name=fee" json:"fee,omitempty"`
	XmssPk     []byte `protobuf:"bytes,4,opt,name=xmss_pk,json=xmssPk,proto3" json:"xmss_pk,omitempty"`
}

func (*MessageTxnReq) Descriptor

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

func (*MessageTxnReq) GetFee

func (m *MessageTxnReq) GetFee() uint64

func (*MessageTxnReq) GetMasterAddr

func (m *MessageTxnReq) GetMasterAddr() []byte

func (*MessageTxnReq) GetMessage

func (m *MessageTxnReq) GetMessage() []byte

func (*MessageTxnReq) GetXmssPk

func (m *MessageTxnReq) GetXmssPk() []byte

func (*MessageTxnReq) ProtoMessage

func (*MessageTxnReq) ProtoMessage()

func (*MessageTxnReq) Reset

func (m *MessageTxnReq) Reset()

func (*MessageTxnReq) String

func (m *MessageTxnReq) String() string

type MiniTransaction

type MiniTransaction struct {
	TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash" json:"transaction_hash,omitempty"`
	Out             bool   `protobuf:"varint,2,opt,name=out" json:"out,omitempty"`
	Amount          uint64 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"`
}

func (*MiniTransaction) Descriptor

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

func (*MiniTransaction) GetAmount

func (m *MiniTransaction) GetAmount() uint64

func (*MiniTransaction) GetOut

func (m *MiniTransaction) GetOut() bool

func (*MiniTransaction) GetTransactionHash

func (m *MiniTransaction) GetTransactionHash() string

func (*MiniTransaction) ProtoMessage

func (*MiniTransaction) ProtoMessage()

func (*MiniTransaction) Reset

func (m *MiniTransaction) Reset()

func (*MiniTransaction) String

func (m *MiniTransaction) String() string

type NodeChainState

type NodeChainState struct {
	BlockNumber          uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber" json:"block_number,omitempty"`
	HeaderHash           []byte `protobuf:"bytes,2,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`
	CumulativeDifficulty []byte `protobuf:"bytes,3,opt,name=cumulative_difficulty,json=cumulativeDifficulty,proto3" json:"cumulative_difficulty,omitempty"`
	Version              string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
	Timestamp            uint64 `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (*NodeChainState) Descriptor

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

func (*NodeChainState) GetBlockNumber

func (m *NodeChainState) GetBlockNumber() uint64

func (*NodeChainState) GetCumulativeDifficulty

func (m *NodeChainState) GetCumulativeDifficulty() []byte

func (*NodeChainState) GetHeaderHash

func (m *NodeChainState) GetHeaderHash() []byte

func (*NodeChainState) GetTimestamp

func (m *NodeChainState) GetTimestamp() uint64

func (*NodeChainState) GetVersion

func (m *NodeChainState) GetVersion() string

func (*NodeChainState) ProtoMessage

func (*NodeChainState) ProtoMessage()

func (*NodeChainState) Reset

func (m *NodeChainState) Reset()

func (*NodeChainState) String

func (m *NodeChainState) String() string

type NodeHeaderHash

type NodeHeaderHash struct {
	BlockNumber  uint64   `protobuf:"varint,1,opt,name=block_number,json=blockNumber" json:"block_number,omitempty"`
	Headerhashes [][]byte `protobuf:"bytes,2,rep,name=headerhashes,proto3" json:"headerhashes,omitempty"`
}

func (*NodeHeaderHash) Descriptor

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

func (*NodeHeaderHash) GetBlockNumber

func (m *NodeHeaderHash) GetBlockNumber() uint64

func (*NodeHeaderHash) GetHeaderhashes

func (m *NodeHeaderHash) GetHeaderhashes() [][]byte

func (*NodeHeaderHash) ProtoMessage

func (*NodeHeaderHash) ProtoMessage()

func (*NodeHeaderHash) Reset

func (m *NodeHeaderHash) Reset()

func (*NodeHeaderHash) String

func (m *NodeHeaderHash) String() string

type NodeInfo

type NodeInfo struct {
	Version        string         `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	State          NodeInfo_State `protobuf:"varint,2,opt,name=state,enum=qrl.NodeInfo_State" json:"state,omitempty"`
	NumConnections uint32         `protobuf:"varint,3,opt,name=num_connections,json=numConnections" json:"num_connections,omitempty"`
	NumKnownPeers  uint32         `protobuf:"varint,4,opt,name=num_known_peers,json=numKnownPeers" json:"num_known_peers,omitempty"`
	Uptime         uint64         `protobuf:"varint,5,opt,name=uptime" json:"uptime,omitempty"`
	BlockHeight    uint64         `protobuf:"varint,6,opt,name=block_height,json=blockHeight" json:"block_height,omitempty"`
	BlockLastHash  []byte         `protobuf:"bytes,7,opt,name=block_last_hash,json=blockLastHash,proto3" json:"block_last_hash,omitempty"`
	NetworkId      string         `protobuf:"bytes,8,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
}

func (*NodeInfo) Descriptor

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

func (*NodeInfo) GetBlockHeight

func (m *NodeInfo) GetBlockHeight() uint64

func (*NodeInfo) GetBlockLastHash

func (m *NodeInfo) GetBlockLastHash() []byte

func (*NodeInfo) GetNetworkId

func (m *NodeInfo) GetNetworkId() string

func (*NodeInfo) GetNumConnections

func (m *NodeInfo) GetNumConnections() uint32

func (*NodeInfo) GetNumKnownPeers

func (m *NodeInfo) GetNumKnownPeers() uint32

func (*NodeInfo) GetState

func (m *NodeInfo) GetState() NodeInfo_State

func (*NodeInfo) GetUptime

func (m *NodeInfo) GetUptime() uint64

func (*NodeInfo) GetVersion

func (m *NodeInfo) GetVersion() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

type NodeInfo_State

type NodeInfo_State int32
const (
	NodeInfo_UNKNOWN  NodeInfo_State = 0
	NodeInfo_UNSYNCED NodeInfo_State = 1
	NodeInfo_SYNCING  NodeInfo_State = 2
	NodeInfo_SYNCED   NodeInfo_State = 3
	NodeInfo_FORKED   NodeInfo_State = 4
)

func (NodeInfo_State) EnumDescriptor

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

func (NodeInfo_State) String

func (x NodeInfo_State) String() string

type P2PAcknowledgement

type P2PAcknowledgement struct {
	BytesProcessed uint32 `protobuf:"varint,1,opt,name=bytes_processed,json=bytesProcessed" json:"bytes_processed,omitempty"`
}

func (*P2PAcknowledgement) Descriptor

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

func (*P2PAcknowledgement) GetBytesProcessed

func (m *P2PAcknowledgement) GetBytesProcessed() uint32

func (*P2PAcknowledgement) ProtoMessage

func (*P2PAcknowledgement) ProtoMessage()

func (*P2PAcknowledgement) Reset

func (m *P2PAcknowledgement) Reset()

func (*P2PAcknowledgement) String

func (m *P2PAcknowledgement) String() string

type Peer

type Peer struct {
	Ip string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
}

func (*Peer) Descriptor

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

func (*Peer) GetIp

func (m *Peer) GetIp() string

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) String

func (m *Peer) String() string

type PeerInfo

type PeerInfo struct {
	PeerIp                   []byte   `protobuf:"bytes,1,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"`
	Port                     uint32   `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	BannedTimestamp          uint32   `protobuf:"varint,3,opt,name=banned_timestamp,json=bannedTimestamp" json:"banned_timestamp,omitempty"`
	Credibility              uint32   `protobuf:"varint,4,opt,name=credibility" json:"credibility,omitempty"`
	LastConnectionsTimestamp []uint32 `` /* 136-byte string literal not displayed */
}

func (*PeerInfo) Descriptor

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

func (*PeerInfo) GetBannedTimestamp

func (m *PeerInfo) GetBannedTimestamp() uint32

func (*PeerInfo) GetCredibility

func (m *PeerInfo) GetCredibility() uint32

func (*PeerInfo) GetLastConnectionsTimestamp

func (m *PeerInfo) GetLastConnectionsTimestamp() []uint32

func (*PeerInfo) GetPeerIp

func (m *PeerInfo) GetPeerIp() []byte

func (*PeerInfo) GetPort

func (m *PeerInfo) GetPort() uint32

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) Reset

func (m *PeerInfo) Reset()

func (*PeerInfo) String

func (m *PeerInfo) String() string

type PeerStat

type PeerStat struct {
	PeerIp         []byte          `protobuf:"bytes,1,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"`
	Port           uint32          `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	NodeChainState *NodeChainState `protobuf:"bytes,3,opt,name=node_chain_state,json=nodeChainState" json:"node_chain_state,omitempty"`
}

func (*PeerStat) Descriptor

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

func (*PeerStat) GetNodeChainState

func (m *PeerStat) GetNodeChainState() *NodeChainState

func (*PeerStat) GetPeerIp

func (m *PeerStat) GetPeerIp() []byte

func (*PeerStat) GetPort

func (m *PeerStat) GetPort() uint32

func (*PeerStat) ProtoMessage

func (*PeerStat) ProtoMessage()

func (*PeerStat) Reset

func (m *PeerStat) Reset()

func (*PeerStat) String

func (m *PeerStat) String() string

type Peers

type Peers struct {
	PeerInfoList []*PeerInfo `protobuf:"bytes,1,rep,name=peer_info_list,json=peerInfoList" json:"peer_info_list,omitempty"`
}

func (*Peers) Descriptor

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

func (*Peers) GetPeerInfoList

func (m *Peers) GetPeerInfoList() []*PeerInfo

func (*Peers) ProtoMessage

func (*Peers) ProtoMessage()

func (*Peers) Reset

func (m *Peers) Reset()

func (*Peers) String

func (m *Peers) String() string

type PublicAPIClient

type PublicAPIClient interface {
	GetNodeState(ctx context.Context, in *GetNodeStateReq, opts ...grpc.CallOption) (*GetNodeStateResp, error)
	GetKnownPeers(ctx context.Context, in *GetKnownPeersReq, opts ...grpc.CallOption) (*GetKnownPeersResp, error)
	GetPeersStat(ctx context.Context, in *GetPeersStatReq, opts ...grpc.CallOption) (*GetPeersStatResp, error)
	GetStats(ctx context.Context, in *GetStatsReq, opts ...grpc.CallOption) (*GetStatsResp, error)
	GetAddressState(ctx context.Context, in *GetAddressStateReq, opts ...grpc.CallOption) (*GetAddressStateResp, error)
	GetObject(ctx context.Context, in *GetObjectReq, opts ...grpc.CallOption) (*GetObjectResp, error)
	GetLatestData(ctx context.Context, in *GetLatestDataReq, opts ...grpc.CallOption) (*GetLatestDataResp, error)
	PushTransaction(ctx context.Context, in *PushTransactionReq, opts ...grpc.CallOption) (*PushTransactionResp, error)
	TransferCoins(ctx context.Context, in *TransferCoinsReq, opts ...grpc.CallOption) (*TransferCoinsResp, error)
	GetAddressFromPK(ctx context.Context, in *GetAddressFromPKReq, opts ...grpc.CallOption) (*GetAddressFromPKResp, error)
	GetMessageTxn(ctx context.Context, in *MessageTxnReq, opts ...grpc.CallOption) (*TransferCoinsResp, error)
	GetTokenTxn(ctx context.Context, in *TokenTxnReq, opts ...grpc.CallOption) (*TransferCoinsResp, error)
	GetTransferTokenTxn(ctx context.Context, in *TransferTokenTxnReq, opts ...grpc.CallOption) (*TransferCoinsResp, error)
	GetSlaveTxn(ctx context.Context, in *SlaveTxnReq, opts ...grpc.CallOption) (*TransferCoinsResp, error)
	GetTransactionsByAddress(ctx context.Context, in *GetTransactionsByAddressReq, opts ...grpc.CallOption) (*GetTransactionsByAddressResp, error)
	GetTransaction(ctx context.Context, in *GetTransactionReq, opts ...grpc.CallOption) (*GetTransactionResp, error)
	GetBalance(ctx context.Context, in *GetBalanceReq, opts ...grpc.CallOption) (*GetBalanceResp, error)
	GetOTS(ctx context.Context, in *GetOTSReq, opts ...grpc.CallOption) (*GetOTSResp, error)
	GetHeight(ctx context.Context, in *GetHeightReq, opts ...grpc.CallOption) (*GetHeightResp, error)
	GetBlock(ctx context.Context, in *GetBlockReq, opts ...grpc.CallOption) (*GetBlockResp, error)
	GetBlockByNumber(ctx context.Context, in *GetBlockByNumberReq, opts ...grpc.CallOption) (*GetBlockByNumberResp, error)
}

func NewPublicAPIClient

func NewPublicAPIClient(cc *grpc.ClientConn) PublicAPIClient

type PublicAPIServer

type PublicAPIServer interface {
	GetNodeState(context.Context, *GetNodeStateReq) (*GetNodeStateResp, error)
	GetKnownPeers(context.Context, *GetKnownPeersReq) (*GetKnownPeersResp, error)
	GetPeersStat(context.Context, *GetPeersStatReq) (*GetPeersStatResp, error)
	GetStats(context.Context, *GetStatsReq) (*GetStatsResp, error)
	GetAddressState(context.Context, *GetAddressStateReq) (*GetAddressStateResp, error)
	GetObject(context.Context, *GetObjectReq) (*GetObjectResp, error)
	GetLatestData(context.Context, *GetLatestDataReq) (*GetLatestDataResp, error)
	PushTransaction(context.Context, *PushTransactionReq) (*PushTransactionResp, error)
	TransferCoins(context.Context, *TransferCoinsReq) (*TransferCoinsResp, error)
	GetAddressFromPK(context.Context, *GetAddressFromPKReq) (*GetAddressFromPKResp, error)
	GetMessageTxn(context.Context, *MessageTxnReq) (*TransferCoinsResp, error)
	GetTokenTxn(context.Context, *TokenTxnReq) (*TransferCoinsResp, error)
	GetTransferTokenTxn(context.Context, *TransferTokenTxnReq) (*TransferCoinsResp, error)
	GetSlaveTxn(context.Context, *SlaveTxnReq) (*TransferCoinsResp, error)
	GetTransactionsByAddress(context.Context, *GetTransactionsByAddressReq) (*GetTransactionsByAddressResp, error)
	GetTransaction(context.Context, *GetTransactionReq) (*GetTransactionResp, error)
	GetBalance(context.Context, *GetBalanceReq) (*GetBalanceResp, error)
	GetOTS(context.Context, *GetOTSReq) (*GetOTSResp, error)
	GetHeight(context.Context, *GetHeightReq) (*GetHeightResp, error)
	GetBlock(context.Context, *GetBlockReq) (*GetBlockResp, error)
	GetBlockByNumber(context.Context, *GetBlockByNumberReq) (*GetBlockByNumberResp, error)
}

type PushTransactionReq

type PushTransactionReq struct {
	TransactionSigned *Transaction `protobuf:"bytes,1,opt,name=transaction_signed,json=transactionSigned" json:"transaction_signed,omitempty"`
}

func (*PushTransactionReq) Descriptor

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

func (*PushTransactionReq) GetTransactionSigned

func (m *PushTransactionReq) GetTransactionSigned() *Transaction

func (*PushTransactionReq) ProtoMessage

func (*PushTransactionReq) ProtoMessage()

func (*PushTransactionReq) Reset

func (m *PushTransactionReq) Reset()

func (*PushTransactionReq) String

func (m *PushTransactionReq) String() string

type PushTransactionResp

type PushTransactionResp struct {
	ErrorCode        PushTransactionResp_ResponseCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=qrl.PushTransactionResp_ResponseCode" json:"error_code,omitempty"`
	ErrorDescription string                           `protobuf:"bytes,2,opt,name=error_description,json=errorDescription" json:"error_description,omitempty"`
	TxHash           []byte                           `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

func (*PushTransactionResp) Descriptor

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

func (*PushTransactionResp) GetErrorCode

func (*PushTransactionResp) GetErrorDescription

func (m *PushTransactionResp) GetErrorDescription() string

func (*PushTransactionResp) GetTxHash

func (m *PushTransactionResp) GetTxHash() []byte

func (*PushTransactionResp) ProtoMessage

func (*PushTransactionResp) ProtoMessage()

func (*PushTransactionResp) Reset

func (m *PushTransactionResp) Reset()

func (*PushTransactionResp) String

func (m *PushTransactionResp) String() string

type PushTransactionResp_ResponseCode

type PushTransactionResp_ResponseCode int32
const (
	PushTransactionResp_UNKNOWN           PushTransactionResp_ResponseCode = 0
	PushTransactionResp_ERROR             PushTransactionResp_ResponseCode = 1
	PushTransactionResp_VALIDATION_FAILED PushTransactionResp_ResponseCode = 2
	PushTransactionResp_SUBMITTED         PushTransactionResp_ResponseCode = 3
)

func (PushTransactionResp_ResponseCode) EnumDescriptor

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

func (PushTransactionResp_ResponseCode) String

type SlaveTxnReq

type SlaveTxnReq struct {
	MasterAddr  []byte   `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"`
	SlavePks    [][]byte `protobuf:"bytes,2,rep,name=slave_pks,json=slavePks,proto3" json:"slave_pks,omitempty"`
	AccessTypes []uint32 `protobuf:"varint,3,rep,packed,name=access_types,json=accessTypes" json:"access_types,omitempty"`
	Fee         uint64   `protobuf:"varint,4,opt,name=fee" json:"fee,omitempty"`
	XmssPk      []byte   `protobuf:"bytes,5,opt,name=xmss_pk,json=xmssPk,proto3" json:"xmss_pk,omitempty"`
}

func (*SlaveTxnReq) Descriptor

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

func (*SlaveTxnReq) GetAccessTypes

func (m *SlaveTxnReq) GetAccessTypes() []uint32

func (*SlaveTxnReq) GetFee

func (m *SlaveTxnReq) GetFee() uint64

func (*SlaveTxnReq) GetMasterAddr

func (m *SlaveTxnReq) GetMasterAddr() []byte

func (*SlaveTxnReq) GetSlavePks

func (m *SlaveTxnReq) GetSlavePks() [][]byte

func (*SlaveTxnReq) GetXmssPk

func (m *SlaveTxnReq) GetXmssPk() []byte

func (*SlaveTxnReq) ProtoMessage

func (*SlaveTxnReq) ProtoMessage()

func (*SlaveTxnReq) Reset

func (m *SlaveTxnReq) Reset()

func (*SlaveTxnReq) String

func (m *SlaveTxnReq) String() string

type StateLoader

type StateLoader struct {
	Addresses       [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	TokenTxhash     [][]byte `protobuf:"bytes,2,rep,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"`
	Txhash          [][]byte `protobuf:"bytes,3,rep,name=txhash,proto3" json:"txhash,omitempty"`
	TotalCoinSupply uint64   `protobuf:"varint,4,opt,name=total_coin_supply,json=totalCoinSupply" json:"total_coin_supply,omitempty"`
}

func (*StateLoader) Descriptor

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

func (*StateLoader) GetAddresses

func (m *StateLoader) GetAddresses() [][]byte

func (*StateLoader) GetTokenTxhash

func (m *StateLoader) GetTokenTxhash() [][]byte

func (*StateLoader) GetTotalCoinSupply

func (m *StateLoader) GetTotalCoinSupply() uint64

func (*StateLoader) GetTxhash

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

func (*StateLoader) ProtoMessage

func (*StateLoader) ProtoMessage()

func (*StateLoader) Reset

func (m *StateLoader) Reset()

func (*StateLoader) String

func (m *StateLoader) String() string

type StateObjects

type StateObjects struct {
	StateLoaders [][]byte `protobuf:"bytes,1,rep,name=state_loaders,json=stateLoaders,proto3" json:"state_loaders,omitempty"`
}

func (*StateObjects) Descriptor

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

func (*StateObjects) GetStateLoaders

func (m *StateObjects) GetStateLoaders() [][]byte

func (*StateObjects) ProtoMessage

func (*StateObjects) ProtoMessage()

func (*StateObjects) Reset

func (m *StateObjects) Reset()

func (*StateObjects) String

func (m *StateObjects) String() string

type StoredPeers

type StoredPeers struct {
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers" json:"peers,omitempty"`
}

func (*StoredPeers) Descriptor

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

func (*StoredPeers) GetPeers

func (m *StoredPeers) GetPeers() []*Peer

func (*StoredPeers) ProtoMessage

func (*StoredPeers) ProtoMessage()

func (*StoredPeers) Reset

func (m *StoredPeers) Reset()

func (*StoredPeers) String

func (m *StoredPeers) String() string

type TokenList

type TokenList struct {
	TokenTxhash [][]byte `protobuf:"bytes,1,rep,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"`
}

func (*TokenList) Descriptor

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

func (*TokenList) GetTokenTxhash

func (m *TokenList) GetTokenTxhash() [][]byte

func (*TokenList) ProtoMessage

func (*TokenList) ProtoMessage()

func (*TokenList) Reset

func (m *TokenList) Reset()

func (*TokenList) String

func (m *TokenList) String() string

type TokenMetadata

type TokenMetadata struct {
	TokenTxhash           []byte   `protobuf:"bytes,1,opt,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"`
	TransferTokenTxHashes [][]byte `` /* 128-byte string literal not displayed */
}

func (*TokenMetadata) Descriptor

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

func (*TokenMetadata) GetTokenTxhash

func (m *TokenMetadata) GetTokenTxhash() []byte

func (*TokenMetadata) GetTransferTokenTxHashes

func (m *TokenMetadata) GetTransferTokenTxHashes() [][]byte

func (*TokenMetadata) ProtoMessage

func (*TokenMetadata) ProtoMessage()

func (*TokenMetadata) Reset

func (m *TokenMetadata) Reset()

func (*TokenMetadata) String

func (m *TokenMetadata) String() string

type TokenTxnReq

type TokenTxnReq struct {
	MasterAddr      []byte           `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"`
	Symbol          []byte           `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Name            []byte           `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Owner           []byte           `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Decimals        uint64           `protobuf:"varint,5,opt,name=decimals" json:"decimals,omitempty"`
	InitialBalances []*AddressAmount `protobuf:"bytes,6,rep,name=initial_balances,json=initialBalances" json:"initial_balances,omitempty"`
	Fee             uint64           `protobuf:"varint,7,opt,name=fee" json:"fee,omitempty"`
	XmssPk          []byte           `protobuf:"bytes,8,opt,name=xmss_pk,json=xmssPk,proto3" json:"xmss_pk,omitempty"`
}

func (*TokenTxnReq) Descriptor

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

func (*TokenTxnReq) GetDecimals

func (m *TokenTxnReq) GetDecimals() uint64

func (*TokenTxnReq) GetFee

func (m *TokenTxnReq) GetFee() uint64

func (*TokenTxnReq) GetInitialBalances

func (m *TokenTxnReq) GetInitialBalances() []*AddressAmount

func (*TokenTxnReq) GetMasterAddr

func (m *TokenTxnReq) GetMasterAddr() []byte

func (*TokenTxnReq) GetName

func (m *TokenTxnReq) GetName() []byte

func (*TokenTxnReq) GetOwner

func (m *TokenTxnReq) GetOwner() []byte

func (*TokenTxnReq) GetSymbol

func (m *TokenTxnReq) GetSymbol() []byte

func (*TokenTxnReq) GetXmssPk

func (m *TokenTxnReq) GetXmssPk() []byte

func (*TokenTxnReq) ProtoMessage

func (*TokenTxnReq) ProtoMessage()

func (*TokenTxnReq) Reset

func (m *TokenTxnReq) Reset()

func (*TokenTxnReq) String

func (m *TokenTxnReq) String() string

type Transaction

type Transaction struct {
	MasterAddr      []byte `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"`
	Fee             uint64 `protobuf:"varint,2,opt,name=fee" json:"fee,omitempty"`
	PublicKey       []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Signature       []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	Nonce           uint64 `protobuf:"varint,5,opt,name=nonce" json:"nonce,omitempty"`
	TransactionHash []byte `protobuf:"bytes,6,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	// Types that are valid to be assigned to TransactionType:
	//	*Transaction_Transfer_
	//	*Transaction_Coinbase
	//	*Transaction_LatticePK
	//	*Transaction_Message_
	//	*Transaction_Token_
	//	*Transaction_TransferToken_
	//	*Transaction_Slave_
	TransactionType isTransaction_TransactionType `protobuf_oneof:"transactionType"`
}

func (*Transaction) Descriptor

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

func (*Transaction) GetCoinbase

func (m *Transaction) GetCoinbase() *Transaction_CoinBase

func (*Transaction) GetFee

func (m *Transaction) GetFee() uint64

func (*Transaction) GetLatticePK

func (m *Transaction) GetLatticePK() *Transaction_LatticePublicKey

func (*Transaction) GetMasterAddr

func (m *Transaction) GetMasterAddr() []byte

func (*Transaction) GetMessage

func (m *Transaction) GetMessage() *Transaction_Message

func (*Transaction) GetNonce

func (m *Transaction) GetNonce() uint64

func (*Transaction) GetPublicKey

func (m *Transaction) GetPublicKey() []byte

func (*Transaction) GetSignature

func (m *Transaction) GetSignature() []byte

func (*Transaction) GetSlave

func (m *Transaction) GetSlave() *Transaction_Slave

func (*Transaction) GetToken

func (m *Transaction) GetToken() *Transaction_Token

func (*Transaction) GetTransactionHash

func (m *Transaction) GetTransactionHash() []byte

func (*Transaction) GetTransactionType

func (m *Transaction) GetTransactionType() isTransaction_TransactionType

func (*Transaction) GetTransfer

func (m *Transaction) GetTransfer() *Transaction_Transfer

func (*Transaction) GetTransferToken

func (m *Transaction) GetTransferToken() *Transaction_TransferToken

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_OneofFuncs

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

XXX_OneofFuncs is for the internal use of the proto package.

type TransactionCount

type TransactionCount struct {
	Count map[uint32]uint32 `` /* 132-byte string literal not displayed */
}

func (*TransactionCount) Descriptor

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

func (*TransactionCount) GetCount

func (m *TransactionCount) GetCount() map[uint32]uint32

func (*TransactionCount) ProtoMessage

func (*TransactionCount) ProtoMessage()

func (*TransactionCount) Reset

func (m *TransactionCount) Reset()

func (*TransactionCount) String

func (m *TransactionCount) String() string

type TransactionExtended

type TransactionExtended struct {
	Header           *BlockHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
	Tx               *Transaction `protobuf:"bytes,2,opt,name=tx" json:"tx,omitempty"`
	AddrFrom         []byte       `protobuf:"bytes,3,opt,name=addr_from,json=addrFrom,proto3" json:"addr_from,omitempty"`
	Size             uint64       `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
	TimestampSeconds uint64       `protobuf:"varint,5,opt,name=timestamp_seconds,json=timestampSeconds" json:"timestamp_seconds,omitempty"`
}

func (*TransactionExtended) Descriptor

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

func (*TransactionExtended) GetAddrFrom

func (m *TransactionExtended) GetAddrFrom() []byte

func (*TransactionExtended) GetHeader

func (m *TransactionExtended) GetHeader() *BlockHeader

func (*TransactionExtended) GetSize

func (m *TransactionExtended) GetSize() uint64

func (*TransactionExtended) GetTimestampSeconds

func (m *TransactionExtended) GetTimestampSeconds() uint64

func (*TransactionExtended) GetTx

func (m *TransactionExtended) GetTx() *Transaction

func (*TransactionExtended) ProtoMessage

func (*TransactionExtended) ProtoMessage()

func (*TransactionExtended) Reset

func (m *TransactionExtended) Reset()

func (*TransactionExtended) String

func (m *TransactionExtended) String() string

type Transaction_CoinBase

type Transaction_CoinBase struct {
	AddrTo []byte `protobuf:"bytes,1,opt,name=addr_to,json=addrTo,proto3" json:"addr_to,omitempty"`
	Amount uint64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}

func (*Transaction_CoinBase) Descriptor

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

func (*Transaction_CoinBase) GetAddrTo

func (m *Transaction_CoinBase) GetAddrTo() []byte

func (*Transaction_CoinBase) GetAmount

func (m *Transaction_CoinBase) GetAmount() uint64

func (*Transaction_CoinBase) ProtoMessage

func (*Transaction_CoinBase) ProtoMessage()

func (*Transaction_CoinBase) Reset

func (m *Transaction_CoinBase) Reset()

func (*Transaction_CoinBase) String

func (m *Transaction_CoinBase) String() string

type Transaction_Coinbase

type Transaction_Coinbase struct {
	Coinbase *Transaction_CoinBase `protobuf:"bytes,8,opt,name=coinbase,oneof"`
}

type Transaction_LatticePK

type Transaction_LatticePK struct {
	LatticePK *Transaction_LatticePublicKey `protobuf:"bytes,9,opt,name=latticePK,oneof"`
}

type Transaction_LatticePublicKey

type Transaction_LatticePublicKey struct {
	KyberPk     []byte `protobuf:"bytes,1,opt,name=kyber_pk,json=kyberPk,proto3" json:"kyber_pk,omitempty"`
	DilithiumPk []byte `protobuf:"bytes,2,opt,name=dilithium_pk,json=dilithiumPk,proto3" json:"dilithium_pk,omitempty"`
}

func (*Transaction_LatticePublicKey) Descriptor

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

func (*Transaction_LatticePublicKey) GetDilithiumPk

func (m *Transaction_LatticePublicKey) GetDilithiumPk() []byte

func (*Transaction_LatticePublicKey) GetKyberPk

func (m *Transaction_LatticePublicKey) GetKyberPk() []byte

func (*Transaction_LatticePublicKey) ProtoMessage

func (*Transaction_LatticePublicKey) ProtoMessage()

func (*Transaction_LatticePublicKey) Reset

func (m *Transaction_LatticePublicKey) Reset()

func (*Transaction_LatticePublicKey) String

type Transaction_Message

type Transaction_Message struct {
	MessageHash []byte `protobuf:"bytes,1,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"`
}

func (*Transaction_Message) Descriptor

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

func (*Transaction_Message) GetMessageHash

func (m *Transaction_Message) GetMessageHash() []byte

func (*Transaction_Message) ProtoMessage

func (*Transaction_Message) ProtoMessage()

func (*Transaction_Message) Reset

func (m *Transaction_Message) Reset()

func (*Transaction_Message) String

func (m *Transaction_Message) String() string

type Transaction_Message_

type Transaction_Message_ struct {
	Message *Transaction_Message `protobuf:"bytes,10,opt,name=message,oneof"`
}

type Transaction_Slave

type Transaction_Slave struct {
	SlavePks    [][]byte `protobuf:"bytes,1,rep,name=slave_pks,json=slavePks,proto3" json:"slave_pks,omitempty"`
	AccessTypes []uint32 `protobuf:"varint,2,rep,packed,name=access_types,json=accessTypes" json:"access_types,omitempty"`
}

func (*Transaction_Slave) Descriptor

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

func (*Transaction_Slave) GetAccessTypes

func (m *Transaction_Slave) GetAccessTypes() []uint32

func (*Transaction_Slave) GetSlavePks

func (m *Transaction_Slave) GetSlavePks() [][]byte

func (*Transaction_Slave) ProtoMessage

func (*Transaction_Slave) ProtoMessage()

func (*Transaction_Slave) Reset

func (m *Transaction_Slave) Reset()

func (*Transaction_Slave) String

func (m *Transaction_Slave) String() string

type Transaction_Slave_

type Transaction_Slave_ struct {
	Slave *Transaction_Slave `protobuf:"bytes,13,opt,name=slave,oneof"`
}

type Transaction_Token

type Transaction_Token struct {
	Symbol          []byte           `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Name            []byte           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Owner           []byte           `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Decimals        uint64           `protobuf:"varint,4,opt,name=decimals" json:"decimals,omitempty"`
	InitialBalances []*AddressAmount `protobuf:"bytes,5,rep,name=initial_balances,json=initialBalances" json:"initial_balances,omitempty"`
}

func (*Transaction_Token) Descriptor

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

func (*Transaction_Token) GetDecimals

func (m *Transaction_Token) GetDecimals() uint64

func (*Transaction_Token) GetInitialBalances

func (m *Transaction_Token) GetInitialBalances() []*AddressAmount

func (*Transaction_Token) GetName

func (m *Transaction_Token) GetName() []byte

func (*Transaction_Token) GetOwner

func (m *Transaction_Token) GetOwner() []byte

func (*Transaction_Token) GetSymbol

func (m *Transaction_Token) GetSymbol() []byte

func (*Transaction_Token) ProtoMessage

func (*Transaction_Token) ProtoMessage()

func (*Transaction_Token) Reset

func (m *Transaction_Token) Reset()

func (*Transaction_Token) String

func (m *Transaction_Token) String() string

type Transaction_Token_

type Transaction_Token_ struct {
	Token *Transaction_Token `protobuf:"bytes,11,opt,name=token,oneof"`
}

type Transaction_Transfer

type Transaction_Transfer struct {
	AddrsTo [][]byte `protobuf:"bytes,1,rep,name=addrs_to,json=addrsTo,proto3" json:"addrs_to,omitempty"`
	Amounts []uint64 `protobuf:"varint,2,rep,packed,name=amounts" json:"amounts,omitempty"`
}

////////

func (*Transaction_Transfer) Descriptor

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

func (*Transaction_Transfer) GetAddrsTo

func (m *Transaction_Transfer) GetAddrsTo() [][]byte

func (*Transaction_Transfer) GetAmounts

func (m *Transaction_Transfer) GetAmounts() []uint64

func (*Transaction_Transfer) ProtoMessage

func (*Transaction_Transfer) ProtoMessage()

func (*Transaction_Transfer) Reset

func (m *Transaction_Transfer) Reset()

func (*Transaction_Transfer) String

func (m *Transaction_Transfer) String() string

type Transaction_TransferToken

type Transaction_TransferToken struct {
	TokenTxhash []byte   `protobuf:"bytes,1,opt,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"`
	AddrsTo     [][]byte `protobuf:"bytes,2,rep,name=addrs_to,json=addrsTo,proto3" json:"addrs_to,omitempty"`
	Amounts     []uint64 `protobuf:"varint,3,rep,packed,name=amounts" json:"amounts,omitempty"`
}

func (*Transaction_TransferToken) Descriptor

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

func (*Transaction_TransferToken) GetAddrsTo

func (m *Transaction_TransferToken) GetAddrsTo() [][]byte

func (*Transaction_TransferToken) GetAmounts

func (m *Transaction_TransferToken) GetAmounts() []uint64

func (*Transaction_TransferToken) GetTokenTxhash

func (m *Transaction_TransferToken) GetTokenTxhash() []byte

func (*Transaction_TransferToken) ProtoMessage

func (*Transaction_TransferToken) ProtoMessage()

func (*Transaction_TransferToken) Reset

func (m *Transaction_TransferToken) Reset()

func (*Transaction_TransferToken) String

func (m *Transaction_TransferToken) String() string

type Transaction_TransferToken_

type Transaction_TransferToken_ struct {
	TransferToken *Transaction_TransferToken `protobuf:"bytes,12,opt,name=transfer_token,json=transferToken,oneof"`
}

type Transaction_Transfer_

type Transaction_Transfer_ struct {
	Transfer *Transaction_Transfer `protobuf:"bytes,7,opt,name=transfer,oneof"`
}

type TransferCoinsReq

type TransferCoinsReq struct {
	MasterAddr  []byte   `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"`
	AddressesTo [][]byte `protobuf:"bytes,2,rep,name=addresses_to,json=addressesTo,proto3" json:"addresses_to,omitempty"`
	Amounts     []uint64 `protobuf:"varint,3,rep,packed,name=amounts" json:"amounts,omitempty"`
	Fee         uint64   `protobuf:"varint,4,opt,name=fee" json:"fee,omitempty"`
	XmssPk      []byte   `protobuf:"bytes,5,opt,name=xmss_pk,json=xmssPk,proto3" json:"xmss_pk,omitempty"`
}

func (*TransferCoinsReq) Descriptor

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

func (*TransferCoinsReq) GetAddressesTo

func (m *TransferCoinsReq) GetAddressesTo() [][]byte

func (*TransferCoinsReq) GetAmounts

func (m *TransferCoinsReq) GetAmounts() []uint64

func (*TransferCoinsReq) GetFee

func (m *TransferCoinsReq) GetFee() uint64

func (*TransferCoinsReq) GetMasterAddr

func (m *TransferCoinsReq) GetMasterAddr() []byte

func (*TransferCoinsReq) GetXmssPk

func (m *TransferCoinsReq) GetXmssPk() []byte

func (*TransferCoinsReq) ProtoMessage

func (*TransferCoinsReq) ProtoMessage()

func (*TransferCoinsReq) Reset

func (m *TransferCoinsReq) Reset()

func (*TransferCoinsReq) String

func (m *TransferCoinsReq) String() string

type TransferCoinsResp

type TransferCoinsResp struct {
	ExtendedTransactionUnsigned *TransactionExtended `` /* 137-byte string literal not displayed */
}

func (*TransferCoinsResp) Descriptor

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

func (*TransferCoinsResp) GetExtendedTransactionUnsigned

func (m *TransferCoinsResp) GetExtendedTransactionUnsigned() *TransactionExtended

func (*TransferCoinsResp) ProtoMessage

func (*TransferCoinsResp) ProtoMessage()

func (*TransferCoinsResp) Reset

func (m *TransferCoinsResp) Reset()

func (*TransferCoinsResp) String

func (m *TransferCoinsResp) String() string

type TransferTokenTxnReq

type TransferTokenTxnReq struct {
	MasterAddr  []byte   `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"`
	AddressesTo [][]byte `protobuf:"bytes,2,rep,name=addresses_to,json=addressesTo,proto3" json:"addresses_to,omitempty"`
	TokenTxhash []byte   `protobuf:"bytes,3,opt,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"`
	Amounts     []uint64 `protobuf:"varint,4,rep,packed,name=amounts" json:"amounts,omitempty"`
	Fee         uint64   `protobuf:"varint,5,opt,name=fee" json:"fee,omitempty"`
	XmssPk      []byte   `protobuf:"bytes,6,opt,name=xmss_pk,json=xmssPk,proto3" json:"xmss_pk,omitempty"`
}

func (*TransferTokenTxnReq) Descriptor

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

func (*TransferTokenTxnReq) GetAddressesTo

func (m *TransferTokenTxnReq) GetAddressesTo() [][]byte

func (*TransferTokenTxnReq) GetAmounts

func (m *TransferTokenTxnReq) GetAmounts() []uint64

func (*TransferTokenTxnReq) GetFee

func (m *TransferTokenTxnReq) GetFee() uint64

func (*TransferTokenTxnReq) GetMasterAddr

func (m *TransferTokenTxnReq) GetMasterAddr() []byte

func (*TransferTokenTxnReq) GetTokenTxhash

func (m *TransferTokenTxnReq) GetTokenTxhash() []byte

func (*TransferTokenTxnReq) GetXmssPk

func (m *TransferTokenTxnReq) GetXmssPk() []byte

func (*TransferTokenTxnReq) ProtoMessage

func (*TransferTokenTxnReq) ProtoMessage()

func (*TransferTokenTxnReq) Reset

func (m *TransferTokenTxnReq) Reset()

func (*TransferTokenTxnReq) String

func (m *TransferTokenTxnReq) String() string

Jump to

Keyboard shortcuts

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