Documentation ¶
Overview ¶
Package qrlwallet is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterWalletAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWalletAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletAPIClient) error
- func RegisterWalletAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWalletAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletAPIServer) error
- func RegisterWalletAPIServer(s grpc.ServiceRegistrar, srv WalletAPIServer)
- type AddAddressFromSeedReq
- func (*AddAddressFromSeedReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddAddressFromSeedReq) GetSeed() string
- func (*AddAddressFromSeedReq) ProtoMessage()
- func (x *AddAddressFromSeedReq) ProtoReflect() protoreflect.Message
- func (x *AddAddressFromSeedReq) Reset()
- func (x *AddAddressFromSeedReq) String() string
- type AddAddressFromSeedResp
- func (*AddAddressFromSeedResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddAddressFromSeedResp) GetAddress() string
- func (x *AddAddressFromSeedResp) GetCode() uint32
- func (x *AddAddressFromSeedResp) GetError() string
- func (*AddAddressFromSeedResp) ProtoMessage()
- func (x *AddAddressFromSeedResp) ProtoReflect() protoreflect.Message
- func (x *AddAddressFromSeedResp) Reset()
- func (x *AddAddressFromSeedResp) String() string
- type AddNewAddressReq
- func (*AddNewAddressReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddNewAddressReq) GetHashFunction() string
- func (x *AddNewAddressReq) GetHeight() uint64
- func (*AddNewAddressReq) ProtoMessage()
- func (x *AddNewAddressReq) ProtoReflect() protoreflect.Message
- func (x *AddNewAddressReq) Reset()
- func (x *AddNewAddressReq) String() string
- type AddNewAddressResp
- func (*AddNewAddressResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddNewAddressResp) GetAddress() string
- func (x *AddNewAddressResp) GetCode() uint32
- func (x *AddNewAddressResp) GetError() string
- func (*AddNewAddressResp) ProtoMessage()
- func (x *AddNewAddressResp) ProtoReflect() protoreflect.Message
- func (x *AddNewAddressResp) Reset()
- func (x *AddNewAddressResp) String() string
- type AddNewAddressWithSlavesReq
- func (*AddNewAddressWithSlavesReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddNewAddressWithSlavesReq) GetHashFunction() string
- func (x *AddNewAddressWithSlavesReq) GetHeight() uint64
- func (x *AddNewAddressWithSlavesReq) GetNumberOfSlaves() uint64
- func (*AddNewAddressWithSlavesReq) ProtoMessage()
- func (x *AddNewAddressWithSlavesReq) ProtoReflect() protoreflect.Message
- func (x *AddNewAddressWithSlavesReq) Reset()
- func (x *AddNewAddressWithSlavesReq) String() string
- type AddressFromPKReq
- type AddressFromPKResp
- func (*AddressFromPKResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddressFromPKResp) GetAddress() string
- func (x *AddressFromPKResp) GetCode() uint32
- func (x *AddressFromPKResp) GetError() string
- func (*AddressFromPKResp) ProtoMessage()
- func (x *AddressFromPKResp) ProtoReflect() protoreflect.Message
- func (x *AddressFromPKResp) Reset()
- func (x *AddressFromPKResp) String() string
- type BalanceReq
- type BalanceResp
- func (*BalanceResp) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceResp) GetBalance() string
- func (x *BalanceResp) GetCode() uint32
- func (x *BalanceResp) GetError() string
- func (*BalanceResp) ProtoMessage()
- func (x *BalanceResp) ProtoReflect() protoreflect.Message
- func (x *BalanceResp) Reset()
- func (x *BalanceResp) String() string
- type BlockByNumberReq
- type BlockReq
- type BlockResp
- func (*BlockResp) Descriptor() ([]byte, []int)deprecated
- func (x *BlockResp) GetBlock() *PlainBlock
- func (x *BlockResp) GetCode() uint32
- func (x *BlockResp) GetError() string
- func (*BlockResp) ProtoMessage()
- func (x *BlockResp) ProtoReflect() protoreflect.Message
- func (x *BlockResp) Reset()
- func (x *BlockResp) String() string
- type ChangePassphraseReq
- func (*ChangePassphraseReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePassphraseReq) GetNewPassphrase() string
- func (x *ChangePassphraseReq) GetOldPassphrase() string
- func (*ChangePassphraseReq) ProtoMessage()
- func (x *ChangePassphraseReq) ProtoReflect() protoreflect.Message
- func (x *ChangePassphraseReq) Reset()
- func (x *ChangePassphraseReq) String() string
- type ChangePassphraseResp
- func (*ChangePassphraseResp) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePassphraseResp) GetCode() uint32
- func (x *ChangePassphraseResp) GetError() string
- func (*ChangePassphraseResp) ProtoMessage()
- func (x *ChangePassphraseResp) ProtoReflect() protoreflect.Message
- func (x *ChangePassphraseResp) Reset()
- func (x *ChangePassphraseResp) String() string
- type EncryptWalletReq
- type EncryptWalletResp
- func (*EncryptWalletResp) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptWalletResp) GetCode() uint32
- func (x *EncryptWalletResp) GetError() string
- func (*EncryptWalletResp) ProtoMessage()
- func (x *EncryptWalletResp) ProtoReflect() protoreflect.Message
- func (x *EncryptWalletResp) Reset()
- func (x *EncryptWalletResp) String() string
- type GetRecoverySeedsReq
- func (*GetRecoverySeedsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecoverySeedsReq) GetAddress() string
- func (*GetRecoverySeedsReq) ProtoMessage()
- func (x *GetRecoverySeedsReq) ProtoReflect() protoreflect.Message
- func (x *GetRecoverySeedsReq) Reset()
- func (x *GetRecoverySeedsReq) String() string
- type GetRecoverySeedsResp
- func (*GetRecoverySeedsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecoverySeedsResp) GetCode() uint32
- func (x *GetRecoverySeedsResp) GetError() string
- func (x *GetRecoverySeedsResp) GetHexseed() string
- func (x *GetRecoverySeedsResp) GetMnemonic() string
- func (*GetRecoverySeedsResp) ProtoMessage()
- func (x *GetRecoverySeedsResp) ProtoReflect() protoreflect.Message
- func (x *GetRecoverySeedsResp) Reset()
- func (x *GetRecoverySeedsResp) String() string
- type GetWalletInfoReq
- type GetWalletInfoResp
- func (*GetWalletInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletInfoResp) GetAddressCount() uint64
- func (x *GetWalletInfoResp) GetCode() uint32
- func (x *GetWalletInfoResp) GetError() string
- func (x *GetWalletInfoResp) GetIsEncrypted() bool
- func (x *GetWalletInfoResp) GetVersion() uint32
- func (*GetWalletInfoResp) ProtoMessage()
- func (x *GetWalletInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetWalletInfoResp) Reset()
- func (x *GetWalletInfoResp) String() string
- type HeightReq
- type HeightResp
- func (*HeightResp) Descriptor() ([]byte, []int)deprecated
- func (x *HeightResp) GetCode() uint32
- func (x *HeightResp) GetError() string
- func (x *HeightResp) GetHeight() uint64
- func (*HeightResp) ProtoMessage()
- func (x *HeightResp) ProtoReflect() protoreflect.Message
- func (x *HeightResp) Reset()
- func (x *HeightResp) String() string
- type ListAddressesReq
- type ListAddressesResp
- func (*ListAddressesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListAddressesResp) GetAddresses() []string
- func (x *ListAddressesResp) GetCode() uint32
- func (x *ListAddressesResp) GetError() string
- func (*ListAddressesResp) ProtoMessage()
- func (x *ListAddressesResp) ProtoReflect() protoreflect.Message
- func (x *ListAddressesResp) Reset()
- func (x *ListAddressesResp) String() string
- type LockWalletReq
- type LockWalletResp
- func (*LockWalletResp) Descriptor() ([]byte, []int)deprecated
- func (x *LockWalletResp) GetCode() uint32
- func (x *LockWalletResp) GetError() string
- func (*LockWalletResp) ProtoMessage()
- func (x *LockWalletResp) ProtoReflect() protoreflect.Message
- func (x *LockWalletResp) Reset()
- func (x *LockWalletResp) String() string
- type NodeInfoReq
- type NodeInfoResp
- func (*NodeInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoResp) GetBlockHeight() uint64
- func (x *NodeInfoResp) GetBlockLastHash() string
- func (x *NodeInfoResp) GetCode() uint32
- func (x *NodeInfoResp) GetError() string
- func (x *NodeInfoResp) GetNetworkId() string
- func (x *NodeInfoResp) GetNumConnections() string
- func (x *NodeInfoResp) GetNumKnownPeers() string
- func (x *NodeInfoResp) GetUptime() uint64
- func (x *NodeInfoResp) GetVersion() string
- func (*NodeInfoResp) ProtoMessage()
- func (x *NodeInfoResp) ProtoReflect() protoreflect.Message
- func (x *NodeInfoResp) Reset()
- func (x *NodeInfoResp) String() string
- type OTSReq
- type OTSResp
- func (*OTSResp) Descriptor() ([]byte, []int)deprecated
- func (x *OTSResp) GetCode() uint32
- func (x *OTSResp) GetError() string
- func (x *OTSResp) GetNextUnusedOtsIndex() uint64
- func (x *OTSResp) GetOtsBitfield() [][]byte
- func (*OTSResp) ProtoMessage()
- func (x *OTSResp) ProtoReflect() protoreflect.Message
- func (x *OTSResp) Reset()
- func (x *OTSResp) String() string
- type PaginatedTransactionsByAddressReq
- func (*PaginatedTransactionsByAddressReq) Descriptor() ([]byte, []int)deprecated
- func (x *PaginatedTransactionsByAddressReq) GetAddress() string
- func (x *PaginatedTransactionsByAddressReq) GetItemPerPage() uint64
- func (x *PaginatedTransactionsByAddressReq) GetPageNumber() uint64
- func (*PaginatedTransactionsByAddressReq) ProtoMessage()
- func (x *PaginatedTransactionsByAddressReq) ProtoReflect() protoreflect.Message
- func (x *PaginatedTransactionsByAddressReq) Reset()
- func (x *PaginatedTransactionsByAddressReq) String() string
- type PaginatedTransactionsByAddressResp
- func (*PaginatedTransactionsByAddressResp) Descriptor() ([]byte, []int)deprecated
- func (x *PaginatedTransactionsByAddressResp) GetBalance() uint64
- func (x *PaginatedTransactionsByAddressResp) GetCode() uint32
- func (x *PaginatedTransactionsByAddressResp) GetError() string
- func (x *PaginatedTransactionsByAddressResp) GetMiniTransactions() []*generated.MiniTransaction
- func (*PaginatedTransactionsByAddressResp) ProtoMessage()
- func (x *PaginatedTransactionsByAddressResp) ProtoReflect() protoreflect.Message
- func (x *PaginatedTransactionsByAddressResp) Reset()
- func (x *PaginatedTransactionsByAddressResp) String() string
- type PlainAddressAmount
- func (*PlainAddressAmount) Descriptor() ([]byte, []int)deprecated
- func (x *PlainAddressAmount) GetAddress() string
- func (x *PlainAddressAmount) GetAmount() uint64
- func (*PlainAddressAmount) ProtoMessage()
- func (x *PlainAddressAmount) ProtoReflect() protoreflect.Message
- func (x *PlainAddressAmount) Reset()
- func (x *PlainAddressAmount) String() string
- type PlainBlock
- func (*PlainBlock) Descriptor() ([]byte, []int)deprecated
- func (x *PlainBlock) GetGenesisBalance() []*PlainGenesisBalance
- func (x *PlainBlock) GetHeader() *PlainBlockHeader
- func (x *PlainBlock) GetTransactions() []*PlainTransaction
- func (*PlainBlock) ProtoMessage()
- func (x *PlainBlock) ProtoReflect() protoreflect.Message
- func (x *PlainBlock) Reset()
- func (x *PlainBlock) String() string
- type PlainBlockHeader
- func (*PlainBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PlainBlockHeader) GetBlockNumber() uint64
- func (x *PlainBlockHeader) GetExtraNonce() uint64
- func (x *PlainBlockHeader) GetHashHeader() string
- func (x *PlainBlockHeader) GetHashHeaderPrev() string
- func (x *PlainBlockHeader) GetMerkleRoot() string
- func (x *PlainBlockHeader) GetMiningNonce() uint32
- func (x *PlainBlockHeader) GetRewardBlock() uint64
- func (x *PlainBlockHeader) GetRewardFee() uint64
- func (x *PlainBlockHeader) GetTimestampSeconds() uint64
- func (*PlainBlockHeader) ProtoMessage()
- func (x *PlainBlockHeader) ProtoReflect() protoreflect.Message
- func (x *PlainBlockHeader) Reset()
- func (x *PlainBlockHeader) String() string
- type PlainGenesisBalance
- func (*PlainGenesisBalance) Descriptor() ([]byte, []int)deprecated
- func (x *PlainGenesisBalance) GetAddress() string
- func (x *PlainGenesisBalance) GetBalance() uint64
- func (*PlainGenesisBalance) ProtoMessage()
- func (x *PlainGenesisBalance) ProtoReflect() protoreflect.Message
- func (x *PlainGenesisBalance) Reset()
- func (x *PlainGenesisBalance) String() string
- type PlainTransaction
- func (*PlainTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction) GetCoinbase() *PlainTransaction_CoinBase
- func (x *PlainTransaction) GetFee() uint64
- func (x *PlainTransaction) GetLatticePK() *PlainTransaction_LatticePublicKey
- func (x *PlainTransaction) GetMasterAddr() string
- func (x *PlainTransaction) GetMessage() *PlainTransaction_Message
- func (x *PlainTransaction) GetNonce() uint64
- func (x *PlainTransaction) GetPublicKey() string
- func (x *PlainTransaction) GetSignature() string
- func (x *PlainTransaction) GetSignerAddr() string
- func (x *PlainTransaction) GetSlave() *PlainTransaction_Slave
- func (x *PlainTransaction) GetToken() *PlainTransaction_Token
- func (x *PlainTransaction) GetTransactionHash() string
- func (m *PlainTransaction) GetTransactionType() isPlainTransaction_TransactionType
- func (x *PlainTransaction) GetTransfer() *PlainTransaction_Transfer
- func (x *PlainTransaction) GetTransferToken() *PlainTransaction_TransferToken
- func (*PlainTransaction) ProtoMessage()
- func (x *PlainTransaction) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction) Reset()
- func (x *PlainTransaction) String() string
- type PlainTransaction_CoinBase
- func (*PlainTransaction_CoinBase) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_CoinBase) GetAddrTo() string
- func (x *PlainTransaction_CoinBase) GetAmount() uint64
- func (*PlainTransaction_CoinBase) ProtoMessage()
- func (x *PlainTransaction_CoinBase) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_CoinBase) Reset()
- func (x *PlainTransaction_CoinBase) String() string
- type PlainTransaction_Coinbase
- type PlainTransaction_LatticePK
- type PlainTransaction_LatticePublicKey
- func (*PlainTransaction_LatticePublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_LatticePublicKey) GetDilithiumPk() string
- func (x *PlainTransaction_LatticePublicKey) GetKyberPk() string
- func (*PlainTransaction_LatticePublicKey) ProtoMessage()
- func (x *PlainTransaction_LatticePublicKey) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_LatticePublicKey) Reset()
- func (x *PlainTransaction_LatticePublicKey) String() string
- type PlainTransaction_Message
- func (*PlainTransaction_Message) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_Message) GetMessageHash() string
- func (*PlainTransaction_Message) ProtoMessage()
- func (x *PlainTransaction_Message) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_Message) Reset()
- func (x *PlainTransaction_Message) String() string
- type PlainTransaction_Message_
- type PlainTransaction_Slave
- func (*PlainTransaction_Slave) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_Slave) GetAccessTypes() []uint32
- func (x *PlainTransaction_Slave) GetSlavePks() []string
- func (*PlainTransaction_Slave) ProtoMessage()
- func (x *PlainTransaction_Slave) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_Slave) Reset()
- func (x *PlainTransaction_Slave) String() string
- type PlainTransaction_Slave_
- type PlainTransaction_Token
- func (*PlainTransaction_Token) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_Token) GetDecimals() uint64
- func (x *PlainTransaction_Token) GetInitialBalances() []*PlainAddressAmount
- func (x *PlainTransaction_Token) GetName() string
- func (x *PlainTransaction_Token) GetOwner() string
- func (x *PlainTransaction_Token) GetSymbol() string
- func (*PlainTransaction_Token) ProtoMessage()
- func (x *PlainTransaction_Token) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_Token) Reset()
- func (x *PlainTransaction_Token) String() string
- type PlainTransaction_Token_
- type PlainTransaction_Transfer
- func (*PlainTransaction_Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_Transfer) GetAddrsTo() []string
- func (x *PlainTransaction_Transfer) GetAmounts() []uint64
- func (*PlainTransaction_Transfer) ProtoMessage()
- func (x *PlainTransaction_Transfer) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_Transfer) Reset()
- func (x *PlainTransaction_Transfer) String() string
- type PlainTransaction_TransferToken
- func (*PlainTransaction_TransferToken) Descriptor() ([]byte, []int)deprecated
- func (x *PlainTransaction_TransferToken) GetAddrsTo() []string
- func (x *PlainTransaction_TransferToken) GetAmounts() []uint64
- func (x *PlainTransaction_TransferToken) GetTokenTxhash() string
- func (*PlainTransaction_TransferToken) ProtoMessage()
- func (x *PlainTransaction_TransferToken) ProtoReflect() protoreflect.Message
- func (x *PlainTransaction_TransferToken) Reset()
- func (x *PlainTransaction_TransferToken) String() string
- type PlainTransaction_TransferToken_
- type PlainTransaction_Transfer_
- type RelayMessageTxnBySlaveReq
- func (*RelayMessageTxnBySlaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayMessageTxnBySlaveReq) GetFee() uint64
- func (x *RelayMessageTxnBySlaveReq) GetMasterAddress() string
- func (x *RelayMessageTxnBySlaveReq) GetMessage() string
- func (*RelayMessageTxnBySlaveReq) ProtoMessage()
- func (x *RelayMessageTxnBySlaveReq) ProtoReflect() protoreflect.Message
- func (x *RelayMessageTxnBySlaveReq) Reset()
- func (x *RelayMessageTxnBySlaveReq) String() string
- type RelayMessageTxnReq
- func (*RelayMessageTxnReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayMessageTxnReq) GetFee() uint64
- func (x *RelayMessageTxnReq) GetMasterAddress() string
- func (x *RelayMessageTxnReq) GetMessage() string
- func (x *RelayMessageTxnReq) GetOtsIndex() uint64
- func (x *RelayMessageTxnReq) GetSignerAddress() string
- func (*RelayMessageTxnReq) ProtoMessage()
- func (x *RelayMessageTxnReq) ProtoReflect() protoreflect.Message
- func (x *RelayMessageTxnReq) Reset()
- func (x *RelayMessageTxnReq) String() string
- type RelaySlaveTxnBySlaveReq
- func (*RelaySlaveTxnBySlaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelaySlaveTxnBySlaveReq) GetAccessTypes() []uint32
- func (x *RelaySlaveTxnBySlaveReq) GetFee() uint64
- func (x *RelaySlaveTxnBySlaveReq) GetMasterAddress() string
- func (x *RelaySlaveTxnBySlaveReq) GetSlavePks() [][]byte
- func (*RelaySlaveTxnBySlaveReq) ProtoMessage()
- func (x *RelaySlaveTxnBySlaveReq) ProtoReflect() protoreflect.Message
- func (x *RelaySlaveTxnBySlaveReq) Reset()
- func (x *RelaySlaveTxnBySlaveReq) String() string
- type RelaySlaveTxnReq
- func (*RelaySlaveTxnReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelaySlaveTxnReq) GetAccessTypes() []uint32
- func (x *RelaySlaveTxnReq) GetFee() uint64
- func (x *RelaySlaveTxnReq) GetMasterAddress() string
- func (x *RelaySlaveTxnReq) GetOtsIndex() uint64
- func (x *RelaySlaveTxnReq) GetSignerAddress() string
- func (x *RelaySlaveTxnReq) GetSlavePks() [][]byte
- func (*RelaySlaveTxnReq) ProtoMessage()
- func (x *RelaySlaveTxnReq) ProtoReflect() protoreflect.Message
- func (x *RelaySlaveTxnReq) Reset()
- func (x *RelaySlaveTxnReq) String() string
- type RelayTokenTxnBySlaveReq
- func (*RelayTokenTxnBySlaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTokenTxnBySlaveReq) GetAddresses() []string
- func (x *RelayTokenTxnBySlaveReq) GetAmounts() []uint64
- func (x *RelayTokenTxnBySlaveReq) GetDecimals() uint64
- func (x *RelayTokenTxnBySlaveReq) GetFee() uint64
- func (x *RelayTokenTxnBySlaveReq) GetMasterAddress() string
- func (x *RelayTokenTxnBySlaveReq) GetName() string
- func (x *RelayTokenTxnBySlaveReq) GetOwner() string
- func (x *RelayTokenTxnBySlaveReq) GetSymbol() string
- func (*RelayTokenTxnBySlaveReq) ProtoMessage()
- func (x *RelayTokenTxnBySlaveReq) ProtoReflect() protoreflect.Message
- func (x *RelayTokenTxnBySlaveReq) Reset()
- func (x *RelayTokenTxnBySlaveReq) String() string
- type RelayTokenTxnReq
- func (*RelayTokenTxnReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTokenTxnReq) GetAddresses() []string
- func (x *RelayTokenTxnReq) GetAmounts() []uint64
- func (x *RelayTokenTxnReq) GetDecimals() uint64
- func (x *RelayTokenTxnReq) GetFee() uint64
- func (x *RelayTokenTxnReq) GetMasterAddress() string
- func (x *RelayTokenTxnReq) GetName() string
- func (x *RelayTokenTxnReq) GetOtsIndex() uint64
- func (x *RelayTokenTxnReq) GetOwner() string
- func (x *RelayTokenTxnReq) GetSignerAddress() string
- func (x *RelayTokenTxnReq) GetSymbol() string
- func (*RelayTokenTxnReq) ProtoMessage()
- func (x *RelayTokenTxnReq) ProtoReflect() protoreflect.Message
- func (x *RelayTokenTxnReq) Reset()
- func (x *RelayTokenTxnReq) String() string
- type RelayTransferTokenTxnBySlaveReq
- func (*RelayTransferTokenTxnBySlaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTransferTokenTxnBySlaveReq) GetAddressesTo() []string
- func (x *RelayTransferTokenTxnBySlaveReq) GetAmounts() []uint64
- func (x *RelayTransferTokenTxnBySlaveReq) GetFee() uint64
- func (x *RelayTransferTokenTxnBySlaveReq) GetMasterAddress() string
- func (x *RelayTransferTokenTxnBySlaveReq) GetTokenTxhash() string
- func (*RelayTransferTokenTxnBySlaveReq) ProtoMessage()
- func (x *RelayTransferTokenTxnBySlaveReq) ProtoReflect() protoreflect.Message
- func (x *RelayTransferTokenTxnBySlaveReq) Reset()
- func (x *RelayTransferTokenTxnBySlaveReq) String() string
- type RelayTransferTokenTxnReq
- func (*RelayTransferTokenTxnReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTransferTokenTxnReq) GetAddressesTo() []string
- func (x *RelayTransferTokenTxnReq) GetAmounts() []uint64
- func (x *RelayTransferTokenTxnReq) GetFee() uint64
- func (x *RelayTransferTokenTxnReq) GetMasterAddress() string
- func (x *RelayTransferTokenTxnReq) GetOtsIndex() uint64
- func (x *RelayTransferTokenTxnReq) GetSignerAddress() string
- func (x *RelayTransferTokenTxnReq) GetTokenTxhash() string
- func (*RelayTransferTokenTxnReq) ProtoMessage()
- func (x *RelayTransferTokenTxnReq) ProtoReflect() protoreflect.Message
- func (x *RelayTransferTokenTxnReq) Reset()
- func (x *RelayTransferTokenTxnReq) String() string
- type RelayTransferTxnBySlaveReq
- func (*RelayTransferTxnBySlaveReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTransferTxnBySlaveReq) GetAddressesTo() []string
- func (x *RelayTransferTxnBySlaveReq) GetAmounts() []uint64
- func (x *RelayTransferTxnBySlaveReq) GetFee() uint64
- func (x *RelayTransferTxnBySlaveReq) GetMasterAddress() string
- func (*RelayTransferTxnBySlaveReq) ProtoMessage()
- func (x *RelayTransferTxnBySlaveReq) ProtoReflect() protoreflect.Message
- func (x *RelayTransferTxnBySlaveReq) Reset()
- func (x *RelayTransferTxnBySlaveReq) String() string
- type RelayTransferTxnReq
- func (*RelayTransferTxnReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTransferTxnReq) GetAddressesTo() []string
- func (x *RelayTransferTxnReq) GetAmounts() []uint64
- func (x *RelayTransferTxnReq) GetFee() uint64
- func (x *RelayTransferTxnReq) GetMasterAddress() string
- func (x *RelayTransferTxnReq) GetOtsIndex() uint64
- func (x *RelayTransferTxnReq) GetSignerAddress() string
- func (*RelayTransferTxnReq) ProtoMessage()
- func (x *RelayTransferTxnReq) ProtoReflect() protoreflect.Message
- func (x *RelayTransferTxnReq) Reset()
- func (x *RelayTransferTxnReq) String() string
- type RelayTxnResp
- func (*RelayTxnResp) Descriptor() ([]byte, []int)deprecated
- func (x *RelayTxnResp) GetCode() uint32
- func (x *RelayTxnResp) GetError() string
- func (x *RelayTxnResp) GetTx() *PlainTransaction
- func (*RelayTxnResp) ProtoMessage()
- func (x *RelayTxnResp) ProtoReflect() protoreflect.Message
- func (x *RelayTxnResp) Reset()
- func (x *RelayTxnResp) String() string
- type RemoveAddressReq
- type RemoveAddressResp
- func (*RemoveAddressResp) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAddressResp) GetCode() uint32
- func (x *RemoveAddressResp) GetError() string
- func (*RemoveAddressResp) ProtoMessage()
- func (x *RemoveAddressResp) ProtoReflect() protoreflect.Message
- func (x *RemoveAddressResp) Reset()
- func (x *RemoveAddressResp) String() string
- type TotalBalanceReq
- type TotalBalanceResp
- func (*TotalBalanceResp) Descriptor() ([]byte, []int)deprecated
- func (x *TotalBalanceResp) GetBalance() string
- func (x *TotalBalanceResp) GetCode() uint32
- func (x *TotalBalanceResp) GetError() string
- func (*TotalBalanceResp) ProtoMessage()
- func (x *TotalBalanceResp) ProtoReflect() protoreflect.Message
- func (x *TotalBalanceResp) Reset()
- func (x *TotalBalanceResp) String() string
- type TransactionReq
- type TransactionResp
- func (*TransactionResp) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionResp) GetBlockHeaderHash() string
- func (x *TransactionResp) GetBlockNumber() uint64
- func (x *TransactionResp) GetCode() uint32
- func (x *TransactionResp) GetConfirmations() string
- func (x *TransactionResp) GetError() string
- func (x *TransactionResp) GetTx() *PlainTransaction
- func (*TransactionResp) ProtoMessage()
- func (x *TransactionResp) ProtoReflect() protoreflect.Message
- func (x *TransactionResp) Reset()
- func (x *TransactionResp) String() string
- type TransactionsByAddressReq
- func (*TransactionsByAddressReq) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsByAddressReq) GetAddress() string
- func (*TransactionsByAddressReq) ProtoMessage()
- func (x *TransactionsByAddressReq) ProtoReflect() protoreflect.Message
- func (x *TransactionsByAddressReq) Reset()
- func (x *TransactionsByAddressReq) String() string
- type TransactionsByAddressResp
- func (*TransactionsByAddressResp) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsByAddressResp) GetBalance() uint64
- func (x *TransactionsByAddressResp) GetCode() uint32
- func (x *TransactionsByAddressResp) GetError() string
- func (x *TransactionsByAddressResp) GetMiniTransactions() []*generated.MiniTransaction
- func (*TransactionsByAddressResp) ProtoMessage()
- func (x *TransactionsByAddressResp) ProtoReflect() protoreflect.Message
- func (x *TransactionsByAddressResp) Reset()
- func (x *TransactionsByAddressResp) String() string
- type UnimplementedWalletAPIServer
- func (UnimplementedWalletAPIServer) AddNewAddress(context.Context, *AddNewAddressReq) (*AddNewAddressResp, error)
- func (UnimplementedWalletAPIServer) AddNewAddressWithSlaves(context.Context, *AddNewAddressWithSlavesReq) (*AddNewAddressResp, error)
- func (UnimplementedWalletAPIServer) ChangePassphrase(context.Context, *ChangePassphraseReq) (*ChangePassphraseResp, error)
- func (UnimplementedWalletAPIServer) EncryptWallet(context.Context, *EncryptWalletReq) (*EncryptWalletResp, error)
- func (UnimplementedWalletAPIServer) GetAddressFromPK(context.Context, *AddressFromPKReq) (*AddressFromPKResp, error)
- func (UnimplementedWalletAPIServer) GetBalance(context.Context, *BalanceReq) (*BalanceResp, error)
- func (UnimplementedWalletAPIServer) GetBlock(context.Context, *BlockReq) (*BlockResp, error)
- func (UnimplementedWalletAPIServer) GetBlockByNumber(context.Context, *BlockByNumberReq) (*BlockResp, error)
- func (UnimplementedWalletAPIServer) GetHeight(context.Context, *HeightReq) (*HeightResp, error)
- func (UnimplementedWalletAPIServer) GetNodeInfo(context.Context, *NodeInfoReq) (*NodeInfoResp, error)
- func (UnimplementedWalletAPIServer) GetOTS(context.Context, *OTSReq) (*OTSResp, error)
- func (UnimplementedWalletAPIServer) GetPaginatedTransactionsByAddress(context.Context, *PaginatedTransactionsByAddressReq) (*PaginatedTransactionsByAddressResp, error)
- func (UnimplementedWalletAPIServer) GetRecoverySeeds(context.Context, *GetRecoverySeedsReq) (*GetRecoverySeedsResp, error)
- func (UnimplementedWalletAPIServer) GetTotalBalance(context.Context, *TotalBalanceReq) (*TotalBalanceResp, error)
- func (UnimplementedWalletAPIServer) GetTransaction(context.Context, *TransactionReq) (*TransactionResp, error)
- func (UnimplementedWalletAPIServer) GetTransactionsByAddress(context.Context, *TransactionsByAddressReq) (*TransactionsByAddressResp, error)
- func (UnimplementedWalletAPIServer) GetWalletInfo(context.Context, *GetWalletInfoReq) (*GetWalletInfoResp, error)
- func (UnimplementedWalletAPIServer) IsValidAddress(context.Context, *ValidAddressReq) (*ValidAddressResp, error)
- func (UnimplementedWalletAPIServer) ListAddresses(context.Context, *ListAddressesReq) (*ListAddressesResp, error)
- func (UnimplementedWalletAPIServer) LockWallet(context.Context, *LockWalletReq) (*LockWalletResp, error)
- func (UnimplementedWalletAPIServer) RelayMessageTxn(context.Context, *RelayMessageTxnReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayMessageTxnBySlave(context.Context, *RelayMessageTxnBySlaveReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelaySlaveTxn(context.Context, *RelaySlaveTxnReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelaySlaveTxnBySlave(context.Context, *RelaySlaveTxnBySlaveReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayTokenTxn(context.Context, *RelayTokenTxnReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayTokenTxnBySlave(context.Context, *RelayTokenTxnBySlaveReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayTransferTokenTxn(context.Context, *RelayTransferTokenTxnReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayTransferTokenTxnBySlave(context.Context, *RelayTransferTokenTxnBySlaveReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayTransferTxn(context.Context, *RelayTransferTxnReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RelayTransferTxnBySlave(context.Context, *RelayTransferTxnBySlaveReq) (*RelayTxnResp, error)
- func (UnimplementedWalletAPIServer) RemoveAddress(context.Context, *RemoveAddressReq) (*RemoveAddressResp, error)
- func (UnimplementedWalletAPIServer) UnlockWallet(context.Context, *UnlockWalletReq) (*UnlockWalletResp, error)
- type UnlockWalletReq
- type UnlockWalletResp
- func (*UnlockWalletResp) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockWalletResp) GetCode() uint32
- func (x *UnlockWalletResp) GetError() string
- func (*UnlockWalletResp) ProtoMessage()
- func (x *UnlockWalletResp) ProtoReflect() protoreflect.Message
- func (x *UnlockWalletResp) Reset()
- func (x *UnlockWalletResp) String() string
- type UnsafeWalletAPIServer
- type ValidAddressReq
- type ValidAddressResp
- func (*ValidAddressResp) Descriptor() ([]byte, []int)deprecated
- func (x *ValidAddressResp) GetCode() uint32
- func (x *ValidAddressResp) GetError() string
- func (x *ValidAddressResp) GetValid() string
- func (*ValidAddressResp) ProtoMessage()
- func (x *ValidAddressResp) ProtoReflect() protoreflect.Message
- func (x *ValidAddressResp) Reset()
- func (x *ValidAddressResp) String() string
- type WalletAPIClient
- type WalletAPIServer
Constants ¶
const ( WalletAPI_AddNewAddress_FullMethodName = "/qrl.WalletAPI/AddNewAddress" WalletAPI_AddNewAddressWithSlaves_FullMethodName = "/qrl.WalletAPI/AddNewAddressWithSlaves" WalletAPI_IsValidAddress_FullMethodName = "/qrl.WalletAPI/IsValidAddress" WalletAPI_ListAddresses_FullMethodName = "/qrl.WalletAPI/ListAddresses" WalletAPI_RemoveAddress_FullMethodName = "/qrl.WalletAPI/RemoveAddress" WalletAPI_EncryptWallet_FullMethodName = "/qrl.WalletAPI/EncryptWallet" WalletAPI_LockWallet_FullMethodName = "/qrl.WalletAPI/LockWallet" WalletAPI_UnlockWallet_FullMethodName = "/qrl.WalletAPI/UnlockWallet" WalletAPI_GetRecoverySeeds_FullMethodName = "/qrl.WalletAPI/GetRecoverySeeds" WalletAPI_GetWalletInfo_FullMethodName = "/qrl.WalletAPI/GetWalletInfo" WalletAPI_RelayTransferTxn_FullMethodName = "/qrl.WalletAPI/RelayTransferTxn" WalletAPI_RelayTransferTxnBySlave_FullMethodName = "/qrl.WalletAPI/RelayTransferTxnBySlave" WalletAPI_RelayMessageTxn_FullMethodName = "/qrl.WalletAPI/RelayMessageTxn" WalletAPI_RelayMessageTxnBySlave_FullMethodName = "/qrl.WalletAPI/RelayMessageTxnBySlave" WalletAPI_RelayTokenTxn_FullMethodName = "/qrl.WalletAPI/RelayTokenTxn" WalletAPI_RelayTokenTxnBySlave_FullMethodName = "/qrl.WalletAPI/RelayTokenTxnBySlave" WalletAPI_RelayTransferTokenTxn_FullMethodName = "/qrl.WalletAPI/RelayTransferTokenTxn" WalletAPI_RelayTransferTokenTxnBySlave_FullMethodName = "/qrl.WalletAPI/RelayTransferTokenTxnBySlave" WalletAPI_RelaySlaveTxn_FullMethodName = "/qrl.WalletAPI/RelaySlaveTxn" WalletAPI_RelaySlaveTxnBySlave_FullMethodName = "/qrl.WalletAPI/RelaySlaveTxnBySlave" WalletAPI_ChangePassphrase_FullMethodName = "/qrl.WalletAPI/ChangePassphrase" WalletAPI_GetTransactionsByAddress_FullMethodName = "/qrl.WalletAPI/GetTransactionsByAddress" WalletAPI_GetPaginatedTransactionsByAddress_FullMethodName = "/qrl.WalletAPI/GetPaginatedTransactionsByAddress" WalletAPI_GetTransaction_FullMethodName = "/qrl.WalletAPI/GetTransaction" WalletAPI_GetBalance_FullMethodName = "/qrl.WalletAPI/GetBalance" WalletAPI_GetTotalBalance_FullMethodName = "/qrl.WalletAPI/GetTotalBalance" WalletAPI_GetOTS_FullMethodName = "/qrl.WalletAPI/GetOTS" WalletAPI_GetHeight_FullMethodName = "/qrl.WalletAPI/GetHeight" WalletAPI_GetBlock_FullMethodName = "/qrl.WalletAPI/GetBlock" WalletAPI_GetBlockByNumber_FullMethodName = "/qrl.WalletAPI/GetBlockByNumber" WalletAPI_GetAddressFromPK_FullMethodName = "/qrl.WalletAPI/GetAddressFromPK" WalletAPI_GetNodeInfo_FullMethodName = "/qrl.WalletAPI/GetNodeInfo" )
Variables ¶
var File_qrlwallet_proto protoreflect.FileDescriptor
var WalletAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "qrl.WalletAPI", HandlerType: (*WalletAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddNewAddress", Handler: _WalletAPI_AddNewAddress_Handler, }, { MethodName: "AddNewAddressWithSlaves", Handler: _WalletAPI_AddNewAddressWithSlaves_Handler, }, { MethodName: "IsValidAddress", Handler: _WalletAPI_IsValidAddress_Handler, }, { MethodName: "ListAddresses", Handler: _WalletAPI_ListAddresses_Handler, }, { MethodName: "RemoveAddress", Handler: _WalletAPI_RemoveAddress_Handler, }, { MethodName: "EncryptWallet", Handler: _WalletAPI_EncryptWallet_Handler, }, { MethodName: "LockWallet", Handler: _WalletAPI_LockWallet_Handler, }, { MethodName: "UnlockWallet", Handler: _WalletAPI_UnlockWallet_Handler, }, { MethodName: "GetRecoverySeeds", Handler: _WalletAPI_GetRecoverySeeds_Handler, }, { MethodName: "GetWalletInfo", Handler: _WalletAPI_GetWalletInfo_Handler, }, { MethodName: "RelayTransferTxn", Handler: _WalletAPI_RelayTransferTxn_Handler, }, { MethodName: "RelayTransferTxnBySlave", Handler: _WalletAPI_RelayTransferTxnBySlave_Handler, }, { MethodName: "RelayMessageTxn", Handler: _WalletAPI_RelayMessageTxn_Handler, }, { MethodName: "RelayMessageTxnBySlave", Handler: _WalletAPI_RelayMessageTxnBySlave_Handler, }, { MethodName: "RelayTokenTxn", Handler: _WalletAPI_RelayTokenTxn_Handler, }, { MethodName: "RelayTokenTxnBySlave", Handler: _WalletAPI_RelayTokenTxnBySlave_Handler, }, { MethodName: "RelayTransferTokenTxn", Handler: _WalletAPI_RelayTransferTokenTxn_Handler, }, { MethodName: "RelayTransferTokenTxnBySlave", Handler: _WalletAPI_RelayTransferTokenTxnBySlave_Handler, }, { MethodName: "RelaySlaveTxn", Handler: _WalletAPI_RelaySlaveTxn_Handler, }, { MethodName: "RelaySlaveTxnBySlave", Handler: _WalletAPI_RelaySlaveTxnBySlave_Handler, }, { MethodName: "ChangePassphrase", Handler: _WalletAPI_ChangePassphrase_Handler, }, { MethodName: "GetTransactionsByAddress", Handler: _WalletAPI_GetTransactionsByAddress_Handler, }, { MethodName: "GetPaginatedTransactionsByAddress", Handler: _WalletAPI_GetPaginatedTransactionsByAddress_Handler, }, { MethodName: "GetTransaction", Handler: _WalletAPI_GetTransaction_Handler, }, { MethodName: "GetBalance", Handler: _WalletAPI_GetBalance_Handler, }, { MethodName: "GetTotalBalance", Handler: _WalletAPI_GetTotalBalance_Handler, }, { MethodName: "GetOTS", Handler: _WalletAPI_GetOTS_Handler, }, { MethodName: "GetHeight", Handler: _WalletAPI_GetHeight_Handler, }, { MethodName: "GetBlock", Handler: _WalletAPI_GetBlock_Handler, }, { MethodName: "GetBlockByNumber", Handler: _WalletAPI_GetBlockByNumber_Handler, }, { MethodName: "GetAddressFromPK", Handler: _WalletAPI_GetAddressFromPK_Handler, }, { MethodName: "GetNodeInfo", Handler: _WalletAPI_GetNodeInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "qrlwallet.proto", }
WalletAPI_ServiceDesc is the grpc.ServiceDesc for WalletAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWalletAPIHandler ¶
func RegisterWalletAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWalletAPIHandler registers the http handlers for service WalletAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWalletAPIHandlerClient ¶
func RegisterWalletAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletAPIClient) error
RegisterWalletAPIHandlerClient registers the http handlers for service WalletAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WalletAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WalletAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WalletAPIClient" to call the correct interceptors.
func RegisterWalletAPIHandlerFromEndpoint ¶
func RegisterWalletAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWalletAPIHandlerFromEndpoint is same as RegisterWalletAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWalletAPIHandlerServer ¶
func RegisterWalletAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletAPIServer) error
RegisterWalletAPIHandlerServer registers the http handlers for service WalletAPI to "mux". UnaryRPC :call WalletAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWalletAPIHandlerFromEndpoint instead.
func RegisterWalletAPIServer ¶
func RegisterWalletAPIServer(s grpc.ServiceRegistrar, srv WalletAPIServer)
Types ¶
type AddAddressFromSeedReq ¶
type AddAddressFromSeedReq struct { Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` // Seed can be either hexseed or mnemonic // contains filtered or unexported fields }
func (*AddAddressFromSeedReq) Descriptor
deprecated
func (*AddAddressFromSeedReq) Descriptor() ([]byte, []int)
Deprecated: Use AddAddressFromSeedReq.ProtoReflect.Descriptor instead.
func (*AddAddressFromSeedReq) GetSeed ¶
func (x *AddAddressFromSeedReq) GetSeed() string
func (*AddAddressFromSeedReq) ProtoMessage ¶
func (*AddAddressFromSeedReq) ProtoMessage()
func (*AddAddressFromSeedReq) ProtoReflect ¶
func (x *AddAddressFromSeedReq) ProtoReflect() protoreflect.Message
func (*AddAddressFromSeedReq) Reset ¶
func (x *AddAddressFromSeedReq) Reset()
func (*AddAddressFromSeedReq) String ¶
func (x *AddAddressFromSeedReq) String() string
type AddAddressFromSeedResp ¶
type AddAddressFromSeedResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AddAddressFromSeedResp) Descriptor
deprecated
func (*AddAddressFromSeedResp) Descriptor() ([]byte, []int)
Deprecated: Use AddAddressFromSeedResp.ProtoReflect.Descriptor instead.
func (*AddAddressFromSeedResp) GetAddress ¶
func (x *AddAddressFromSeedResp) GetAddress() string
func (*AddAddressFromSeedResp) GetCode ¶
func (x *AddAddressFromSeedResp) GetCode() uint32
func (*AddAddressFromSeedResp) GetError ¶
func (x *AddAddressFromSeedResp) GetError() string
func (*AddAddressFromSeedResp) ProtoMessage ¶
func (*AddAddressFromSeedResp) ProtoMessage()
func (*AddAddressFromSeedResp) ProtoReflect ¶
func (x *AddAddressFromSeedResp) ProtoReflect() protoreflect.Message
func (*AddAddressFromSeedResp) Reset ¶
func (x *AddAddressFromSeedResp) Reset()
func (*AddAddressFromSeedResp) String ¶
func (x *AddAddressFromSeedResp) String() string
type AddNewAddressReq ¶
type AddNewAddressReq struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` HashFunction string `protobuf:"bytes,2,opt,name=hash_function,json=hashFunction,proto3" json:"hash_function,omitempty"` // contains filtered or unexported fields }
func (*AddNewAddressReq) Descriptor
deprecated
func (*AddNewAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use AddNewAddressReq.ProtoReflect.Descriptor instead.
func (*AddNewAddressReq) GetHashFunction ¶
func (x *AddNewAddressReq) GetHashFunction() string
func (*AddNewAddressReq) GetHeight ¶
func (x *AddNewAddressReq) GetHeight() uint64
func (*AddNewAddressReq) ProtoMessage ¶
func (*AddNewAddressReq) ProtoMessage()
func (*AddNewAddressReq) ProtoReflect ¶
func (x *AddNewAddressReq) ProtoReflect() protoreflect.Message
func (*AddNewAddressReq) Reset ¶
func (x *AddNewAddressReq) Reset()
func (*AddNewAddressReq) String ¶
func (x *AddNewAddressReq) String() string
type AddNewAddressResp ¶
type AddNewAddressResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AddNewAddressResp) Descriptor
deprecated
func (*AddNewAddressResp) Descriptor() ([]byte, []int)
Deprecated: Use AddNewAddressResp.ProtoReflect.Descriptor instead.
func (*AddNewAddressResp) GetAddress ¶
func (x *AddNewAddressResp) GetAddress() string
func (*AddNewAddressResp) GetCode ¶
func (x *AddNewAddressResp) GetCode() uint32
func (*AddNewAddressResp) GetError ¶
func (x *AddNewAddressResp) GetError() string
func (*AddNewAddressResp) ProtoMessage ¶
func (*AddNewAddressResp) ProtoMessage()
func (*AddNewAddressResp) ProtoReflect ¶
func (x *AddNewAddressResp) ProtoReflect() protoreflect.Message
func (*AddNewAddressResp) Reset ¶
func (x *AddNewAddressResp) Reset()
func (*AddNewAddressResp) String ¶
func (x *AddNewAddressResp) String() string
type AddNewAddressWithSlavesReq ¶
type AddNewAddressWithSlavesReq struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // Height of Master Address NumberOfSlaves uint64 `protobuf:"varint,2,opt,name=number_of_slaves,json=numberOfSlaves,proto3" json:"number_of_slaves,omitempty"` HashFunction string `protobuf:"bytes,3,opt,name=hash_function,json=hashFunction,proto3" json:"hash_function,omitempty"` // contains filtered or unexported fields }
func (*AddNewAddressWithSlavesReq) Descriptor
deprecated
func (*AddNewAddressWithSlavesReq) Descriptor() ([]byte, []int)
Deprecated: Use AddNewAddressWithSlavesReq.ProtoReflect.Descriptor instead.
func (*AddNewAddressWithSlavesReq) GetHashFunction ¶
func (x *AddNewAddressWithSlavesReq) GetHashFunction() string
func (*AddNewAddressWithSlavesReq) GetHeight ¶
func (x *AddNewAddressWithSlavesReq) GetHeight() uint64
func (*AddNewAddressWithSlavesReq) GetNumberOfSlaves ¶
func (x *AddNewAddressWithSlavesReq) GetNumberOfSlaves() uint64
func (*AddNewAddressWithSlavesReq) ProtoMessage ¶
func (*AddNewAddressWithSlavesReq) ProtoMessage()
func (*AddNewAddressWithSlavesReq) ProtoReflect ¶
func (x *AddNewAddressWithSlavesReq) ProtoReflect() protoreflect.Message
func (*AddNewAddressWithSlavesReq) Reset ¶
func (x *AddNewAddressWithSlavesReq) Reset()
func (*AddNewAddressWithSlavesReq) String ¶
func (x *AddNewAddressWithSlavesReq) String() string
type AddressFromPKReq ¶
type AddressFromPKReq struct { Pk string `protobuf:"bytes,1,opt,name=pk,proto3" json:"pk,omitempty"` // contains filtered or unexported fields }
func (*AddressFromPKReq) Descriptor
deprecated
func (*AddressFromPKReq) Descriptor() ([]byte, []int)
Deprecated: Use AddressFromPKReq.ProtoReflect.Descriptor instead.
func (*AddressFromPKReq) GetPk ¶
func (x *AddressFromPKReq) GetPk() string
func (*AddressFromPKReq) ProtoMessage ¶
func (*AddressFromPKReq) ProtoMessage()
func (*AddressFromPKReq) ProtoReflect ¶
func (x *AddressFromPKReq) ProtoReflect() protoreflect.Message
func (*AddressFromPKReq) Reset ¶
func (x *AddressFromPKReq) Reset()
func (*AddressFromPKReq) String ¶
func (x *AddressFromPKReq) String() string
type AddressFromPKResp ¶
type AddressFromPKResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AddressFromPKResp) Descriptor
deprecated
func (*AddressFromPKResp) Descriptor() ([]byte, []int)
Deprecated: Use AddressFromPKResp.ProtoReflect.Descriptor instead.
func (*AddressFromPKResp) GetAddress ¶
func (x *AddressFromPKResp) GetAddress() string
func (*AddressFromPKResp) GetCode ¶
func (x *AddressFromPKResp) GetCode() uint32
func (*AddressFromPKResp) GetError ¶
func (x *AddressFromPKResp) GetError() string
func (*AddressFromPKResp) ProtoMessage ¶
func (*AddressFromPKResp) ProtoMessage()
func (*AddressFromPKResp) ProtoReflect ¶
func (x *AddressFromPKResp) ProtoReflect() protoreflect.Message
func (*AddressFromPKResp) Reset ¶
func (x *AddressFromPKResp) Reset()
func (*AddressFromPKResp) String ¶
func (x *AddressFromPKResp) String() string
type BalanceReq ¶
type BalanceReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*BalanceReq) Descriptor
deprecated
func (*BalanceReq) Descriptor() ([]byte, []int)
Deprecated: Use BalanceReq.ProtoReflect.Descriptor instead.
func (*BalanceReq) GetAddress ¶
func (x *BalanceReq) GetAddress() string
func (*BalanceReq) ProtoMessage ¶
func (*BalanceReq) ProtoMessage()
func (*BalanceReq) ProtoReflect ¶
func (x *BalanceReq) ProtoReflect() protoreflect.Message
func (*BalanceReq) Reset ¶
func (x *BalanceReq) Reset()
func (*BalanceReq) String ¶
func (x *BalanceReq) String() string
type BalanceResp ¶
type BalanceResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*BalanceResp) Descriptor
deprecated
func (*BalanceResp) Descriptor() ([]byte, []int)
Deprecated: Use BalanceResp.ProtoReflect.Descriptor instead.
func (*BalanceResp) GetBalance ¶
func (x *BalanceResp) GetBalance() string
func (*BalanceResp) GetCode ¶
func (x *BalanceResp) GetCode() uint32
func (*BalanceResp) GetError ¶
func (x *BalanceResp) GetError() string
func (*BalanceResp) ProtoMessage ¶
func (*BalanceResp) ProtoMessage()
func (*BalanceResp) ProtoReflect ¶
func (x *BalanceResp) ProtoReflect() protoreflect.Message
func (*BalanceResp) Reset ¶
func (x *BalanceResp) Reset()
func (*BalanceResp) String ¶
func (x *BalanceResp) String() string
type BlockByNumberReq ¶
type BlockByNumberReq struct { BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // contains filtered or unexported fields }
func (*BlockByNumberReq) Descriptor
deprecated
func (*BlockByNumberReq) Descriptor() ([]byte, []int)
Deprecated: Use BlockByNumberReq.ProtoReflect.Descriptor instead.
func (*BlockByNumberReq) GetBlockNumber ¶
func (x *BlockByNumberReq) GetBlockNumber() uint64
func (*BlockByNumberReq) ProtoMessage ¶
func (*BlockByNumberReq) ProtoMessage()
func (*BlockByNumberReq) ProtoReflect ¶
func (x *BlockByNumberReq) ProtoReflect() protoreflect.Message
func (*BlockByNumberReq) Reset ¶
func (x *BlockByNumberReq) Reset()
func (*BlockByNumberReq) String ¶
func (x *BlockByNumberReq) String() string
type BlockReq ¶
type BlockReq struct { HeaderHash string `protobuf:"bytes,1,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"` // contains filtered or unexported fields }
func (*BlockReq) Descriptor
deprecated
func (*BlockReq) GetHeaderHash ¶
func (*BlockReq) ProtoMessage ¶
func (*BlockReq) ProtoMessage()
func (*BlockReq) ProtoReflect ¶
func (x *BlockReq) ProtoReflect() protoreflect.Message
type BlockResp ¶
type BlockResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Block *PlainBlock `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*BlockResp) Descriptor
deprecated
func (*BlockResp) GetBlock ¶
func (x *BlockResp) GetBlock() *PlainBlock
func (*BlockResp) ProtoMessage ¶
func (*BlockResp) ProtoMessage()
func (*BlockResp) ProtoReflect ¶
func (x *BlockResp) ProtoReflect() protoreflect.Message
type ChangePassphraseReq ¶
type ChangePassphraseReq struct { OldPassphrase string `protobuf:"bytes,1,opt,name=oldPassphrase,proto3" json:"oldPassphrase,omitempty"` NewPassphrase string `protobuf:"bytes,2,opt,name=newPassphrase,proto3" json:"newPassphrase,omitempty"` // contains filtered or unexported fields }
func (*ChangePassphraseReq) Descriptor
deprecated
func (*ChangePassphraseReq) Descriptor() ([]byte, []int)
Deprecated: Use ChangePassphraseReq.ProtoReflect.Descriptor instead.
func (*ChangePassphraseReq) GetNewPassphrase ¶
func (x *ChangePassphraseReq) GetNewPassphrase() string
func (*ChangePassphraseReq) GetOldPassphrase ¶
func (x *ChangePassphraseReq) GetOldPassphrase() string
func (*ChangePassphraseReq) ProtoMessage ¶
func (*ChangePassphraseReq) ProtoMessage()
func (*ChangePassphraseReq) ProtoReflect ¶
func (x *ChangePassphraseReq) ProtoReflect() protoreflect.Message
func (*ChangePassphraseReq) Reset ¶
func (x *ChangePassphraseReq) Reset()
func (*ChangePassphraseReq) String ¶
func (x *ChangePassphraseReq) String() string
type ChangePassphraseResp ¶
type ChangePassphraseResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ChangePassphraseResp) Descriptor
deprecated
func (*ChangePassphraseResp) Descriptor() ([]byte, []int)
Deprecated: Use ChangePassphraseResp.ProtoReflect.Descriptor instead.
func (*ChangePassphraseResp) GetCode ¶
func (x *ChangePassphraseResp) GetCode() uint32
func (*ChangePassphraseResp) GetError ¶
func (x *ChangePassphraseResp) GetError() string
func (*ChangePassphraseResp) ProtoMessage ¶
func (*ChangePassphraseResp) ProtoMessage()
func (*ChangePassphraseResp) ProtoReflect ¶
func (x *ChangePassphraseResp) ProtoReflect() protoreflect.Message
func (*ChangePassphraseResp) Reset ¶
func (x *ChangePassphraseResp) Reset()
func (*ChangePassphraseResp) String ¶
func (x *ChangePassphraseResp) String() string
type EncryptWalletReq ¶
type EncryptWalletReq struct { Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // contains filtered or unexported fields }
func (*EncryptWalletReq) Descriptor
deprecated
func (*EncryptWalletReq) Descriptor() ([]byte, []int)
Deprecated: Use EncryptWalletReq.ProtoReflect.Descriptor instead.
func (*EncryptWalletReq) GetPassphrase ¶
func (x *EncryptWalletReq) GetPassphrase() string
func (*EncryptWalletReq) ProtoMessage ¶
func (*EncryptWalletReq) ProtoMessage()
func (*EncryptWalletReq) ProtoReflect ¶
func (x *EncryptWalletReq) ProtoReflect() protoreflect.Message
func (*EncryptWalletReq) Reset ¶
func (x *EncryptWalletReq) Reset()
func (*EncryptWalletReq) String ¶
func (x *EncryptWalletReq) String() string
type EncryptWalletResp ¶
type EncryptWalletResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*EncryptWalletResp) Descriptor
deprecated
func (*EncryptWalletResp) Descriptor() ([]byte, []int)
Deprecated: Use EncryptWalletResp.ProtoReflect.Descriptor instead.
func (*EncryptWalletResp) GetCode ¶
func (x *EncryptWalletResp) GetCode() uint32
func (*EncryptWalletResp) GetError ¶
func (x *EncryptWalletResp) GetError() string
func (*EncryptWalletResp) ProtoMessage ¶
func (*EncryptWalletResp) ProtoMessage()
func (*EncryptWalletResp) ProtoReflect ¶
func (x *EncryptWalletResp) ProtoReflect() protoreflect.Message
func (*EncryptWalletResp) Reset ¶
func (x *EncryptWalletResp) Reset()
func (*EncryptWalletResp) String ¶
func (x *EncryptWalletResp) String() string
type GetRecoverySeedsReq ¶
type GetRecoverySeedsReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetRecoverySeedsReq) Descriptor
deprecated
func (*GetRecoverySeedsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetRecoverySeedsReq.ProtoReflect.Descriptor instead.
func (*GetRecoverySeedsReq) GetAddress ¶
func (x *GetRecoverySeedsReq) GetAddress() string
func (*GetRecoverySeedsReq) ProtoMessage ¶
func (*GetRecoverySeedsReq) ProtoMessage()
func (*GetRecoverySeedsReq) ProtoReflect ¶
func (x *GetRecoverySeedsReq) ProtoReflect() protoreflect.Message
func (*GetRecoverySeedsReq) Reset ¶
func (x *GetRecoverySeedsReq) Reset()
func (*GetRecoverySeedsReq) String ¶
func (x *GetRecoverySeedsReq) String() string
type GetRecoverySeedsResp ¶
type GetRecoverySeedsResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Hexseed string `protobuf:"bytes,3,opt,name=hexseed,proto3" json:"hexseed,omitempty"` Mnemonic string `protobuf:"bytes,4,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // contains filtered or unexported fields }
func (*GetRecoverySeedsResp) Descriptor
deprecated
func (*GetRecoverySeedsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetRecoverySeedsResp.ProtoReflect.Descriptor instead.
func (*GetRecoverySeedsResp) GetCode ¶
func (x *GetRecoverySeedsResp) GetCode() uint32
func (*GetRecoverySeedsResp) GetError ¶
func (x *GetRecoverySeedsResp) GetError() string
func (*GetRecoverySeedsResp) GetHexseed ¶
func (x *GetRecoverySeedsResp) GetHexseed() string
func (*GetRecoverySeedsResp) GetMnemonic ¶
func (x *GetRecoverySeedsResp) GetMnemonic() string
func (*GetRecoverySeedsResp) ProtoMessage ¶
func (*GetRecoverySeedsResp) ProtoMessage()
func (*GetRecoverySeedsResp) ProtoReflect ¶
func (x *GetRecoverySeedsResp) ProtoReflect() protoreflect.Message
func (*GetRecoverySeedsResp) Reset ¶
func (x *GetRecoverySeedsResp) Reset()
func (*GetRecoverySeedsResp) String ¶
func (x *GetRecoverySeedsResp) String() string
type GetWalletInfoReq ¶
type GetWalletInfoReq struct {
// contains filtered or unexported fields
}
func (*GetWalletInfoReq) Descriptor
deprecated
func (*GetWalletInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletInfoReq.ProtoReflect.Descriptor instead.
func (*GetWalletInfoReq) ProtoMessage ¶
func (*GetWalletInfoReq) ProtoMessage()
func (*GetWalletInfoReq) ProtoReflect ¶
func (x *GetWalletInfoReq) ProtoReflect() protoreflect.Message
func (*GetWalletInfoReq) Reset ¶
func (x *GetWalletInfoReq) Reset()
func (*GetWalletInfoReq) String ¶
func (x *GetWalletInfoReq) String() string
type GetWalletInfoResp ¶
type GetWalletInfoResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` AddressCount uint64 `protobuf:"varint,4,opt,name=address_count,json=addressCount,proto3" json:"address_count,omitempty"` IsEncrypted bool `protobuf:"varint,5,opt,name=is_encrypted,json=isEncrypted,proto3" json:"is_encrypted,omitempty"` // contains filtered or unexported fields }
func (*GetWalletInfoResp) Descriptor
deprecated
func (*GetWalletInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletInfoResp.ProtoReflect.Descriptor instead.
func (*GetWalletInfoResp) GetAddressCount ¶
func (x *GetWalletInfoResp) GetAddressCount() uint64
func (*GetWalletInfoResp) GetCode ¶
func (x *GetWalletInfoResp) GetCode() uint32
func (*GetWalletInfoResp) GetError ¶
func (x *GetWalletInfoResp) GetError() string
func (*GetWalletInfoResp) GetIsEncrypted ¶
func (x *GetWalletInfoResp) GetIsEncrypted() bool
func (*GetWalletInfoResp) GetVersion ¶
func (x *GetWalletInfoResp) GetVersion() uint32
func (*GetWalletInfoResp) ProtoMessage ¶
func (*GetWalletInfoResp) ProtoMessage()
func (*GetWalletInfoResp) ProtoReflect ¶
func (x *GetWalletInfoResp) ProtoReflect() protoreflect.Message
func (*GetWalletInfoResp) Reset ¶
func (x *GetWalletInfoResp) Reset()
func (*GetWalletInfoResp) String ¶
func (x *GetWalletInfoResp) String() string
type HeightReq ¶
type HeightReq struct {
// contains filtered or unexported fields
}
func (*HeightReq) Descriptor
deprecated
func (*HeightReq) ProtoMessage ¶
func (*HeightReq) ProtoMessage()
func (*HeightReq) ProtoReflect ¶
func (x *HeightReq) ProtoReflect() protoreflect.Message
type HeightResp ¶
type HeightResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*HeightResp) Descriptor
deprecated
func (*HeightResp) Descriptor() ([]byte, []int)
Deprecated: Use HeightResp.ProtoReflect.Descriptor instead.
func (*HeightResp) GetCode ¶
func (x *HeightResp) GetCode() uint32
func (*HeightResp) GetError ¶
func (x *HeightResp) GetError() string
func (*HeightResp) GetHeight ¶
func (x *HeightResp) GetHeight() uint64
func (*HeightResp) ProtoMessage ¶
func (*HeightResp) ProtoMessage()
func (*HeightResp) ProtoReflect ¶
func (x *HeightResp) ProtoReflect() protoreflect.Message
func (*HeightResp) Reset ¶
func (x *HeightResp) Reset()
func (*HeightResp) String ¶
func (x *HeightResp) String() string
type ListAddressesReq ¶
type ListAddressesReq struct {
// contains filtered or unexported fields
}
func (*ListAddressesReq) Descriptor
deprecated
func (*ListAddressesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListAddressesReq.ProtoReflect.Descriptor instead.
func (*ListAddressesReq) ProtoMessage ¶
func (*ListAddressesReq) ProtoMessage()
func (*ListAddressesReq) ProtoReflect ¶
func (x *ListAddressesReq) ProtoReflect() protoreflect.Message
func (*ListAddressesReq) Reset ¶
func (x *ListAddressesReq) Reset()
func (*ListAddressesReq) String ¶
func (x *ListAddressesReq) String() string
type ListAddressesResp ¶
type ListAddressesResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*ListAddressesResp) Descriptor
deprecated
func (*ListAddressesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListAddressesResp.ProtoReflect.Descriptor instead.
func (*ListAddressesResp) GetAddresses ¶
func (x *ListAddressesResp) GetAddresses() []string
func (*ListAddressesResp) GetCode ¶
func (x *ListAddressesResp) GetCode() uint32
func (*ListAddressesResp) GetError ¶
func (x *ListAddressesResp) GetError() string
func (*ListAddressesResp) ProtoMessage ¶
func (*ListAddressesResp) ProtoMessage()
func (*ListAddressesResp) ProtoReflect ¶
func (x *ListAddressesResp) ProtoReflect() protoreflect.Message
func (*ListAddressesResp) Reset ¶
func (x *ListAddressesResp) Reset()
func (*ListAddressesResp) String ¶
func (x *ListAddressesResp) String() string
type LockWalletReq ¶
type LockWalletReq struct {
// contains filtered or unexported fields
}
func (*LockWalletReq) Descriptor
deprecated
func (*LockWalletReq) Descriptor() ([]byte, []int)
Deprecated: Use LockWalletReq.ProtoReflect.Descriptor instead.
func (*LockWalletReq) ProtoMessage ¶
func (*LockWalletReq) ProtoMessage()
func (*LockWalletReq) ProtoReflect ¶
func (x *LockWalletReq) ProtoReflect() protoreflect.Message
func (*LockWalletReq) Reset ¶
func (x *LockWalletReq) Reset()
func (*LockWalletReq) String ¶
func (x *LockWalletReq) String() string
type LockWalletResp ¶
type LockWalletResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*LockWalletResp) Descriptor
deprecated
func (*LockWalletResp) Descriptor() ([]byte, []int)
Deprecated: Use LockWalletResp.ProtoReflect.Descriptor instead.
func (*LockWalletResp) GetCode ¶
func (x *LockWalletResp) GetCode() uint32
func (*LockWalletResp) GetError ¶
func (x *LockWalletResp) GetError() string
func (*LockWalletResp) ProtoMessage ¶
func (*LockWalletResp) ProtoMessage()
func (*LockWalletResp) ProtoReflect ¶
func (x *LockWalletResp) ProtoReflect() protoreflect.Message
func (*LockWalletResp) Reset ¶
func (x *LockWalletResp) Reset()
func (*LockWalletResp) String ¶
func (x *LockWalletResp) String() string
type NodeInfoReq ¶
type NodeInfoReq struct {
// contains filtered or unexported fields
}
func (*NodeInfoReq) Descriptor
deprecated
func (*NodeInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoReq.ProtoReflect.Descriptor instead.
func (*NodeInfoReq) ProtoMessage ¶
func (*NodeInfoReq) ProtoMessage()
func (*NodeInfoReq) ProtoReflect ¶
func (x *NodeInfoReq) ProtoReflect() protoreflect.Message
func (*NodeInfoReq) Reset ¶
func (x *NodeInfoReq) Reset()
func (*NodeInfoReq) String ¶
func (x *NodeInfoReq) String() string
type NodeInfoResp ¶
type NodeInfoResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` NumConnections string `protobuf:"bytes,4,opt,name=num_connections,json=numConnections,proto3" json:"num_connections,omitempty"` NumKnownPeers string `protobuf:"bytes,5,opt,name=num_known_peers,json=numKnownPeers,proto3" json:"num_known_peers,omitempty"` Uptime uint64 `protobuf:"varint,6,opt,name=uptime,proto3" json:"uptime,omitempty"` // Uptime in seconds BlockHeight uint64 `protobuf:"varint,7,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` BlockLastHash string `protobuf:"bytes,8,opt,name=block_last_hash,json=blockLastHash,proto3" json:"block_last_hash,omitempty"` NetworkId string `protobuf:"bytes,9,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoResp) Descriptor
deprecated
func (*NodeInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoResp.ProtoReflect.Descriptor instead.
func (*NodeInfoResp) GetBlockHeight ¶
func (x *NodeInfoResp) GetBlockHeight() uint64
func (*NodeInfoResp) GetBlockLastHash ¶
func (x *NodeInfoResp) GetBlockLastHash() string
func (*NodeInfoResp) GetCode ¶
func (x *NodeInfoResp) GetCode() uint32
func (*NodeInfoResp) GetError ¶
func (x *NodeInfoResp) GetError() string
func (*NodeInfoResp) GetNetworkId ¶
func (x *NodeInfoResp) GetNetworkId() string
func (*NodeInfoResp) GetNumConnections ¶
func (x *NodeInfoResp) GetNumConnections() string
func (*NodeInfoResp) GetNumKnownPeers ¶
func (x *NodeInfoResp) GetNumKnownPeers() string
func (*NodeInfoResp) GetUptime ¶
func (x *NodeInfoResp) GetUptime() uint64
func (*NodeInfoResp) GetVersion ¶
func (x *NodeInfoResp) GetVersion() string
func (*NodeInfoResp) ProtoMessage ¶
func (*NodeInfoResp) ProtoMessage()
func (*NodeInfoResp) ProtoReflect ¶
func (x *NodeInfoResp) ProtoReflect() protoreflect.Message
func (*NodeInfoResp) Reset ¶
func (x *NodeInfoResp) Reset()
func (*NodeInfoResp) String ¶
func (x *NodeInfoResp) String() string
type OTSReq ¶
type OTSReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*OTSReq) Descriptor
deprecated
func (*OTSReq) GetAddress ¶
func (*OTSReq) ProtoMessage ¶
func (*OTSReq) ProtoMessage()
func (*OTSReq) ProtoReflect ¶
func (x *OTSReq) ProtoReflect() protoreflect.Message
type OTSResp ¶
type OTSResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` OtsBitfield [][]byte `protobuf:"bytes,3,rep,name=ots_bitfield,json=otsBitfield,proto3" json:"ots_bitfield,omitempty"` NextUnusedOtsIndex uint64 `protobuf:"varint,4,opt,name=next_unused_ots_index,json=nextUnusedOtsIndex,proto3" json:"next_unused_ots_index,omitempty"` // contains filtered or unexported fields }
func (*OTSResp) Descriptor
deprecated
func (*OTSResp) GetNextUnusedOtsIndex ¶
func (*OTSResp) GetOtsBitfield ¶
func (*OTSResp) ProtoMessage ¶
func (*OTSResp) ProtoMessage()
func (*OTSResp) ProtoReflect ¶
func (x *OTSResp) ProtoReflect() protoreflect.Message
type PaginatedTransactionsByAddressReq ¶
type PaginatedTransactionsByAddressReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` ItemPerPage uint64 `protobuf:"varint,2,opt,name=item_per_page,json=itemPerPage,proto3" json:"item_per_page,omitempty"` PageNumber uint64 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` // contains filtered or unexported fields }
func (*PaginatedTransactionsByAddressReq) Descriptor
deprecated
func (*PaginatedTransactionsByAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use PaginatedTransactionsByAddressReq.ProtoReflect.Descriptor instead.
func (*PaginatedTransactionsByAddressReq) GetAddress ¶
func (x *PaginatedTransactionsByAddressReq) GetAddress() string
func (*PaginatedTransactionsByAddressReq) GetItemPerPage ¶
func (x *PaginatedTransactionsByAddressReq) GetItemPerPage() uint64
func (*PaginatedTransactionsByAddressReq) GetPageNumber ¶
func (x *PaginatedTransactionsByAddressReq) GetPageNumber() uint64
func (*PaginatedTransactionsByAddressReq) ProtoMessage ¶
func (*PaginatedTransactionsByAddressReq) ProtoMessage()
func (*PaginatedTransactionsByAddressReq) ProtoReflect ¶
func (x *PaginatedTransactionsByAddressReq) ProtoReflect() protoreflect.Message
func (*PaginatedTransactionsByAddressReq) Reset ¶
func (x *PaginatedTransactionsByAddressReq) Reset()
func (*PaginatedTransactionsByAddressReq) String ¶
func (x *PaginatedTransactionsByAddressReq) String() string
type PaginatedTransactionsByAddressResp ¶
type PaginatedTransactionsByAddressResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` MiniTransactions []*generated.MiniTransaction `protobuf:"bytes,3,rep,name=mini_transactions,json=miniTransactions,proto3" json:"mini_transactions,omitempty"` Balance uint64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*PaginatedTransactionsByAddressResp) Descriptor
deprecated
func (*PaginatedTransactionsByAddressResp) Descriptor() ([]byte, []int)
Deprecated: Use PaginatedTransactionsByAddressResp.ProtoReflect.Descriptor instead.
func (*PaginatedTransactionsByAddressResp) GetBalance ¶
func (x *PaginatedTransactionsByAddressResp) GetBalance() uint64
func (*PaginatedTransactionsByAddressResp) GetCode ¶
func (x *PaginatedTransactionsByAddressResp) GetCode() uint32
func (*PaginatedTransactionsByAddressResp) GetError ¶
func (x *PaginatedTransactionsByAddressResp) GetError() string
func (*PaginatedTransactionsByAddressResp) GetMiniTransactions ¶
func (x *PaginatedTransactionsByAddressResp) GetMiniTransactions() []*generated.MiniTransaction
func (*PaginatedTransactionsByAddressResp) ProtoMessage ¶
func (*PaginatedTransactionsByAddressResp) ProtoMessage()
func (*PaginatedTransactionsByAddressResp) ProtoReflect ¶
func (x *PaginatedTransactionsByAddressResp) ProtoReflect() protoreflect.Message
func (*PaginatedTransactionsByAddressResp) Reset ¶
func (x *PaginatedTransactionsByAddressResp) Reset()
func (*PaginatedTransactionsByAddressResp) String ¶
func (x *PaginatedTransactionsByAddressResp) String() string
type PlainAddressAmount ¶
type PlainAddressAmount struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*PlainAddressAmount) Descriptor
deprecated
func (*PlainAddressAmount) Descriptor() ([]byte, []int)
Deprecated: Use PlainAddressAmount.ProtoReflect.Descriptor instead.
func (*PlainAddressAmount) GetAddress ¶
func (x *PlainAddressAmount) GetAddress() string
func (*PlainAddressAmount) GetAmount ¶
func (x *PlainAddressAmount) GetAmount() uint64
func (*PlainAddressAmount) ProtoMessage ¶
func (*PlainAddressAmount) ProtoMessage()
func (*PlainAddressAmount) ProtoReflect ¶
func (x *PlainAddressAmount) ProtoReflect() protoreflect.Message
func (*PlainAddressAmount) Reset ¶
func (x *PlainAddressAmount) Reset()
func (*PlainAddressAmount) String ¶
func (x *PlainAddressAmount) String() string
type PlainBlock ¶
type PlainBlock struct { Header *PlainBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Transactions []*PlainTransaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` GenesisBalance []*PlainGenesisBalance `protobuf:"bytes,3,rep,name=genesis_balance,json=genesisBalance,proto3" json:"genesis_balance,omitempty"` // contains filtered or unexported fields }
func (*PlainBlock) Descriptor
deprecated
func (*PlainBlock) Descriptor() ([]byte, []int)
Deprecated: Use PlainBlock.ProtoReflect.Descriptor instead.
func (*PlainBlock) GetGenesisBalance ¶
func (x *PlainBlock) GetGenesisBalance() []*PlainGenesisBalance
func (*PlainBlock) GetHeader ¶
func (x *PlainBlock) GetHeader() *PlainBlockHeader
func (*PlainBlock) GetTransactions ¶
func (x *PlainBlock) GetTransactions() []*PlainTransaction
func (*PlainBlock) ProtoMessage ¶
func (*PlainBlock) ProtoMessage()
func (*PlainBlock) ProtoReflect ¶
func (x *PlainBlock) ProtoReflect() protoreflect.Message
func (*PlainBlock) Reset ¶
func (x *PlainBlock) Reset()
func (*PlainBlock) String ¶
func (x *PlainBlock) String() string
type PlainBlockHeader ¶
type PlainBlockHeader struct { // Header HashHeader string `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,proto3" json:"block_number,omitempty"` TimestampSeconds uint64 `protobuf:"varint,3,opt,name=timestamp_seconds,json=timestampSeconds,proto3" json:"timestamp_seconds,omitempty"` HashHeaderPrev string `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,proto3" json:"reward_block,omitempty"` RewardFee uint64 `protobuf:"varint,6,opt,name=reward_fee,json=rewardFee,proto3" json:"reward_fee,omitempty"` MerkleRoot string `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,proto3" json:"mining_nonce,omitempty"` ExtraNonce uint64 `protobuf:"varint,9,opt,name=extra_nonce,json=extraNonce,proto3" json:"extra_nonce,omitempty"` // contains filtered or unexported fields }
func (*PlainBlockHeader) Descriptor
deprecated
func (*PlainBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use PlainBlockHeader.ProtoReflect.Descriptor instead.
func (*PlainBlockHeader) GetBlockNumber ¶
func (x *PlainBlockHeader) GetBlockNumber() uint64
func (*PlainBlockHeader) GetExtraNonce ¶
func (x *PlainBlockHeader) GetExtraNonce() uint64
func (*PlainBlockHeader) GetHashHeader ¶
func (x *PlainBlockHeader) GetHashHeader() string
func (*PlainBlockHeader) GetHashHeaderPrev ¶
func (x *PlainBlockHeader) GetHashHeaderPrev() string
func (*PlainBlockHeader) GetMerkleRoot ¶
func (x *PlainBlockHeader) GetMerkleRoot() string
func (*PlainBlockHeader) GetMiningNonce ¶
func (x *PlainBlockHeader) GetMiningNonce() uint32
func (*PlainBlockHeader) GetRewardBlock ¶
func (x *PlainBlockHeader) GetRewardBlock() uint64
func (*PlainBlockHeader) GetRewardFee ¶
func (x *PlainBlockHeader) GetRewardFee() uint64
func (*PlainBlockHeader) GetTimestampSeconds ¶
func (x *PlainBlockHeader) GetTimestampSeconds() uint64
func (*PlainBlockHeader) ProtoMessage ¶
func (*PlainBlockHeader) ProtoMessage()
func (*PlainBlockHeader) ProtoReflect ¶
func (x *PlainBlockHeader) ProtoReflect() protoreflect.Message
func (*PlainBlockHeader) Reset ¶
func (x *PlainBlockHeader) Reset()
func (*PlainBlockHeader) String ¶
func (x *PlainBlockHeader) String() string
type PlainGenesisBalance ¶
type PlainGenesisBalance struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*PlainGenesisBalance) Descriptor
deprecated
func (*PlainGenesisBalance) Descriptor() ([]byte, []int)
Deprecated: Use PlainGenesisBalance.ProtoReflect.Descriptor instead.
func (*PlainGenesisBalance) GetAddress ¶
func (x *PlainGenesisBalance) GetAddress() string
func (*PlainGenesisBalance) GetBalance ¶
func (x *PlainGenesisBalance) GetBalance() uint64
func (*PlainGenesisBalance) ProtoMessage ¶
func (*PlainGenesisBalance) ProtoMessage()
func (*PlainGenesisBalance) ProtoReflect ¶
func (x *PlainGenesisBalance) ProtoReflect() protoreflect.Message
func (*PlainGenesisBalance) Reset ¶
func (x *PlainGenesisBalance) Reset()
func (*PlainGenesisBalance) String ¶
func (x *PlainGenesisBalance) String() string
type PlainTransaction ¶
type PlainTransaction struct { MasterAddr string `protobuf:"bytes,1,opt,name=master_addr,json=masterAddr,proto3" json:"master_addr,omitempty"` Fee uint64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` Nonce uint64 `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"` TransactionHash string `protobuf:"bytes,6,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` SignerAddr string `protobuf:"bytes,7,opt,name=signer_addr,json=signerAddr,proto3" json:"signer_addr,omitempty"` // Types that are assignable to TransactionType: // // *PlainTransaction_Transfer_ // *PlainTransaction_Coinbase // *PlainTransaction_LatticePK // *PlainTransaction_Message_ // *PlainTransaction_Token_ // *PlainTransaction_TransferToken_ // *PlainTransaction_Slave_ TransactionType isPlainTransaction_TransactionType `protobuf_oneof:"transactionType"` // contains filtered or unexported fields }
func (*PlainTransaction) Descriptor
deprecated
func (*PlainTransaction) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction.ProtoReflect.Descriptor instead.
func (*PlainTransaction) GetCoinbase ¶
func (x *PlainTransaction) GetCoinbase() *PlainTransaction_CoinBase
func (*PlainTransaction) GetFee ¶
func (x *PlainTransaction) GetFee() uint64
func (*PlainTransaction) GetLatticePK ¶
func (x *PlainTransaction) GetLatticePK() *PlainTransaction_LatticePublicKey
func (*PlainTransaction) GetMasterAddr ¶
func (x *PlainTransaction) GetMasterAddr() string
func (*PlainTransaction) GetMessage ¶
func (x *PlainTransaction) GetMessage() *PlainTransaction_Message
func (*PlainTransaction) GetNonce ¶
func (x *PlainTransaction) GetNonce() uint64
func (*PlainTransaction) GetPublicKey ¶
func (x *PlainTransaction) GetPublicKey() string
func (*PlainTransaction) GetSignature ¶
func (x *PlainTransaction) GetSignature() string
func (*PlainTransaction) GetSignerAddr ¶
func (x *PlainTransaction) GetSignerAddr() string
func (*PlainTransaction) GetSlave ¶
func (x *PlainTransaction) GetSlave() *PlainTransaction_Slave
func (*PlainTransaction) GetToken ¶
func (x *PlainTransaction) GetToken() *PlainTransaction_Token
func (*PlainTransaction) GetTransactionHash ¶
func (x *PlainTransaction) GetTransactionHash() string
func (*PlainTransaction) GetTransactionType ¶
func (m *PlainTransaction) GetTransactionType() isPlainTransaction_TransactionType
func (*PlainTransaction) GetTransfer ¶
func (x *PlainTransaction) GetTransfer() *PlainTransaction_Transfer
func (*PlainTransaction) GetTransferToken ¶
func (x *PlainTransaction) GetTransferToken() *PlainTransaction_TransferToken
func (*PlainTransaction) ProtoMessage ¶
func (*PlainTransaction) ProtoMessage()
func (*PlainTransaction) ProtoReflect ¶
func (x *PlainTransaction) ProtoReflect() protoreflect.Message
func (*PlainTransaction) Reset ¶
func (x *PlainTransaction) Reset()
func (*PlainTransaction) String ¶
func (x *PlainTransaction) String() string
type PlainTransaction_CoinBase ¶
type PlainTransaction_CoinBase struct { AddrTo string `protobuf:"bytes,1,opt,name=addr_to,json=addrTo,proto3" json:"addr_to,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*PlainTransaction_CoinBase) Descriptor
deprecated
func (*PlainTransaction_CoinBase) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_CoinBase.ProtoReflect.Descriptor instead.
func (*PlainTransaction_CoinBase) GetAddrTo ¶
func (x *PlainTransaction_CoinBase) GetAddrTo() string
func (*PlainTransaction_CoinBase) GetAmount ¶
func (x *PlainTransaction_CoinBase) GetAmount() uint64
func (*PlainTransaction_CoinBase) ProtoMessage ¶
func (*PlainTransaction_CoinBase) ProtoMessage()
func (*PlainTransaction_CoinBase) ProtoReflect ¶
func (x *PlainTransaction_CoinBase) ProtoReflect() protoreflect.Message
func (*PlainTransaction_CoinBase) Reset ¶
func (x *PlainTransaction_CoinBase) Reset()
func (*PlainTransaction_CoinBase) String ¶
func (x *PlainTransaction_CoinBase) String() string
type PlainTransaction_Coinbase ¶
type PlainTransaction_Coinbase struct {
Coinbase *PlainTransaction_CoinBase `protobuf:"bytes,9,opt,name=coinbase,proto3,oneof"`
}
type PlainTransaction_LatticePK ¶
type PlainTransaction_LatticePK struct {
LatticePK *PlainTransaction_LatticePublicKey `protobuf:"bytes,10,opt,name=latticePK,proto3,oneof"`
}
type PlainTransaction_LatticePublicKey ¶
type PlainTransaction_LatticePublicKey struct { KyberPk string `protobuf:"bytes,1,opt,name=kyber_pk,json=kyberPk,proto3" json:"kyber_pk,omitempty"` DilithiumPk string `protobuf:"bytes,2,opt,name=dilithium_pk,json=dilithiumPk,proto3" json:"dilithium_pk,omitempty"` // contains filtered or unexported fields }
func (*PlainTransaction_LatticePublicKey) Descriptor
deprecated
func (*PlainTransaction_LatticePublicKey) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_LatticePublicKey.ProtoReflect.Descriptor instead.
func (*PlainTransaction_LatticePublicKey) GetDilithiumPk ¶
func (x *PlainTransaction_LatticePublicKey) GetDilithiumPk() string
func (*PlainTransaction_LatticePublicKey) GetKyberPk ¶
func (x *PlainTransaction_LatticePublicKey) GetKyberPk() string
func (*PlainTransaction_LatticePublicKey) ProtoMessage ¶
func (*PlainTransaction_LatticePublicKey) ProtoMessage()
func (*PlainTransaction_LatticePublicKey) ProtoReflect ¶
func (x *PlainTransaction_LatticePublicKey) ProtoReflect() protoreflect.Message
func (*PlainTransaction_LatticePublicKey) Reset ¶
func (x *PlainTransaction_LatticePublicKey) Reset()
func (*PlainTransaction_LatticePublicKey) String ¶
func (x *PlainTransaction_LatticePublicKey) String() string
type PlainTransaction_Message ¶
type PlainTransaction_Message struct { MessageHash string `protobuf:"bytes,1,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` // contains filtered or unexported fields }
func (*PlainTransaction_Message) Descriptor
deprecated
func (*PlainTransaction_Message) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_Message.ProtoReflect.Descriptor instead.
func (*PlainTransaction_Message) GetMessageHash ¶
func (x *PlainTransaction_Message) GetMessageHash() string
func (*PlainTransaction_Message) ProtoMessage ¶
func (*PlainTransaction_Message) ProtoMessage()
func (*PlainTransaction_Message) ProtoReflect ¶
func (x *PlainTransaction_Message) ProtoReflect() protoreflect.Message
func (*PlainTransaction_Message) Reset ¶
func (x *PlainTransaction_Message) Reset()
func (*PlainTransaction_Message) String ¶
func (x *PlainTransaction_Message) String() string
type PlainTransaction_Message_ ¶
type PlainTransaction_Message_ struct {
Message *PlainTransaction_Message `protobuf:"bytes,11,opt,name=message,proto3,oneof"`
}
type PlainTransaction_Slave ¶
type PlainTransaction_Slave struct { SlavePks []string `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,proto3" json:"access_types,omitempty"` // contains filtered or unexported fields }
func (*PlainTransaction_Slave) Descriptor
deprecated
func (*PlainTransaction_Slave) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_Slave.ProtoReflect.Descriptor instead.
func (*PlainTransaction_Slave) GetAccessTypes ¶
func (x *PlainTransaction_Slave) GetAccessTypes() []uint32
func (*PlainTransaction_Slave) GetSlavePks ¶
func (x *PlainTransaction_Slave) GetSlavePks() []string
func (*PlainTransaction_Slave) ProtoMessage ¶
func (*PlainTransaction_Slave) ProtoMessage()
func (*PlainTransaction_Slave) ProtoReflect ¶
func (x *PlainTransaction_Slave) ProtoReflect() protoreflect.Message
func (*PlainTransaction_Slave) Reset ¶
func (x *PlainTransaction_Slave) Reset()
func (*PlainTransaction_Slave) String ¶
func (x *PlainTransaction_Slave) String() string
type PlainTransaction_Slave_ ¶
type PlainTransaction_Slave_ struct {
Slave *PlainTransaction_Slave `protobuf:"bytes,14,opt,name=slave,proto3,oneof"`
}
type PlainTransaction_Token ¶
type PlainTransaction_Token struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Decimals uint64 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` InitialBalances []*PlainAddressAmount `protobuf:"bytes,5,rep,name=initial_balances,json=initialBalances,proto3" json:"initial_balances,omitempty"` // contains filtered or unexported fields }
func (*PlainTransaction_Token) Descriptor
deprecated
func (*PlainTransaction_Token) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_Token.ProtoReflect.Descriptor instead.
func (*PlainTransaction_Token) GetDecimals ¶
func (x *PlainTransaction_Token) GetDecimals() uint64
func (*PlainTransaction_Token) GetInitialBalances ¶
func (x *PlainTransaction_Token) GetInitialBalances() []*PlainAddressAmount
func (*PlainTransaction_Token) GetName ¶
func (x *PlainTransaction_Token) GetName() string
func (*PlainTransaction_Token) GetOwner ¶
func (x *PlainTransaction_Token) GetOwner() string
func (*PlainTransaction_Token) GetSymbol ¶
func (x *PlainTransaction_Token) GetSymbol() string
func (*PlainTransaction_Token) ProtoMessage ¶
func (*PlainTransaction_Token) ProtoMessage()
func (*PlainTransaction_Token) ProtoReflect ¶
func (x *PlainTransaction_Token) ProtoReflect() protoreflect.Message
func (*PlainTransaction_Token) Reset ¶
func (x *PlainTransaction_Token) Reset()
func (*PlainTransaction_Token) String ¶
func (x *PlainTransaction_Token) String() string
type PlainTransaction_Token_ ¶
type PlainTransaction_Token_ struct {
Token *PlainTransaction_Token `protobuf:"bytes,12,opt,name=token,proto3,oneof"`
}
type PlainTransaction_Transfer ¶
type PlainTransaction_Transfer struct { AddrsTo []string `protobuf:"bytes,1,rep,name=addrs_to,json=addrsTo,proto3" json:"addrs_to,omitempty"` Amounts []uint64 `protobuf:"varint,2,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` // contains filtered or unexported fields }
////////
func (*PlainTransaction_Transfer) Descriptor
deprecated
func (*PlainTransaction_Transfer) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_Transfer.ProtoReflect.Descriptor instead.
func (*PlainTransaction_Transfer) GetAddrsTo ¶
func (x *PlainTransaction_Transfer) GetAddrsTo() []string
func (*PlainTransaction_Transfer) GetAmounts ¶
func (x *PlainTransaction_Transfer) GetAmounts() []uint64
func (*PlainTransaction_Transfer) ProtoMessage ¶
func (*PlainTransaction_Transfer) ProtoMessage()
func (*PlainTransaction_Transfer) ProtoReflect ¶
func (x *PlainTransaction_Transfer) ProtoReflect() protoreflect.Message
func (*PlainTransaction_Transfer) Reset ¶
func (x *PlainTransaction_Transfer) Reset()
func (*PlainTransaction_Transfer) String ¶
func (x *PlainTransaction_Transfer) String() string
type PlainTransaction_TransferToken ¶
type PlainTransaction_TransferToken struct { TokenTxhash string `protobuf:"bytes,1,opt,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"` AddrsTo []string `protobuf:"bytes,2,rep,name=addrs_to,json=addrsTo,proto3" json:"addrs_to,omitempty"` Amounts []uint64 `protobuf:"varint,3,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` // contains filtered or unexported fields }
func (*PlainTransaction_TransferToken) Descriptor
deprecated
func (*PlainTransaction_TransferToken) Descriptor() ([]byte, []int)
Deprecated: Use PlainTransaction_TransferToken.ProtoReflect.Descriptor instead.
func (*PlainTransaction_TransferToken) GetAddrsTo ¶
func (x *PlainTransaction_TransferToken) GetAddrsTo() []string
func (*PlainTransaction_TransferToken) GetAmounts ¶
func (x *PlainTransaction_TransferToken) GetAmounts() []uint64
func (*PlainTransaction_TransferToken) GetTokenTxhash ¶
func (x *PlainTransaction_TransferToken) GetTokenTxhash() string
func (*PlainTransaction_TransferToken) ProtoMessage ¶
func (*PlainTransaction_TransferToken) ProtoMessage()
func (*PlainTransaction_TransferToken) ProtoReflect ¶
func (x *PlainTransaction_TransferToken) ProtoReflect() protoreflect.Message
func (*PlainTransaction_TransferToken) Reset ¶
func (x *PlainTransaction_TransferToken) Reset()
func (*PlainTransaction_TransferToken) String ¶
func (x *PlainTransaction_TransferToken) String() string
type PlainTransaction_TransferToken_ ¶
type PlainTransaction_TransferToken_ struct {
TransferToken *PlainTransaction_TransferToken `protobuf:"bytes,13,opt,name=transfer_token,json=transferToken,proto3,oneof"`
}
type PlainTransaction_Transfer_ ¶
type PlainTransaction_Transfer_ struct {
Transfer *PlainTransaction_Transfer `protobuf:"bytes,8,opt,name=transfer,proto3,oneof"`
}
type RelayMessageTxnBySlaveReq ¶
type RelayMessageTxnBySlaveReq struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Fee uint64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,3,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` // contains filtered or unexported fields }
func (*RelayMessageTxnBySlaveReq) Descriptor
deprecated
func (*RelayMessageTxnBySlaveReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayMessageTxnBySlaveReq.ProtoReflect.Descriptor instead.
func (*RelayMessageTxnBySlaveReq) GetFee ¶
func (x *RelayMessageTxnBySlaveReq) GetFee() uint64
func (*RelayMessageTxnBySlaveReq) GetMasterAddress ¶
func (x *RelayMessageTxnBySlaveReq) GetMasterAddress() string
func (*RelayMessageTxnBySlaveReq) GetMessage ¶
func (x *RelayMessageTxnBySlaveReq) GetMessage() string
func (*RelayMessageTxnBySlaveReq) ProtoMessage ¶
func (*RelayMessageTxnBySlaveReq) ProtoMessage()
func (*RelayMessageTxnBySlaveReq) ProtoReflect ¶
func (x *RelayMessageTxnBySlaveReq) ProtoReflect() protoreflect.Message
func (*RelayMessageTxnBySlaveReq) Reset ¶
func (x *RelayMessageTxnBySlaveReq) Reset()
func (*RelayMessageTxnBySlaveReq) String ¶
func (x *RelayMessageTxnBySlaveReq) String() string
type RelayMessageTxnReq ¶
type RelayMessageTxnReq struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Fee uint64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,3,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` SignerAddress string `protobuf:"bytes,4,opt,name=signer_address,json=signerAddress,proto3" json:"signer_address,omitempty"` OtsIndex uint64 `protobuf:"varint,5,opt,name=ots_index,json=otsIndex,proto3" json:"ots_index,omitempty"` // contains filtered or unexported fields }
func (*RelayMessageTxnReq) Descriptor
deprecated
func (*RelayMessageTxnReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayMessageTxnReq.ProtoReflect.Descriptor instead.
func (*RelayMessageTxnReq) GetFee ¶
func (x *RelayMessageTxnReq) GetFee() uint64
func (*RelayMessageTxnReq) GetMasterAddress ¶
func (x *RelayMessageTxnReq) GetMasterAddress() string
func (*RelayMessageTxnReq) GetMessage ¶
func (x *RelayMessageTxnReq) GetMessage() string
func (*RelayMessageTxnReq) GetOtsIndex ¶
func (x *RelayMessageTxnReq) GetOtsIndex() uint64
func (*RelayMessageTxnReq) GetSignerAddress ¶
func (x *RelayMessageTxnReq) GetSignerAddress() string
func (*RelayMessageTxnReq) ProtoMessage ¶
func (*RelayMessageTxnReq) ProtoMessage()
func (*RelayMessageTxnReq) ProtoReflect ¶
func (x *RelayMessageTxnReq) ProtoReflect() protoreflect.Message
func (*RelayMessageTxnReq) Reset ¶
func (x *RelayMessageTxnReq) Reset()
func (*RelayMessageTxnReq) String ¶
func (x *RelayMessageTxnReq) String() string
type RelaySlaveTxnBySlaveReq ¶
type RelaySlaveTxnBySlaveReq 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,proto3" json:"access_types,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,4,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` // contains filtered or unexported fields }
func (*RelaySlaveTxnBySlaveReq) Descriptor
deprecated
func (*RelaySlaveTxnBySlaveReq) Descriptor() ([]byte, []int)
Deprecated: Use RelaySlaveTxnBySlaveReq.ProtoReflect.Descriptor instead.
func (*RelaySlaveTxnBySlaveReq) GetAccessTypes ¶
func (x *RelaySlaveTxnBySlaveReq) GetAccessTypes() []uint32
func (*RelaySlaveTxnBySlaveReq) GetFee ¶
func (x *RelaySlaveTxnBySlaveReq) GetFee() uint64
func (*RelaySlaveTxnBySlaveReq) GetMasterAddress ¶
func (x *RelaySlaveTxnBySlaveReq) GetMasterAddress() string
func (*RelaySlaveTxnBySlaveReq) GetSlavePks ¶
func (x *RelaySlaveTxnBySlaveReq) GetSlavePks() [][]byte
func (*RelaySlaveTxnBySlaveReq) ProtoMessage ¶
func (*RelaySlaveTxnBySlaveReq) ProtoMessage()
func (*RelaySlaveTxnBySlaveReq) ProtoReflect ¶
func (x *RelaySlaveTxnBySlaveReq) ProtoReflect() protoreflect.Message
func (*RelaySlaveTxnBySlaveReq) Reset ¶
func (x *RelaySlaveTxnBySlaveReq) Reset()
func (*RelaySlaveTxnBySlaveReq) String ¶
func (x *RelaySlaveTxnBySlaveReq) String() string
type RelaySlaveTxnReq ¶
type RelaySlaveTxnReq 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,proto3" json:"access_types,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,4,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` SignerAddress string `protobuf:"bytes,5,opt,name=signer_address,json=signerAddress,proto3" json:"signer_address,omitempty"` OtsIndex uint64 `protobuf:"varint,6,opt,name=ots_index,json=otsIndex,proto3" json:"ots_index,omitempty"` // contains filtered or unexported fields }
func (*RelaySlaveTxnReq) Descriptor
deprecated
func (*RelaySlaveTxnReq) Descriptor() ([]byte, []int)
Deprecated: Use RelaySlaveTxnReq.ProtoReflect.Descriptor instead.
func (*RelaySlaveTxnReq) GetAccessTypes ¶
func (x *RelaySlaveTxnReq) GetAccessTypes() []uint32
func (*RelaySlaveTxnReq) GetFee ¶
func (x *RelaySlaveTxnReq) GetFee() uint64
func (*RelaySlaveTxnReq) GetMasterAddress ¶
func (x *RelaySlaveTxnReq) GetMasterAddress() string
func (*RelaySlaveTxnReq) GetOtsIndex ¶
func (x *RelaySlaveTxnReq) GetOtsIndex() uint64
func (*RelaySlaveTxnReq) GetSignerAddress ¶
func (x *RelaySlaveTxnReq) GetSignerAddress() string
func (*RelaySlaveTxnReq) GetSlavePks ¶
func (x *RelaySlaveTxnReq) GetSlavePks() [][]byte
func (*RelaySlaveTxnReq) ProtoMessage ¶
func (*RelaySlaveTxnReq) ProtoMessage()
func (*RelaySlaveTxnReq) ProtoReflect ¶
func (x *RelaySlaveTxnReq) ProtoReflect() protoreflect.Message
func (*RelaySlaveTxnReq) Reset ¶
func (x *RelaySlaveTxnReq) Reset()
func (*RelaySlaveTxnReq) String ¶
func (x *RelaySlaveTxnReq) String() string
type RelayTokenTxnBySlaveReq ¶
type RelayTokenTxnBySlaveReq struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Decimals uint64 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` Addresses []string `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` Amounts []uint64 `protobuf:"varint,6,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` Fee uint64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,8,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` // contains filtered or unexported fields }
func (*RelayTokenTxnBySlaveReq) Descriptor
deprecated
func (*RelayTokenTxnBySlaveReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayTokenTxnBySlaveReq.ProtoReflect.Descriptor instead.
func (*RelayTokenTxnBySlaveReq) GetAddresses ¶
func (x *RelayTokenTxnBySlaveReq) GetAddresses() []string
func (*RelayTokenTxnBySlaveReq) GetAmounts ¶
func (x *RelayTokenTxnBySlaveReq) GetAmounts() []uint64
func (*RelayTokenTxnBySlaveReq) GetDecimals ¶
func (x *RelayTokenTxnBySlaveReq) GetDecimals() uint64
func (*RelayTokenTxnBySlaveReq) GetFee ¶
func (x *RelayTokenTxnBySlaveReq) GetFee() uint64
func (*RelayTokenTxnBySlaveReq) GetMasterAddress ¶
func (x *RelayTokenTxnBySlaveReq) GetMasterAddress() string
func (*RelayTokenTxnBySlaveReq) GetName ¶
func (x *RelayTokenTxnBySlaveReq) GetName() string
func (*RelayTokenTxnBySlaveReq) GetOwner ¶
func (x *RelayTokenTxnBySlaveReq) GetOwner() string
func (*RelayTokenTxnBySlaveReq) GetSymbol ¶
func (x *RelayTokenTxnBySlaveReq) GetSymbol() string
func (*RelayTokenTxnBySlaveReq) ProtoMessage ¶
func (*RelayTokenTxnBySlaveReq) ProtoMessage()
func (*RelayTokenTxnBySlaveReq) ProtoReflect ¶
func (x *RelayTokenTxnBySlaveReq) ProtoReflect() protoreflect.Message
func (*RelayTokenTxnBySlaveReq) Reset ¶
func (x *RelayTokenTxnBySlaveReq) Reset()
func (*RelayTokenTxnBySlaveReq) String ¶
func (x *RelayTokenTxnBySlaveReq) String() string
type RelayTokenTxnReq ¶
type RelayTokenTxnReq struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Decimals uint64 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` Addresses []string `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` Amounts []uint64 `protobuf:"varint,6,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` Fee uint64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,8,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` SignerAddress string `protobuf:"bytes,9,opt,name=signer_address,json=signerAddress,proto3" json:"signer_address,omitempty"` OtsIndex uint64 `protobuf:"varint,10,opt,name=ots_index,json=otsIndex,proto3" json:"ots_index,omitempty"` // contains filtered or unexported fields }
func (*RelayTokenTxnReq) Descriptor
deprecated
func (*RelayTokenTxnReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayTokenTxnReq.ProtoReflect.Descriptor instead.
func (*RelayTokenTxnReq) GetAddresses ¶
func (x *RelayTokenTxnReq) GetAddresses() []string
func (*RelayTokenTxnReq) GetAmounts ¶
func (x *RelayTokenTxnReq) GetAmounts() []uint64
func (*RelayTokenTxnReq) GetDecimals ¶
func (x *RelayTokenTxnReq) GetDecimals() uint64
func (*RelayTokenTxnReq) GetFee ¶
func (x *RelayTokenTxnReq) GetFee() uint64
func (*RelayTokenTxnReq) GetMasterAddress ¶
func (x *RelayTokenTxnReq) GetMasterAddress() string
func (*RelayTokenTxnReq) GetName ¶
func (x *RelayTokenTxnReq) GetName() string
func (*RelayTokenTxnReq) GetOtsIndex ¶
func (x *RelayTokenTxnReq) GetOtsIndex() uint64
func (*RelayTokenTxnReq) GetOwner ¶
func (x *RelayTokenTxnReq) GetOwner() string
func (*RelayTokenTxnReq) GetSignerAddress ¶
func (x *RelayTokenTxnReq) GetSignerAddress() string
func (*RelayTokenTxnReq) GetSymbol ¶
func (x *RelayTokenTxnReq) GetSymbol() string
func (*RelayTokenTxnReq) ProtoMessage ¶
func (*RelayTokenTxnReq) ProtoMessage()
func (*RelayTokenTxnReq) ProtoReflect ¶
func (x *RelayTokenTxnReq) ProtoReflect() protoreflect.Message
func (*RelayTokenTxnReq) Reset ¶
func (x *RelayTokenTxnReq) Reset()
func (*RelayTokenTxnReq) String ¶
func (x *RelayTokenTxnReq) String() string
type RelayTransferTokenTxnBySlaveReq ¶
type RelayTransferTokenTxnBySlaveReq struct { AddressesTo []string `protobuf:"bytes,1,rep,name=addresses_to,json=addressesTo,proto3" json:"addresses_to,omitempty"` TokenTxhash string `protobuf:"bytes,2,opt,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"` Amounts []uint64 `protobuf:"varint,3,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` Fee uint64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,5,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` // contains filtered or unexported fields }
func (*RelayTransferTokenTxnBySlaveReq) Descriptor
deprecated
func (*RelayTransferTokenTxnBySlaveReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayTransferTokenTxnBySlaveReq.ProtoReflect.Descriptor instead.
func (*RelayTransferTokenTxnBySlaveReq) GetAddressesTo ¶
func (x *RelayTransferTokenTxnBySlaveReq) GetAddressesTo() []string
func (*RelayTransferTokenTxnBySlaveReq) GetAmounts ¶
func (x *RelayTransferTokenTxnBySlaveReq) GetAmounts() []uint64
func (*RelayTransferTokenTxnBySlaveReq) GetFee ¶
func (x *RelayTransferTokenTxnBySlaveReq) GetFee() uint64
func (*RelayTransferTokenTxnBySlaveReq) GetMasterAddress ¶
func (x *RelayTransferTokenTxnBySlaveReq) GetMasterAddress() string
func (*RelayTransferTokenTxnBySlaveReq) GetTokenTxhash ¶
func (x *RelayTransferTokenTxnBySlaveReq) GetTokenTxhash() string
func (*RelayTransferTokenTxnBySlaveReq) ProtoMessage ¶
func (*RelayTransferTokenTxnBySlaveReq) ProtoMessage()
func (*RelayTransferTokenTxnBySlaveReq) ProtoReflect ¶
func (x *RelayTransferTokenTxnBySlaveReq) ProtoReflect() protoreflect.Message
func (*RelayTransferTokenTxnBySlaveReq) Reset ¶
func (x *RelayTransferTokenTxnBySlaveReq) Reset()
func (*RelayTransferTokenTxnBySlaveReq) String ¶
func (x *RelayTransferTokenTxnBySlaveReq) String() string
type RelayTransferTokenTxnReq ¶
type RelayTransferTokenTxnReq struct { AddressesTo []string `protobuf:"bytes,1,rep,name=addresses_to,json=addressesTo,proto3" json:"addresses_to,omitempty"` TokenTxhash string `protobuf:"bytes,2,opt,name=token_txhash,json=tokenTxhash,proto3" json:"token_txhash,omitempty"` Amounts []uint64 `protobuf:"varint,3,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` Fee uint64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,5,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` SignerAddress string `protobuf:"bytes,6,opt,name=signer_address,json=signerAddress,proto3" json:"signer_address,omitempty"` OtsIndex uint64 `protobuf:"varint,7,opt,name=ots_index,json=otsIndex,proto3" json:"ots_index,omitempty"` // contains filtered or unexported fields }
func (*RelayTransferTokenTxnReq) Descriptor
deprecated
func (*RelayTransferTokenTxnReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayTransferTokenTxnReq.ProtoReflect.Descriptor instead.
func (*RelayTransferTokenTxnReq) GetAddressesTo ¶
func (x *RelayTransferTokenTxnReq) GetAddressesTo() []string
func (*RelayTransferTokenTxnReq) GetAmounts ¶
func (x *RelayTransferTokenTxnReq) GetAmounts() []uint64
func (*RelayTransferTokenTxnReq) GetFee ¶
func (x *RelayTransferTokenTxnReq) GetFee() uint64
func (*RelayTransferTokenTxnReq) GetMasterAddress ¶
func (x *RelayTransferTokenTxnReq) GetMasterAddress() string
func (*RelayTransferTokenTxnReq) GetOtsIndex ¶
func (x *RelayTransferTokenTxnReq) GetOtsIndex() uint64
func (*RelayTransferTokenTxnReq) GetSignerAddress ¶
func (x *RelayTransferTokenTxnReq) GetSignerAddress() string
func (*RelayTransferTokenTxnReq) GetTokenTxhash ¶
func (x *RelayTransferTokenTxnReq) GetTokenTxhash() string
func (*RelayTransferTokenTxnReq) ProtoMessage ¶
func (*RelayTransferTokenTxnReq) ProtoMessage()
func (*RelayTransferTokenTxnReq) ProtoReflect ¶
func (x *RelayTransferTokenTxnReq) ProtoReflect() protoreflect.Message
func (*RelayTransferTokenTxnReq) Reset ¶
func (x *RelayTransferTokenTxnReq) Reset()
func (*RelayTransferTokenTxnReq) String ¶
func (x *RelayTransferTokenTxnReq) String() string
type RelayTransferTxnBySlaveReq ¶
type RelayTransferTxnBySlaveReq struct { AddressesTo []string `protobuf:"bytes,1,rep,name=addresses_to,json=addressesTo,proto3" json:"addresses_to,omitempty"` Amounts []uint64 `protobuf:"varint,2,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,4,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` // contains filtered or unexported fields }
func (*RelayTransferTxnBySlaveReq) Descriptor
deprecated
func (*RelayTransferTxnBySlaveReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayTransferTxnBySlaveReq.ProtoReflect.Descriptor instead.
func (*RelayTransferTxnBySlaveReq) GetAddressesTo ¶
func (x *RelayTransferTxnBySlaveReq) GetAddressesTo() []string
func (*RelayTransferTxnBySlaveReq) GetAmounts ¶
func (x *RelayTransferTxnBySlaveReq) GetAmounts() []uint64
func (*RelayTransferTxnBySlaveReq) GetFee ¶
func (x *RelayTransferTxnBySlaveReq) GetFee() uint64
func (*RelayTransferTxnBySlaveReq) GetMasterAddress ¶
func (x *RelayTransferTxnBySlaveReq) GetMasterAddress() string
func (*RelayTransferTxnBySlaveReq) ProtoMessage ¶
func (*RelayTransferTxnBySlaveReq) ProtoMessage()
func (*RelayTransferTxnBySlaveReq) ProtoReflect ¶
func (x *RelayTransferTxnBySlaveReq) ProtoReflect() protoreflect.Message
func (*RelayTransferTxnBySlaveReq) Reset ¶
func (x *RelayTransferTxnBySlaveReq) Reset()
func (*RelayTransferTxnBySlaveReq) String ¶
func (x *RelayTransferTxnBySlaveReq) String() string
type RelayTransferTxnReq ¶
type RelayTransferTxnReq struct { AddressesTo []string `protobuf:"bytes,1,rep,name=addresses_to,json=addressesTo,proto3" json:"addresses_to,omitempty"` Amounts []uint64 `protobuf:"varint,2,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` MasterAddress string `protobuf:"bytes,4,opt,name=master_address,json=masterAddress,proto3" json:"master_address,omitempty"` SignerAddress string `protobuf:"bytes,5,opt,name=signer_address,json=signerAddress,proto3" json:"signer_address,omitempty"` OtsIndex uint64 `protobuf:"varint,6,opt,name=ots_index,json=otsIndex,proto3" json:"ots_index,omitempty"` // contains filtered or unexported fields }
func (*RelayTransferTxnReq) Descriptor
deprecated
func (*RelayTransferTxnReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayTransferTxnReq.ProtoReflect.Descriptor instead.
func (*RelayTransferTxnReq) GetAddressesTo ¶
func (x *RelayTransferTxnReq) GetAddressesTo() []string
func (*RelayTransferTxnReq) GetAmounts ¶
func (x *RelayTransferTxnReq) GetAmounts() []uint64
func (*RelayTransferTxnReq) GetFee ¶
func (x *RelayTransferTxnReq) GetFee() uint64
func (*RelayTransferTxnReq) GetMasterAddress ¶
func (x *RelayTransferTxnReq) GetMasterAddress() string
func (*RelayTransferTxnReq) GetOtsIndex ¶
func (x *RelayTransferTxnReq) GetOtsIndex() uint64
func (*RelayTransferTxnReq) GetSignerAddress ¶
func (x *RelayTransferTxnReq) GetSignerAddress() string
func (*RelayTransferTxnReq) ProtoMessage ¶
func (*RelayTransferTxnReq) ProtoMessage()
func (*RelayTransferTxnReq) ProtoReflect ¶
func (x *RelayTransferTxnReq) ProtoReflect() protoreflect.Message
func (*RelayTransferTxnReq) Reset ¶
func (x *RelayTransferTxnReq) Reset()
func (*RelayTransferTxnReq) String ¶
func (x *RelayTransferTxnReq) String() string
type RelayTxnResp ¶
type RelayTxnResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Tx *PlainTransaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*RelayTxnResp) Descriptor
deprecated
func (*RelayTxnResp) Descriptor() ([]byte, []int)
Deprecated: Use RelayTxnResp.ProtoReflect.Descriptor instead.
func (*RelayTxnResp) GetCode ¶
func (x *RelayTxnResp) GetCode() uint32
func (*RelayTxnResp) GetError ¶
func (x *RelayTxnResp) GetError() string
func (*RelayTxnResp) GetTx ¶
func (x *RelayTxnResp) GetTx() *PlainTransaction
func (*RelayTxnResp) ProtoMessage ¶
func (*RelayTxnResp) ProtoMessage()
func (*RelayTxnResp) ProtoReflect ¶
func (x *RelayTxnResp) ProtoReflect() protoreflect.Message
func (*RelayTxnResp) Reset ¶
func (x *RelayTxnResp) Reset()
func (*RelayTxnResp) String ¶
func (x *RelayTxnResp) String() string
type RemoveAddressReq ¶
type RemoveAddressReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*RemoveAddressReq) Descriptor
deprecated
func (*RemoveAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAddressReq.ProtoReflect.Descriptor instead.
func (*RemoveAddressReq) GetAddress ¶
func (x *RemoveAddressReq) GetAddress() string
func (*RemoveAddressReq) ProtoMessage ¶
func (*RemoveAddressReq) ProtoMessage()
func (*RemoveAddressReq) ProtoReflect ¶
func (x *RemoveAddressReq) ProtoReflect() protoreflect.Message
func (*RemoveAddressReq) Reset ¶
func (x *RemoveAddressReq) Reset()
func (*RemoveAddressReq) String ¶
func (x *RemoveAddressReq) String() string
type RemoveAddressResp ¶
type RemoveAddressResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*RemoveAddressResp) Descriptor
deprecated
func (*RemoveAddressResp) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAddressResp.ProtoReflect.Descriptor instead.
func (*RemoveAddressResp) GetCode ¶
func (x *RemoveAddressResp) GetCode() uint32
func (*RemoveAddressResp) GetError ¶
func (x *RemoveAddressResp) GetError() string
func (*RemoveAddressResp) ProtoMessage ¶
func (*RemoveAddressResp) ProtoMessage()
func (*RemoveAddressResp) ProtoReflect ¶
func (x *RemoveAddressResp) ProtoReflect() protoreflect.Message
func (*RemoveAddressResp) Reset ¶
func (x *RemoveAddressResp) Reset()
func (*RemoveAddressResp) String ¶
func (x *RemoveAddressResp) String() string
type TotalBalanceReq ¶
type TotalBalanceReq struct {
// contains filtered or unexported fields
}
func (*TotalBalanceReq) Descriptor
deprecated
func (*TotalBalanceReq) Descriptor() ([]byte, []int)
Deprecated: Use TotalBalanceReq.ProtoReflect.Descriptor instead.
func (*TotalBalanceReq) ProtoMessage ¶
func (*TotalBalanceReq) ProtoMessage()
func (*TotalBalanceReq) ProtoReflect ¶
func (x *TotalBalanceReq) ProtoReflect() protoreflect.Message
func (*TotalBalanceReq) Reset ¶
func (x *TotalBalanceReq) Reset()
func (*TotalBalanceReq) String ¶
func (x *TotalBalanceReq) String() string
type TotalBalanceResp ¶
type TotalBalanceResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*TotalBalanceResp) Descriptor
deprecated
func (*TotalBalanceResp) Descriptor() ([]byte, []int)
Deprecated: Use TotalBalanceResp.ProtoReflect.Descriptor instead.
func (*TotalBalanceResp) GetBalance ¶
func (x *TotalBalanceResp) GetBalance() string
func (*TotalBalanceResp) GetCode ¶
func (x *TotalBalanceResp) GetCode() uint32
func (*TotalBalanceResp) GetError ¶
func (x *TotalBalanceResp) GetError() string
func (*TotalBalanceResp) ProtoMessage ¶
func (*TotalBalanceResp) ProtoMessage()
func (*TotalBalanceResp) ProtoReflect ¶
func (x *TotalBalanceResp) ProtoReflect() protoreflect.Message
func (*TotalBalanceResp) Reset ¶
func (x *TotalBalanceResp) Reset()
func (*TotalBalanceResp) String ¶
func (x *TotalBalanceResp) String() string
type TransactionReq ¶
type TransactionReq struct { TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*TransactionReq) Descriptor
deprecated
func (*TransactionReq) Descriptor() ([]byte, []int)
Deprecated: Use TransactionReq.ProtoReflect.Descriptor instead.
func (*TransactionReq) GetTxHash ¶
func (x *TransactionReq) GetTxHash() string
func (*TransactionReq) ProtoMessage ¶
func (*TransactionReq) ProtoMessage()
func (*TransactionReq) ProtoReflect ¶
func (x *TransactionReq) ProtoReflect() protoreflect.Message
func (*TransactionReq) Reset ¶
func (x *TransactionReq) Reset()
func (*TransactionReq) String ¶
func (x *TransactionReq) String() string
type TransactionResp ¶
type TransactionResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Tx *PlainTransaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` Confirmations string `protobuf:"bytes,4,opt,name=confirmations,proto3" json:"confirmations,omitempty"` BlockNumber uint64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` BlockHeaderHash string `protobuf:"bytes,6,opt,name=block_header_hash,json=blockHeaderHash,proto3" json:"block_header_hash,omitempty"` // contains filtered or unexported fields }
func (*TransactionResp) Descriptor
deprecated
func (*TransactionResp) Descriptor() ([]byte, []int)
Deprecated: Use TransactionResp.ProtoReflect.Descriptor instead.
func (*TransactionResp) GetBlockHeaderHash ¶
func (x *TransactionResp) GetBlockHeaderHash() string
func (*TransactionResp) GetBlockNumber ¶
func (x *TransactionResp) GetBlockNumber() uint64
func (*TransactionResp) GetCode ¶
func (x *TransactionResp) GetCode() uint32
func (*TransactionResp) GetConfirmations ¶
func (x *TransactionResp) GetConfirmations() string
func (*TransactionResp) GetError ¶
func (x *TransactionResp) GetError() string
func (*TransactionResp) GetTx ¶
func (x *TransactionResp) GetTx() *PlainTransaction
func (*TransactionResp) ProtoMessage ¶
func (*TransactionResp) ProtoMessage()
func (*TransactionResp) ProtoReflect ¶
func (x *TransactionResp) ProtoReflect() protoreflect.Message
func (*TransactionResp) Reset ¶
func (x *TransactionResp) Reset()
func (*TransactionResp) String ¶
func (x *TransactionResp) String() string
type TransactionsByAddressReq ¶
type TransactionsByAddressReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*TransactionsByAddressReq) Descriptor
deprecated
func (*TransactionsByAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsByAddressReq.ProtoReflect.Descriptor instead.
func (*TransactionsByAddressReq) GetAddress ¶
func (x *TransactionsByAddressReq) GetAddress() string
func (*TransactionsByAddressReq) ProtoMessage ¶
func (*TransactionsByAddressReq) ProtoMessage()
func (*TransactionsByAddressReq) ProtoReflect ¶
func (x *TransactionsByAddressReq) ProtoReflect() protoreflect.Message
func (*TransactionsByAddressReq) Reset ¶
func (x *TransactionsByAddressReq) Reset()
func (*TransactionsByAddressReq) String ¶
func (x *TransactionsByAddressReq) String() string
type TransactionsByAddressResp ¶
type TransactionsByAddressResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` MiniTransactions []*generated.MiniTransaction `protobuf:"bytes,3,rep,name=mini_transactions,json=miniTransactions,proto3" json:"mini_transactions,omitempty"` Balance uint64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*TransactionsByAddressResp) Descriptor
deprecated
func (*TransactionsByAddressResp) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsByAddressResp.ProtoReflect.Descriptor instead.
func (*TransactionsByAddressResp) GetBalance ¶
func (x *TransactionsByAddressResp) GetBalance() uint64
func (*TransactionsByAddressResp) GetCode ¶
func (x *TransactionsByAddressResp) GetCode() uint32
func (*TransactionsByAddressResp) GetError ¶
func (x *TransactionsByAddressResp) GetError() string
func (*TransactionsByAddressResp) GetMiniTransactions ¶
func (x *TransactionsByAddressResp) GetMiniTransactions() []*generated.MiniTransaction
func (*TransactionsByAddressResp) ProtoMessage ¶
func (*TransactionsByAddressResp) ProtoMessage()
func (*TransactionsByAddressResp) ProtoReflect ¶
func (x *TransactionsByAddressResp) ProtoReflect() protoreflect.Message
func (*TransactionsByAddressResp) Reset ¶
func (x *TransactionsByAddressResp) Reset()
func (*TransactionsByAddressResp) String ¶
func (x *TransactionsByAddressResp) String() string
type UnimplementedWalletAPIServer ¶
type UnimplementedWalletAPIServer struct { }
UnimplementedWalletAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedWalletAPIServer) AddNewAddress ¶
func (UnimplementedWalletAPIServer) AddNewAddress(context.Context, *AddNewAddressReq) (*AddNewAddressResp, error)
func (UnimplementedWalletAPIServer) AddNewAddressWithSlaves ¶
func (UnimplementedWalletAPIServer) AddNewAddressWithSlaves(context.Context, *AddNewAddressWithSlavesReq) (*AddNewAddressResp, error)
func (UnimplementedWalletAPIServer) ChangePassphrase ¶
func (UnimplementedWalletAPIServer) ChangePassphrase(context.Context, *ChangePassphraseReq) (*ChangePassphraseResp, error)
func (UnimplementedWalletAPIServer) EncryptWallet ¶
func (UnimplementedWalletAPIServer) EncryptWallet(context.Context, *EncryptWalletReq) (*EncryptWalletResp, error)
func (UnimplementedWalletAPIServer) GetAddressFromPK ¶
func (UnimplementedWalletAPIServer) GetAddressFromPK(context.Context, *AddressFromPKReq) (*AddressFromPKResp, error)
func (UnimplementedWalletAPIServer) GetBalance ¶
func (UnimplementedWalletAPIServer) GetBalance(context.Context, *BalanceReq) (*BalanceResp, error)
func (UnimplementedWalletAPIServer) GetBlockByNumber ¶
func (UnimplementedWalletAPIServer) GetBlockByNumber(context.Context, *BlockByNumberReq) (*BlockResp, error)
func (UnimplementedWalletAPIServer) GetHeight ¶
func (UnimplementedWalletAPIServer) GetHeight(context.Context, *HeightReq) (*HeightResp, error)
func (UnimplementedWalletAPIServer) GetNodeInfo ¶
func (UnimplementedWalletAPIServer) GetNodeInfo(context.Context, *NodeInfoReq) (*NodeInfoResp, error)
func (UnimplementedWalletAPIServer) GetPaginatedTransactionsByAddress ¶
func (UnimplementedWalletAPIServer) GetPaginatedTransactionsByAddress(context.Context, *PaginatedTransactionsByAddressReq) (*PaginatedTransactionsByAddressResp, error)
func (UnimplementedWalletAPIServer) GetRecoverySeeds ¶
func (UnimplementedWalletAPIServer) GetRecoverySeeds(context.Context, *GetRecoverySeedsReq) (*GetRecoverySeedsResp, error)
func (UnimplementedWalletAPIServer) GetTotalBalance ¶
func (UnimplementedWalletAPIServer) GetTotalBalance(context.Context, *TotalBalanceReq) (*TotalBalanceResp, error)
func (UnimplementedWalletAPIServer) GetTransaction ¶
func (UnimplementedWalletAPIServer) GetTransaction(context.Context, *TransactionReq) (*TransactionResp, error)
func (UnimplementedWalletAPIServer) GetTransactionsByAddress ¶
func (UnimplementedWalletAPIServer) GetTransactionsByAddress(context.Context, *TransactionsByAddressReq) (*TransactionsByAddressResp, error)
func (UnimplementedWalletAPIServer) GetWalletInfo ¶
func (UnimplementedWalletAPIServer) GetWalletInfo(context.Context, *GetWalletInfoReq) (*GetWalletInfoResp, error)
func (UnimplementedWalletAPIServer) IsValidAddress ¶
func (UnimplementedWalletAPIServer) IsValidAddress(context.Context, *ValidAddressReq) (*ValidAddressResp, error)
func (UnimplementedWalletAPIServer) ListAddresses ¶
func (UnimplementedWalletAPIServer) ListAddresses(context.Context, *ListAddressesReq) (*ListAddressesResp, error)
func (UnimplementedWalletAPIServer) LockWallet ¶
func (UnimplementedWalletAPIServer) LockWallet(context.Context, *LockWalletReq) (*LockWalletResp, error)
func (UnimplementedWalletAPIServer) RelayMessageTxn ¶
func (UnimplementedWalletAPIServer) RelayMessageTxn(context.Context, *RelayMessageTxnReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayMessageTxnBySlave ¶
func (UnimplementedWalletAPIServer) RelayMessageTxnBySlave(context.Context, *RelayMessageTxnBySlaveReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelaySlaveTxn ¶
func (UnimplementedWalletAPIServer) RelaySlaveTxn(context.Context, *RelaySlaveTxnReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelaySlaveTxnBySlave ¶
func (UnimplementedWalletAPIServer) RelaySlaveTxnBySlave(context.Context, *RelaySlaveTxnBySlaveReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayTokenTxn ¶
func (UnimplementedWalletAPIServer) RelayTokenTxn(context.Context, *RelayTokenTxnReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayTokenTxnBySlave ¶
func (UnimplementedWalletAPIServer) RelayTokenTxnBySlave(context.Context, *RelayTokenTxnBySlaveReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayTransferTokenTxn ¶
func (UnimplementedWalletAPIServer) RelayTransferTokenTxn(context.Context, *RelayTransferTokenTxnReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayTransferTokenTxnBySlave ¶
func (UnimplementedWalletAPIServer) RelayTransferTokenTxnBySlave(context.Context, *RelayTransferTokenTxnBySlaveReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayTransferTxn ¶
func (UnimplementedWalletAPIServer) RelayTransferTxn(context.Context, *RelayTransferTxnReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RelayTransferTxnBySlave ¶
func (UnimplementedWalletAPIServer) RelayTransferTxnBySlave(context.Context, *RelayTransferTxnBySlaveReq) (*RelayTxnResp, error)
func (UnimplementedWalletAPIServer) RemoveAddress ¶
func (UnimplementedWalletAPIServer) RemoveAddress(context.Context, *RemoveAddressReq) (*RemoveAddressResp, error)
func (UnimplementedWalletAPIServer) UnlockWallet ¶
func (UnimplementedWalletAPIServer) UnlockWallet(context.Context, *UnlockWalletReq) (*UnlockWalletResp, error)
type UnlockWalletReq ¶
type UnlockWalletReq struct { Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // contains filtered or unexported fields }
func (*UnlockWalletReq) Descriptor
deprecated
func (*UnlockWalletReq) Descriptor() ([]byte, []int)
Deprecated: Use UnlockWalletReq.ProtoReflect.Descriptor instead.
func (*UnlockWalletReq) GetPassphrase ¶
func (x *UnlockWalletReq) GetPassphrase() string
func (*UnlockWalletReq) ProtoMessage ¶
func (*UnlockWalletReq) ProtoMessage()
func (*UnlockWalletReq) ProtoReflect ¶
func (x *UnlockWalletReq) ProtoReflect() protoreflect.Message
func (*UnlockWalletReq) Reset ¶
func (x *UnlockWalletReq) Reset()
func (*UnlockWalletReq) String ¶
func (x *UnlockWalletReq) String() string
type UnlockWalletResp ¶
type UnlockWalletResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UnlockWalletResp) Descriptor
deprecated
func (*UnlockWalletResp) Descriptor() ([]byte, []int)
Deprecated: Use UnlockWalletResp.ProtoReflect.Descriptor instead.
func (*UnlockWalletResp) GetCode ¶
func (x *UnlockWalletResp) GetCode() uint32
func (*UnlockWalletResp) GetError ¶
func (x *UnlockWalletResp) GetError() string
func (*UnlockWalletResp) ProtoMessage ¶
func (*UnlockWalletResp) ProtoMessage()
func (*UnlockWalletResp) ProtoReflect ¶
func (x *UnlockWalletResp) ProtoReflect() protoreflect.Message
func (*UnlockWalletResp) Reset ¶
func (x *UnlockWalletResp) Reset()
func (*UnlockWalletResp) String ¶
func (x *UnlockWalletResp) String() string
type UnsafeWalletAPIServer ¶
type UnsafeWalletAPIServer interface {
// contains filtered or unexported methods
}
UnsafeWalletAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletAPIServer will result in compilation errors.
type ValidAddressReq ¶
type ValidAddressReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ValidAddressReq) Descriptor
deprecated
func (*ValidAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use ValidAddressReq.ProtoReflect.Descriptor instead.
func (*ValidAddressReq) GetAddress ¶
func (x *ValidAddressReq) GetAddress() string
func (*ValidAddressReq) ProtoMessage ¶
func (*ValidAddressReq) ProtoMessage()
func (*ValidAddressReq) ProtoReflect ¶
func (x *ValidAddressReq) ProtoReflect() protoreflect.Message
func (*ValidAddressReq) Reset ¶
func (x *ValidAddressReq) Reset()
func (*ValidAddressReq) String ¶
func (x *ValidAddressReq) String() string
type ValidAddressResp ¶
type ValidAddressResp struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Valid string `protobuf:"bytes,3,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*ValidAddressResp) Descriptor
deprecated
func (*ValidAddressResp) Descriptor() ([]byte, []int)
Deprecated: Use ValidAddressResp.ProtoReflect.Descriptor instead.
func (*ValidAddressResp) GetCode ¶
func (x *ValidAddressResp) GetCode() uint32
func (*ValidAddressResp) GetError ¶
func (x *ValidAddressResp) GetError() string
func (*ValidAddressResp) GetValid ¶
func (x *ValidAddressResp) GetValid() string
func (*ValidAddressResp) ProtoMessage ¶
func (*ValidAddressResp) ProtoMessage()
func (*ValidAddressResp) ProtoReflect ¶
func (x *ValidAddressResp) ProtoReflect() protoreflect.Message
func (*ValidAddressResp) Reset ¶
func (x *ValidAddressResp) Reset()
func (*ValidAddressResp) String ¶
func (x *ValidAddressResp) String() string
type WalletAPIClient ¶
type WalletAPIClient interface { AddNewAddress(ctx context.Context, in *AddNewAddressReq, opts ...grpc.CallOption) (*AddNewAddressResp, error) AddNewAddressWithSlaves(ctx context.Context, in *AddNewAddressWithSlavesReq, opts ...grpc.CallOption) (*AddNewAddressResp, error) IsValidAddress(ctx context.Context, in *ValidAddressReq, opts ...grpc.CallOption) (*ValidAddressResp, error) ListAddresses(ctx context.Context, in *ListAddressesReq, opts ...grpc.CallOption) (*ListAddressesResp, error) RemoveAddress(ctx context.Context, in *RemoveAddressReq, opts ...grpc.CallOption) (*RemoveAddressResp, error) EncryptWallet(ctx context.Context, in *EncryptWalletReq, opts ...grpc.CallOption) (*EncryptWalletResp, error) LockWallet(ctx context.Context, in *LockWalletReq, opts ...grpc.CallOption) (*LockWalletResp, error) UnlockWallet(ctx context.Context, in *UnlockWalletReq, opts ...grpc.CallOption) (*UnlockWalletResp, error) GetRecoverySeeds(ctx context.Context, in *GetRecoverySeedsReq, opts ...grpc.CallOption) (*GetRecoverySeedsResp, error) GetWalletInfo(ctx context.Context, in *GetWalletInfoReq, opts ...grpc.CallOption) (*GetWalletInfoResp, error) RelayTransferTxn(ctx context.Context, in *RelayTransferTxnReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayTransferTxnBySlave(ctx context.Context, in *RelayTransferTxnBySlaveReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayMessageTxn(ctx context.Context, in *RelayMessageTxnReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayMessageTxnBySlave(ctx context.Context, in *RelayMessageTxnBySlaveReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayTokenTxn(ctx context.Context, in *RelayTokenTxnReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayTokenTxnBySlave(ctx context.Context, in *RelayTokenTxnBySlaveReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayTransferTokenTxn(ctx context.Context, in *RelayTransferTokenTxnReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelayTransferTokenTxnBySlave(ctx context.Context, in *RelayTransferTokenTxnBySlaveReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelaySlaveTxn(ctx context.Context, in *RelaySlaveTxnReq, opts ...grpc.CallOption) (*RelayTxnResp, error) RelaySlaveTxnBySlave(ctx context.Context, in *RelaySlaveTxnBySlaveReq, opts ...grpc.CallOption) (*RelayTxnResp, error) ChangePassphrase(ctx context.Context, in *ChangePassphraseReq, opts ...grpc.CallOption) (*ChangePassphraseResp, error) GetTransactionsByAddress(ctx context.Context, in *TransactionsByAddressReq, opts ...grpc.CallOption) (*TransactionsByAddressResp, error) GetPaginatedTransactionsByAddress(ctx context.Context, in *PaginatedTransactionsByAddressReq, opts ...grpc.CallOption) (*PaginatedTransactionsByAddressResp, error) GetTransaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*TransactionResp, error) GetBalance(ctx context.Context, in *BalanceReq, opts ...grpc.CallOption) (*BalanceResp, error) GetTotalBalance(ctx context.Context, in *TotalBalanceReq, opts ...grpc.CallOption) (*TotalBalanceResp, error) GetOTS(ctx context.Context, in *OTSReq, opts ...grpc.CallOption) (*OTSResp, error) GetHeight(ctx context.Context, in *HeightReq, opts ...grpc.CallOption) (*HeightResp, error) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockResp, error) GetBlockByNumber(ctx context.Context, in *BlockByNumberReq, opts ...grpc.CallOption) (*BlockResp, error) GetAddressFromPK(ctx context.Context, in *AddressFromPKReq, opts ...grpc.CallOption) (*AddressFromPKResp, error) GetNodeInfo(ctx context.Context, in *NodeInfoReq, opts ...grpc.CallOption) (*NodeInfoResp, error) }
WalletAPIClient is the client API for WalletAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWalletAPIClient ¶
func NewWalletAPIClient(cc grpc.ClientConnInterface) WalletAPIClient
type WalletAPIServer ¶
type WalletAPIServer interface { AddNewAddress(context.Context, *AddNewAddressReq) (*AddNewAddressResp, error) AddNewAddressWithSlaves(context.Context, *AddNewAddressWithSlavesReq) (*AddNewAddressResp, error) IsValidAddress(context.Context, *ValidAddressReq) (*ValidAddressResp, error) ListAddresses(context.Context, *ListAddressesReq) (*ListAddressesResp, error) RemoveAddress(context.Context, *RemoveAddressReq) (*RemoveAddressResp, error) EncryptWallet(context.Context, *EncryptWalletReq) (*EncryptWalletResp, error) LockWallet(context.Context, *LockWalletReq) (*LockWalletResp, error) UnlockWallet(context.Context, *UnlockWalletReq) (*UnlockWalletResp, error) GetRecoverySeeds(context.Context, *GetRecoverySeedsReq) (*GetRecoverySeedsResp, error) GetWalletInfo(context.Context, *GetWalletInfoReq) (*GetWalletInfoResp, error) RelayTransferTxn(context.Context, *RelayTransferTxnReq) (*RelayTxnResp, error) RelayTransferTxnBySlave(context.Context, *RelayTransferTxnBySlaveReq) (*RelayTxnResp, error) RelayMessageTxn(context.Context, *RelayMessageTxnReq) (*RelayTxnResp, error) RelayMessageTxnBySlave(context.Context, *RelayMessageTxnBySlaveReq) (*RelayTxnResp, error) RelayTokenTxn(context.Context, *RelayTokenTxnReq) (*RelayTxnResp, error) RelayTokenTxnBySlave(context.Context, *RelayTokenTxnBySlaveReq) (*RelayTxnResp, error) RelayTransferTokenTxn(context.Context, *RelayTransferTokenTxnReq) (*RelayTxnResp, error) RelayTransferTokenTxnBySlave(context.Context, *RelayTransferTokenTxnBySlaveReq) (*RelayTxnResp, error) RelaySlaveTxn(context.Context, *RelaySlaveTxnReq) (*RelayTxnResp, error) RelaySlaveTxnBySlave(context.Context, *RelaySlaveTxnBySlaveReq) (*RelayTxnResp, error) ChangePassphrase(context.Context, *ChangePassphraseReq) (*ChangePassphraseResp, error) GetTransactionsByAddress(context.Context, *TransactionsByAddressReq) (*TransactionsByAddressResp, error) GetPaginatedTransactionsByAddress(context.Context, *PaginatedTransactionsByAddressReq) (*PaginatedTransactionsByAddressResp, error) GetTransaction(context.Context, *TransactionReq) (*TransactionResp, error) GetBalance(context.Context, *BalanceReq) (*BalanceResp, error) GetTotalBalance(context.Context, *TotalBalanceReq) (*TotalBalanceResp, error) GetOTS(context.Context, *OTSReq) (*OTSResp, error) GetHeight(context.Context, *HeightReq) (*HeightResp, error) GetBlock(context.Context, *BlockReq) (*BlockResp, error) GetBlockByNumber(context.Context, *BlockByNumberReq) (*BlockResp, error) GetAddressFromPK(context.Context, *AddressFromPKReq) (*AddressFromPKResp, error) GetNodeInfo(context.Context, *NodeInfoReq) (*NodeInfoResp, error) // contains filtered or unexported methods }
WalletAPIServer is the server API for WalletAPI service. All implementations must embed UnimplementedWalletAPIServer for forward compatibility