Documentation ¶
Index ¶
- Variables
- func RegisterP2PServer(s grpc.ServiceRegistrar, srv P2PServer)
- func RegisterRPCServer(s grpc.ServiceRegistrar, srv RPCServer)
- func RegisterUTXOsServer(s grpc.ServiceRegistrar, srv UTXOsServer)
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInfo) GetBits() uint64
- func (x *BlockInfo) GetBlockhash() []byte
- func (x *BlockInfo) GetBlockheight() uint64
- func (x *BlockInfo) GetCurrentHash() []byte
- func (x *BlockInfo) GetMegablock() []byte
- func (x *BlockInfo) GetMetblock() []byte
- func (x *BlockInfo) GetNonce() uint64
- func (x *BlockInfo) GetPreviousHash() []byte
- func (x *BlockInfo) GetTimestamp() int64
- func (x *BlockInfo) GetTransactions() []*BlockTransactions
- func (*BlockInfo) ProtoMessage()
- func (x *BlockInfo) ProtoReflect() protoreflect.Message
- func (x *BlockInfo) Reset()
- func (x *BlockInfo) String() string
- type BlockTransactions
- func (*BlockTransactions) Descriptor() ([]byte, []int)deprecated
- func (x *BlockTransactions) GetRecipient() string
- func (x *BlockTransactions) GetSender() string
- func (x *BlockTransactions) GetTimestamp() int64
- func (x *BlockTransactions) GetTxhash() []byte
- func (x *BlockTransactions) GetTxstatus() int64
- func (x *BlockTransactions) GetTxtype() int64
- func (x *BlockTransactions) GetValue() string
- func (*BlockTransactions) ProtoMessage()
- func (x *BlockTransactions) ProtoReflect() protoreflect.Message
- func (x *BlockTransactions) Reset()
- func (x *BlockTransactions) String() string
- type BlockWithTrustedDataMessage
- func (*BlockWithTrustedDataMessage) Descriptor() ([]byte, []int)deprecated
- func (x *BlockWithTrustedDataMessage) GetBlockInfo() []*BlockInfo
- func (*BlockWithTrustedDataMessage) ProtoMessage()
- func (x *BlockWithTrustedDataMessage) ProtoReflect() protoreflect.Message
- func (x *BlockWithTrustedDataMessage) Reset()
- func (x *BlockWithTrustedDataMessage) String() string
- type EstimateNetworkHashesPerSecondRequestMessage
- func (*EstimateNetworkHashesPerSecondRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateNetworkHashesPerSecondRequestMessage) GetStartHash() string
- func (x *EstimateNetworkHashesPerSecondRequestMessage) GetWindowSize() uint32
- func (*EstimateNetworkHashesPerSecondRequestMessage) ProtoMessage()
- func (x *EstimateNetworkHashesPerSecondRequestMessage) ProtoReflect() protoreflect.Message
- func (x *EstimateNetworkHashesPerSecondRequestMessage) Reset()
- func (x *EstimateNetworkHashesPerSecondRequestMessage) String() string
- type EstimateNetworkHashesPerSecondResponseMessage
- func (*EstimateNetworkHashesPerSecondResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateNetworkHashesPerSecondResponseMessage) GetError() *RPCError
- func (x *EstimateNetworkHashesPerSecondResponseMessage) GetNetworkHashesPerSecond() uint64
- func (*EstimateNetworkHashesPerSecondResponseMessage) ProtoMessage()
- func (x *EstimateNetworkHashesPerSecondResponseMessage) ProtoReflect() protoreflect.Message
- func (x *EstimateNetworkHashesPerSecondResponseMessage) Reset()
- func (x *EstimateNetworkHashesPerSecondResponseMessage) String() string
- type GetBalanceByAddressRequestMessage
- func (*GetBalanceByAddressRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceByAddressRequestMessage) GetAddress() string
- func (*GetBalanceByAddressRequestMessage) ProtoMessage()
- func (x *GetBalanceByAddressRequestMessage) ProtoReflect() protoreflect.Message
- func (x *GetBalanceByAddressRequestMessage) Reset()
- func (x *GetBalanceByAddressRequestMessage) String() string
- type GetBalanceByAddressResponseMessage
- func (*GetBalanceByAddressResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceByAddressResponseMessage) GetBalance() uint64
- func (x *GetBalanceByAddressResponseMessage) GetError() *RPCError
- func (*GetBalanceByAddressResponseMessage) ProtoMessage()
- func (x *GetBalanceByAddressResponseMessage) ProtoReflect() protoreflect.Message
- func (x *GetBalanceByAddressResponseMessage) Reset()
- func (x *GetBalanceByAddressResponseMessage) String() string
- type GetBlockDagInfoRequestMessage
- func (*GetBlockDagInfoRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (*GetBlockDagInfoRequestMessage) ProtoMessage()
- func (x *GetBlockDagInfoRequestMessage) ProtoReflect() protoreflect.Message
- func (x *GetBlockDagInfoRequestMessage) Reset()
- func (x *GetBlockDagInfoRequestMessage) String() string
- type GetBlockDagInfoResponseMessage
- func (*GetBlockDagInfoResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockDagInfoResponseMessage) GetBlockCount() uint64
- func (x *GetBlockDagInfoResponseMessage) GetDifficulty() float64
- func (x *GetBlockDagInfoResponseMessage) GetError() *RPCError
- func (x *GetBlockDagInfoResponseMessage) GetHeaderCount() uint64
- func (x *GetBlockDagInfoResponseMessage) GetNetworkName() string
- func (x *GetBlockDagInfoResponseMessage) GetPastMedianTime() int64
- func (x *GetBlockDagInfoResponseMessage) GetPruningPointHash() string
- func (x *GetBlockDagInfoResponseMessage) GetTipHashes() []string
- func (x *GetBlockDagInfoResponseMessage) GetVirtualDaaScore() uint64
- func (x *GetBlockDagInfoResponseMessage) GetVirtualParentHashes() []string
- func (*GetBlockDagInfoResponseMessage) ProtoMessage()
- func (x *GetBlockDagInfoResponseMessage) ProtoReflect() protoreflect.Message
- func (x *GetBlockDagInfoResponseMessage) Reset()
- func (x *GetBlockDagInfoResponseMessage) String() string
- type GetBlockTemplateRequestMessage
- func (*GetBlockTemplateRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockTemplateRequestMessage) GetExtraData() string
- func (x *GetBlockTemplateRequestMessage) GetPayAddress() string
- func (*GetBlockTemplateRequestMessage) ProtoMessage()
- func (x *GetBlockTemplateRequestMessage) ProtoReflect() protoreflect.Message
- func (x *GetBlockTemplateRequestMessage) Reset()
- func (x *GetBlockTemplateRequestMessage) String() string
- type GetBlockTemplateResponseMessage
- func (*GetBlockTemplateResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockTemplateResponseMessage) GetBlock() *RpcBlock
- func (x *GetBlockTemplateResponseMessage) GetError() *RPCError
- func (x *GetBlockTemplateResponseMessage) GetIsSynced() bool
- func (*GetBlockTemplateResponseMessage) ProtoMessage()
- func (x *GetBlockTemplateResponseMessage) ProtoReflect() protoreflect.Message
- func (x *GetBlockTemplateResponseMessage) Reset()
- func (x *GetBlockTemplateResponseMessage) String() string
- type MetchainMessage
- func (*MetchainMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MetchainMessage) GetEstimateNetworkHashesPerSecondRequest() *EstimateNetworkHashesPerSecondRequestMessage
- func (x *MetchainMessage) GetEstimateNetworkHashesPerSecondResponse() *EstimateNetworkHashesPerSecondResponseMessage
- func (x *MetchainMessage) GetGetBalanceByAddressRequest() *GetBalanceByAddressRequestMessage
- func (x *MetchainMessage) GetGetBalanceByAddressResponse() *GetBalanceByAddressResponseMessage
- func (x *MetchainMessage) GetGetBlockDagInfoRequest() *GetBlockDagInfoRequestMessage
- func (x *MetchainMessage) GetGetBlockDagInfoResponse() *GetBlockDagInfoResponseMessage
- func (x *MetchainMessage) GetGetBlockTemplateRequest() *GetBlockTemplateRequestMessage
- func (x *MetchainMessage) GetGetBlockTemplateResponse() *GetBlockTemplateResponseMessage
- func (x *MetchainMessage) GetNewBlockTemplateNotification() *NewBlockTemplateNotificationMessage
- func (x *MetchainMessage) GetNotifyNewBlockTemplateRequest() *NotifyNewBlockTemplateRequestMessage
- func (x *MetchainMessage) GetNotifyNewBlockTemplateResponse() *NotifyNewBlockTemplateResponseMessage
- func (x *MetchainMessage) GetP2PBlockWithTrustedDataRequestMessage() *P2PBlockWithTrustedDataRequestMessage
- func (x *MetchainMessage) GetP2PBlockWithTrustedDataResponseMessage() *P2PBlockWithTrustedDataResponseMessage
- func (x *MetchainMessage) GetP2PLatestBlockHeightRequest() *P2PLatestBlockHeightRequestMessge
- func (x *MetchainMessage) GetP2PLatestBlockHeightResponse() *P2PLatestBlockHeightResponseMessage
- func (m *MetchainMessage) GetPayload() isMetchainMessage_Payload
- func (x *MetchainMessage) GetSubmitBlockRequest() *SubmitBlockRequestMessage
- func (x *MetchainMessage) GetSubmitBlockResponse() *SubmitBlockResponseMessage
- func (x *MetchainMessage) GetSubmitSignedTXRequestMessage() *SubmitSignedTXRequestMessage
- func (x *MetchainMessage) GetSubmitSignedTXResponseMessage() *SubmitSignedTXResponseMessage
- func (*MetchainMessage) ProtoMessage()
- func (x *MetchainMessage) ProtoReflect() protoreflect.Message
- func (x *MetchainMessage) Reset()
- func (x *MetchainMessage) String() string
- func (x *MetchainMessage) ToAppMessage() (appmessage.Message, error)
- type MetchainMessage_EstimateNetworkHashesPerSecondRequest
- type MetchainMessage_EstimateNetworkHashesPerSecondResponse
- type MetchainMessage_GetBalanceByAddressRequest
- type MetchainMessage_GetBalanceByAddressResponse
- type MetchainMessage_GetBlockDagInfoRequest
- type MetchainMessage_GetBlockDagInfoResponse
- type MetchainMessage_GetBlockTemplateRequest
- type MetchainMessage_GetBlockTemplateResponse
- type MetchainMessage_NewBlockTemplateNotification
- type MetchainMessage_NotifyNewBlockTemplateRequest
- type MetchainMessage_NotifyNewBlockTemplateResponse
- type MetchainMessage_P2PBlockWithTrustedDataRequestMessage
- type MetchainMessage_P2PBlockWithTrustedDataResponseMessage
- type MetchainMessage_P2PLatestBlockHeightRequest
- type MetchainMessage_P2PLatestBlockHeightResponse
- type MetchainMessage_SubmitBlockRequest
- type MetchainMessage_SubmitBlockResponse
- type MetchainMessage_SubmitSignedTXRequestMessage
- type MetchainMessage_SubmitSignedTXResponseMessage
- type NFTRequest
- type NFTResponse
- func (*NFTResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NFTResponse) GetBlockhash() string
- func (x *NFTResponse) GetBlockid() string
- func (x *NFTResponse) GetNFTSender() string
- func (x *NFTResponse) GetNFTWallet() string
- func (x *NFTResponse) GetNFTid() string
- func (x *NFTResponse) GetTxhash() string
- func (*NFTResponse) ProtoMessage()
- func (x *NFTResponse) ProtoReflect() protoreflect.Message
- func (x *NFTResponse) Reset()
- func (x *NFTResponse) String() string
- type NewBlockTemplateNotificationMessage
- func (*NewBlockTemplateNotificationMessage) Descriptor() ([]byte, []int)deprecated
- func (*NewBlockTemplateNotificationMessage) ProtoMessage()
- func (x *NewBlockTemplateNotificationMessage) ProtoReflect() protoreflect.Message
- func (x *NewBlockTemplateNotificationMessage) Reset()
- func (x *NewBlockTemplateNotificationMessage) String() string
- type NotifyNewBlockTemplateRequestMessage
- func (*NotifyNewBlockTemplateRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (*NotifyNewBlockTemplateRequestMessage) ProtoMessage()
- func (x *NotifyNewBlockTemplateRequestMessage) ProtoReflect() protoreflect.Message
- func (x *NotifyNewBlockTemplateRequestMessage) Reset()
- func (x *NotifyNewBlockTemplateRequestMessage) String() string
- type NotifyNewBlockTemplateResponseMessage
- func (*NotifyNewBlockTemplateResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyNewBlockTemplateResponseMessage) GetError() *RPCError
- func (*NotifyNewBlockTemplateResponseMessage) ProtoMessage()
- func (x *NotifyNewBlockTemplateResponseMessage) ProtoReflect() protoreflect.Message
- func (x *NotifyNewBlockTemplateResponseMessage) Reset()
- func (x *NotifyNewBlockTemplateResponseMessage) String() string
- type P2PBlockWithTrustedDataRequestMessage
- func (*P2PBlockWithTrustedDataRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *P2PBlockWithTrustedDataRequestMessage) GetBlockInfo() []*BlockInfo
- func (*P2PBlockWithTrustedDataRequestMessage) ProtoMessage()
- func (x *P2PBlockWithTrustedDataRequestMessage) ProtoReflect() protoreflect.Message
- func (x *P2PBlockWithTrustedDataRequestMessage) Reset()
- func (x *P2PBlockWithTrustedDataRequestMessage) String() string
- type P2PBlockWithTrustedDataResponseMessage
- func (*P2PBlockWithTrustedDataResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *P2PBlockWithTrustedDataResponseMessage) GetBlockInfo() []*BlockInfo
- func (x *P2PBlockWithTrustedDataResponseMessage) GetP2PMessage() *P2PError
- func (*P2PBlockWithTrustedDataResponseMessage) ProtoMessage()
- func (x *P2PBlockWithTrustedDataResponseMessage) ProtoReflect() protoreflect.Message
- func (x *P2PBlockWithTrustedDataResponseMessage) Reset()
- func (x *P2PBlockWithTrustedDataResponseMessage) String() string
- type P2PClient
- type P2PError
- type P2PLatestBlockHeightRequestMessge
- func (*P2PLatestBlockHeightRequestMessge) Descriptor() ([]byte, []int)deprecated
- func (x *P2PLatestBlockHeightRequestMessge) GetBlockHieght() string
- func (x *P2PLatestBlockHeightRequestMessge) GetBlockhash() []byte
- func (*P2PLatestBlockHeightRequestMessge) ProtoMessage()
- func (x *P2PLatestBlockHeightRequestMessge) ProtoReflect() protoreflect.Message
- func (x *P2PLatestBlockHeightRequestMessge) Reset()
- func (x *P2PLatestBlockHeightRequestMessge) String() string
- type P2PLatestBlockHeightResponseMessage
- func (*P2PLatestBlockHeightResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *P2PLatestBlockHeightResponseMessage) GetBlockHieght() string
- func (x *P2PLatestBlockHeightResponseMessage) GetBlockhash() []byte
- func (*P2PLatestBlockHeightResponseMessage) ProtoMessage()
- func (x *P2PLatestBlockHeightResponseMessage) ProtoReflect() protoreflect.Message
- func (x *P2PLatestBlockHeightResponseMessage) Reset()
- func (x *P2PLatestBlockHeightResponseMessage) String() string
- type P2PServer
- type P2P_MessageStreamClient
- type P2P_MessageStreamServer
- type RPCClient
- type RPCError
- type RPCServer
- type RPC_MessageStreamClient
- type RPC_MessageStreamServer
- type RpcBlock
- func (*RpcBlock) Descriptor() ([]byte, []int)deprecated
- func (x *RpcBlock) GetHeader() *RpcBlockHeader
- func (x *RpcBlock) GetTransactions() []*RpcTransaction
- func (x *RpcBlock) GetVerboseData() *RpcBlockVerboseData
- func (*RpcBlock) ProtoMessage()
- func (x *RpcBlock) ProtoReflect() protoreflect.Message
- func (x *RpcBlock) Reset()
- func (x *RpcBlock) String() string
- type RpcBlockHeader
- func (*RpcBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *RpcBlockHeader) GetAcceptedIdMerkleRoot() string
- func (x *RpcBlockHeader) GetBits() uint32
- func (x *RpcBlockHeader) GetBlueScore() uint64
- func (x *RpcBlockHeader) GetBlueWork() string
- func (x *RpcBlockHeader) GetDaaScore() uint64
- func (x *RpcBlockHeader) GetHashMerkleRoot() string
- func (x *RpcBlockHeader) GetNonce() uint64
- func (x *RpcBlockHeader) GetParents() []*RpcBlockLevelParents
- func (x *RpcBlockHeader) GetPruningPoint() string
- func (x *RpcBlockHeader) GetTimestamp() int64
- func (x *RpcBlockHeader) GetUtxoCommitment() string
- func (x *RpcBlockHeader) GetVersion() uint32
- func (*RpcBlockHeader) ProtoMessage()
- func (x *RpcBlockHeader) ProtoReflect() protoreflect.Message
- func (x *RpcBlockHeader) Reset()
- func (x *RpcBlockHeader) String() string
- type RpcBlockLevelParents
- func (*RpcBlockLevelParents) Descriptor() ([]byte, []int)deprecated
- func (x *RpcBlockLevelParents) GetParentHashes() []string
- func (*RpcBlockLevelParents) ProtoMessage()
- func (x *RpcBlockLevelParents) ProtoReflect() protoreflect.Message
- func (x *RpcBlockLevelParents) Reset()
- func (x *RpcBlockLevelParents) String() string
- type RpcBlockVerboseData
- func (*RpcBlockVerboseData) Descriptor() ([]byte, []int)deprecated
- func (x *RpcBlockVerboseData) GetBlueScore() uint64
- func (x *RpcBlockVerboseData) GetChildrenHashes() []string
- func (x *RpcBlockVerboseData) GetDifficulty() float64
- func (x *RpcBlockVerboseData) GetHash() string
- func (x *RpcBlockVerboseData) GetIsChainBlock() bool
- func (x *RpcBlockVerboseData) GetIsHeaderOnly() bool
- func (x *RpcBlockVerboseData) GetMergeSetBluesHashes() []string
- func (x *RpcBlockVerboseData) GetMergeSetRedsHashes() []string
- func (x *RpcBlockVerboseData) GetSelectedParentHash() string
- func (x *RpcBlockVerboseData) GetTransactionIds() []string
- func (*RpcBlockVerboseData) ProtoMessage()
- func (x *RpcBlockVerboseData) ProtoReflect() protoreflect.Message
- func (x *RpcBlockVerboseData) Reset()
- func (x *RpcBlockVerboseData) String() string
- type RpcOutpoint
- func (*RpcOutpoint) Descriptor() ([]byte, []int)deprecated
- func (x *RpcOutpoint) GetIndex() uint32
- func (x *RpcOutpoint) GetTransactionId() string
- func (*RpcOutpoint) ProtoMessage()
- func (x *RpcOutpoint) ProtoReflect() protoreflect.Message
- func (x *RpcOutpoint) Reset()
- func (x *RpcOutpoint) String() string
- type RpcScriptPublicKey
- func (*RpcScriptPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *RpcScriptPublicKey) GetScriptPublicKey() string
- func (x *RpcScriptPublicKey) GetVersion() uint32
- func (*RpcScriptPublicKey) ProtoMessage()
- func (x *RpcScriptPublicKey) ProtoReflect() protoreflect.Message
- func (x *RpcScriptPublicKey) Reset()
- func (x *RpcScriptPublicKey) String() string
- type RpcTransaction
- func (*RpcTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransaction) GetGas() uint64
- func (x *RpcTransaction) GetInputs() []*RpcTransactionInput
- func (x *RpcTransaction) GetLockTime() uint64
- func (x *RpcTransaction) GetOutputs() []*RpcTransactionOutput
- func (x *RpcTransaction) GetPayload() string
- func (x *RpcTransaction) GetSubnetworkId() string
- func (x *RpcTransaction) GetVerboseData() *RpcTransactionVerboseData
- func (x *RpcTransaction) GetVersion() uint32
- func (*RpcTransaction) ProtoMessage()
- func (x *RpcTransaction) ProtoReflect() protoreflect.Message
- func (x *RpcTransaction) Reset()
- func (x *RpcTransaction) String() string
- type RpcTransactionInput
- func (*RpcTransactionInput) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransactionInput) GetPreviousOutpoint() *RpcOutpoint
- func (x *RpcTransactionInput) GetSequence() uint64
- func (x *RpcTransactionInput) GetSigOpCount() uint32
- func (x *RpcTransactionInput) GetSignatureScript() string
- func (x *RpcTransactionInput) GetVerboseData() *RpcTransactionInputVerboseData
- func (*RpcTransactionInput) ProtoMessage()
- func (x *RpcTransactionInput) ProtoReflect() protoreflect.Message
- func (x *RpcTransactionInput) Reset()
- func (x *RpcTransactionInput) String() string
- type RpcTransactionInputVerboseData
- func (*RpcTransactionInputVerboseData) Descriptor() ([]byte, []int)deprecated
- func (*RpcTransactionInputVerboseData) ProtoMessage()
- func (x *RpcTransactionInputVerboseData) ProtoReflect() protoreflect.Message
- func (x *RpcTransactionInputVerboseData) Reset()
- func (x *RpcTransactionInputVerboseData) String() string
- type RpcTransactionOutput
- func (*RpcTransactionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransactionOutput) GetAmount() uint64
- func (x *RpcTransactionOutput) GetScriptPublicKey() *RpcScriptPublicKey
- func (x *RpcTransactionOutput) GetVerboseData() *RpcTransactionOutputVerboseData
- func (*RpcTransactionOutput) ProtoMessage()
- func (x *RpcTransactionOutput) ProtoReflect() protoreflect.Message
- func (x *RpcTransactionOutput) Reset()
- func (x *RpcTransactionOutput) String() string
- type RpcTransactionOutputVerboseData
- func (*RpcTransactionOutputVerboseData) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransactionOutputVerboseData) GetScriptPublicKeyAddress() string
- func (x *RpcTransactionOutputVerboseData) GetScriptPublicKeyType() string
- func (*RpcTransactionOutputVerboseData) ProtoMessage()
- func (x *RpcTransactionOutputVerboseData) ProtoReflect() protoreflect.Message
- func (x *RpcTransactionOutputVerboseData) Reset()
- func (x *RpcTransactionOutputVerboseData) String() string
- type RpcTransactionVerboseData
- func (*RpcTransactionVerboseData) Descriptor() ([]byte, []int)deprecated
- func (x *RpcTransactionVerboseData) GetBlockHash() string
- func (x *RpcTransactionVerboseData) GetBlockTime() uint64
- func (x *RpcTransactionVerboseData) GetHash() string
- func (x *RpcTransactionVerboseData) GetMass() uint64
- func (x *RpcTransactionVerboseData) GetTransactionId() string
- func (*RpcTransactionVerboseData) ProtoMessage()
- func (x *RpcTransactionVerboseData) ProtoReflect() protoreflect.Message
- func (x *RpcTransactionVerboseData) Reset()
- func (x *RpcTransactionVerboseData) String() string
- type StakeNFT
- func (*StakeNFT) Descriptor() ([]byte, []int)deprecated
- func (x *StakeNFT) GetBlockhash() string
- func (x *StakeNFT) GetBlockid() string
- func (x *StakeNFT) GetLockTime() uint64
- func (x *StakeNFT) GetNFTSender() string
- func (x *StakeNFT) GetNFTid() string
- func (x *StakeNFT) GetStakeAmount() string
- func (x *StakeNFT) GetStakedP() string
- func (x *StakeNFT) GetTxhash() string
- func (x *StakeNFT) GetUnlockTime() uint64
- func (*StakeNFT) ProtoMessage()
- func (x *StakeNFT) ProtoReflect() protoreflect.Message
- func (x *StakeNFT) Reset()
- func (x *StakeNFT) String() string
- type StakeNFTOldVersion
- func (*StakeNFTOldVersion) Descriptor() ([]byte, []int)deprecated
- func (x *StakeNFTOldVersion) GetBlockhash() string
- func (x *StakeNFTOldVersion) GetBlockid() string
- func (x *StakeNFTOldVersion) GetLockTime() string
- func (x *StakeNFTOldVersion) GetNFTSender() string
- func (x *StakeNFTOldVersion) GetNFTid() string
- func (x *StakeNFTOldVersion) GetStakeAmount() string
- func (x *StakeNFTOldVersion) GetStakedP() string
- func (x *StakeNFTOldVersion) GetTxhash() string
- func (x *StakeNFTOldVersion) GetUnlockTime() string
- func (*StakeNFTOldVersion) ProtoMessage()
- func (x *StakeNFTOldVersion) ProtoReflect() protoreflect.Message
- func (x *StakeNFTOldVersion) Reset()
- func (x *StakeNFTOldVersion) String() string
- type SubmitBlockRequestMessage
- func (*SubmitBlockRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitBlockRequestMessage) GetAllowNonDAABlocks() bool
- func (x *SubmitBlockRequestMessage) GetBlock() *RpcBlock
- func (*SubmitBlockRequestMessage) ProtoMessage()
- func (x *SubmitBlockRequestMessage) ProtoReflect() protoreflect.Message
- func (x *SubmitBlockRequestMessage) Reset()
- func (x *SubmitBlockRequestMessage) String() string
- type SubmitBlockResponseMessage
- func (*SubmitBlockResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitBlockResponseMessage) GetConsensusBlockhash() string
- func (x *SubmitBlockResponseMessage) GetConsensusreward() string
- func (x *SubmitBlockResponseMessage) GetError() *RPCError
- func (x *SubmitBlockResponseMessage) GetRejectReason() SubmitBlockResponseMessage_RejectReason
- func (*SubmitBlockResponseMessage) ProtoMessage()
- func (x *SubmitBlockResponseMessage) ProtoReflect() protoreflect.Message
- func (x *SubmitBlockResponseMessage) Reset()
- func (x *SubmitBlockResponseMessage) String() string
- type SubmitBlockResponseMessage_RejectReason
- func (SubmitBlockResponseMessage_RejectReason) Descriptor() protoreflect.EnumDescriptor
- func (x SubmitBlockResponseMessage_RejectReason) Enum() *SubmitBlockResponseMessage_RejectReason
- func (SubmitBlockResponseMessage_RejectReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubmitBlockResponseMessage_RejectReason) Number() protoreflect.EnumNumber
- func (x SubmitBlockResponseMessage_RejectReason) String() string
- func (SubmitBlockResponseMessage_RejectReason) Type() protoreflect.EnumType
- type SubmitSignedTXRequestMessage
- func (*SubmitSignedTXRequestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitSignedTXRequestMessage) GetReciverWallet() []byte
- func (x *SubmitSignedTXRequestMessage) GetSenderWallet() []byte
- func (x *SubmitSignedTXRequestMessage) GetSendersAmount() float32
- func (x *SubmitSignedTXRequestMessage) GetSignedtxhash() []byte
- func (x *SubmitSignedTXRequestMessage) GetWalletSeed() []byte
- func (*SubmitSignedTXRequestMessage) ProtoMessage()
- func (x *SubmitSignedTXRequestMessage) ProtoReflect() protoreflect.Message
- func (x *SubmitSignedTXRequestMessage) Reset()
- func (x *SubmitSignedTXRequestMessage) String() string
- type SubmitSignedTXResponseMessage
- func (*SubmitSignedTXResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitSignedTXResponseMessage) GetReciverWallet() []byte
- func (x *SubmitSignedTXResponseMessage) GetSenderWallet() []byte
- func (x *SubmitSignedTXResponseMessage) GetStatus() string
- func (x *SubmitSignedTXResponseMessage) GetTxHash() []byte
- func (x *SubmitSignedTXResponseMessage) GetWalletSeed() []byte
- func (*SubmitSignedTXResponseMessage) ProtoMessage()
- func (x *SubmitSignedTXResponseMessage) ProtoReflect() protoreflect.Message
- func (x *SubmitSignedTXResponseMessage) Reset()
- func (x *SubmitSignedTXResponseMessage) String() string
- type UTXOAddressRequest
- func (*UTXOAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UTXOAddressRequest) GetWalletAddress() string
- func (*UTXOAddressRequest) ProtoMessage()
- func (x *UTXOAddressRequest) ProtoReflect() protoreflect.Message
- func (x *UTXOAddressRequest) Reset()
- func (x *UTXOAddressRequest) String() string
- type UTXOAddressResponse
- func (*UTXOAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UTXOAddressResponse) GetTxhash() []string
- func (x *UTXOAddressResponse) GetWallettxs() []*Wallettx
- func (*UTXOAddressResponse) ProtoMessage()
- func (x *UTXOAddressResponse) ProtoReflect() protoreflect.Message
- func (x *UTXOAddressResponse) Reset()
- func (x *UTXOAddressResponse) String() string
- type UTXORequest
- type UTXOResponse
- func (*UTXOResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UTXOResponse) GetAmount() string
- func (x *UTXOResponse) GetBlockhash() string
- func (x *UTXOResponse) GetBlockid() string
- func (x *UTXOResponse) GetError() string
- func (x *UTXOResponse) GetFromwallet() string
- func (x *UTXOResponse) GetTimestamp() string
- func (x *UTXOResponse) GetTowallet() string
- func (x *UTXOResponse) GetTxhash() string
- func (x *UTXOResponse) GetTxtype() string
- func (*UTXOResponse) ProtoMessage()
- func (x *UTXOResponse) ProtoReflect() protoreflect.Message
- func (x *UTXOResponse) Reset()
- func (x *UTXOResponse) String() string
- type UTXOWalletBalanceRespose
- func (*UTXOWalletBalanceRespose) Descriptor() ([]byte, []int)deprecated
- func (x *UTXOWalletBalanceRespose) GetAmount() string
- func (x *UTXOWalletBalanceRespose) GetError() string
- func (x *UTXOWalletBalanceRespose) GetNFT() []int64
- func (x *UTXOWalletBalanceRespose) GetWalletAddress() string
- func (x *UTXOWalletBalanceRespose) GetWallettx() []*Wallettx
- func (*UTXOWalletBalanceRespose) ProtoMessage()
- func (x *UTXOWalletBalanceRespose) ProtoReflect() protoreflect.Message
- func (x *UTXOWalletBalanceRespose) Reset()
- func (x *UTXOWalletBalanceRespose) String() string
- type UTXOsClient
- type UTXOsServer
- type UTXOs_NFTStreamClient
- type UTXOs_NFTStreamServer
- type UTXOs_UTXOAddressClient
- type UTXOs_UTXOAddressServer
- type UTXOs_UTXOStreamClient
- type UTXOs_UTXOStreamServer
- type UTXOs_VWalletStreamClient
- type UTXOs_VWalletStreamServer
- type UTXOs_WalletBalanceStreamClient
- type UTXOs_WalletBalanceStreamServer
- type UTXOs_WalletBalancesStreamClient
- type UTXOs_WalletBalancesStreamServer
- type UnimplementedP2PServer
- type UnimplementedRPCServer
- type UnimplementedUTXOsServer
- func (UnimplementedUTXOsServer) NFTStream(UTXOs_NFTStreamServer) error
- func (UnimplementedUTXOsServer) UTXOAddress(UTXOs_UTXOAddressServer) error
- func (UnimplementedUTXOsServer) UTXOStream(UTXOs_UTXOStreamServer) error
- func (UnimplementedUTXOsServer) VWalletStream(UTXOs_VWalletStreamServer) error
- func (UnimplementedUTXOsServer) WalletBalanceStream(UTXOs_WalletBalanceStreamServer) error
- func (UnimplementedUTXOsServer) WalletBalancesStream(UTXOs_WalletBalancesStreamServer) error
- type UnsafeP2PServer
- type UnsafeRPCServer
- type UnsafeUTXOsServer
- type VWalletRequest
- type VWalletResponse
- func (*VWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VWalletResponse) GetBlockhash() string
- func (x *VWalletResponse) GetLockhash() string
- func (x *VWalletResponse) GetWalletAddress() string
- func (x *VWalletResponse) GetWalletid() uint64
- func (*VWalletResponse) ProtoMessage()
- func (x *VWalletResponse) ProtoReflect() protoreflect.Message
- func (x *VWalletResponse) Reset()
- func (x *VWalletResponse) String() string
- type WalletBalanceRequest
- func (*WalletBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WalletBalanceRequest) GetWalletAddress() string
- func (*WalletBalanceRequest) ProtoMessage()
- func (x *WalletBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *WalletBalanceRequest) Reset()
- func (x *WalletBalanceRequest) String() string
- type WalletBalanceRespose
- func (*WalletBalanceRespose) Descriptor() ([]byte, []int)deprecated
- func (x *WalletBalanceRespose) GetAmount() string
- func (x *WalletBalanceRespose) GetError() string
- func (x *WalletBalanceRespose) GetTxhash() []string
- func (x *WalletBalanceRespose) GetWalletAddress() string
- func (*WalletBalanceRespose) ProtoMessage()
- func (x *WalletBalanceRespose) ProtoReflect() protoreflect.Message
- func (x *WalletBalanceRespose) Reset()
- func (x *WalletBalanceRespose) String() string
- type WalletBalancesRequest
- func (*WalletBalancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WalletBalancesRequest) GetWalletAddresses() []string
- func (*WalletBalancesRequest) ProtoMessage()
- func (x *WalletBalancesRequest) ProtoReflect() protoreflect.Message
- func (x *WalletBalancesRequest) Reset()
- func (x *WalletBalancesRequest) String() string
- type WalletBalancesRespose
- func (*WalletBalancesRespose) Descriptor() ([]byte, []int)deprecated
- func (x *WalletBalancesRespose) GetError() string
- func (x *WalletBalancesRespose) GetWalletAddress() []*WalletBalanceRespose
- func (*WalletBalancesRespose) ProtoMessage()
- func (x *WalletBalancesRespose) ProtoReflect() protoreflect.Message
- func (x *WalletBalancesRespose) Reset()
- func (x *WalletBalancesRespose) String() string
- type Wallettx
- func (*Wallettx) Descriptor() ([]byte, []int)deprecated
- func (x *Wallettx) GetBlockhash() string
- func (x *Wallettx) GetError() string
- func (x *Wallettx) GetFromwallet() string
- func (x *Wallettx) GetTimestamp() string
- func (x *Wallettx) GetTowallet() string
- func (x *Wallettx) GetTxhash() string
- func (x *Wallettx) GetTxstatus() string
- func (x *Wallettx) GetTxtype() string
- func (x *Wallettx) GetValue() string
- func (x *Wallettx) GetWalletAddress() string
- func (*Wallettx) ProtoMessage()
- func (x *Wallettx) ProtoReflect() protoreflect.Message
- func (x *Wallettx) Reset()
- func (x *Wallettx) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SubmitBlockResponseMessage_RejectReason_name = map[int32]string{ 0: "NONE", 1: "BLOCK_INVALID", 2: "IS_IN_IBD", } SubmitBlockResponseMessage_RejectReason_value = map[string]int32{ "NONE": 0, "BLOCK_INVALID": 1, "IS_IN_IBD": 2, } )
Enum value maps for SubmitBlockResponseMessage_RejectReason.
var File_message_proto protoreflect.FileDescriptor
var File_p2p_proto protoreflect.FileDescriptor
var File_rpc_proto protoreflect.FileDescriptor
var File_utxo_proto protoreflect.FileDescriptor
var P2P_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protowire.P2P", HandlerType: (*P2PServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "MessageStream", Handler: _P2P_MessageStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "message.proto", }
P2P_ServiceDesc is the grpc.ServiceDesc for P2P service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RPC_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protowire.RPC", HandlerType: (*RPCServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "MessageStream", Handler: _RPC_MessageStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "message.proto", }
RPC_ServiceDesc is the grpc.ServiceDesc for RPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UTXOs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protowire.UTXOs", HandlerType: (*UTXOsServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "UTXOStream", Handler: _UTXOs_UTXOStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "NFTStream", Handler: _UTXOs_NFTStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "VWalletStream", Handler: _UTXOs_VWalletStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "WalletBalanceStream", Handler: _UTXOs_WalletBalanceStream_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "UTXOAddress", Handler: _UTXOs_UTXOAddress_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "WalletBalancesStream", Handler: _UTXOs_WalletBalancesStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "utxo.proto", }
UTXOs_ServiceDesc is the grpc.ServiceDesc for UTXOs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterP2PServer ¶
func RegisterP2PServer(s grpc.ServiceRegistrar, srv P2PServer)
func RegisterRPCServer ¶
func RegisterRPCServer(s grpc.ServiceRegistrar, srv RPCServer)
func RegisterUTXOsServer ¶
func RegisterUTXOsServer(s grpc.ServiceRegistrar, srv UTXOsServer)
Types ¶
type BlockInfo ¶
type BlockInfo struct { Blockhash []byte `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` PreviousHash []byte `protobuf:"bytes,3,opt,name=previousHash,proto3" json:"previousHash,omitempty"` Megablock []byte `protobuf:"bytes,4,opt,name=megablock,proto3" json:"megablock,omitempty"` Metblock []byte `protobuf:"bytes,5,opt,name=metblock,proto3" json:"metblock,omitempty"` Nonce uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"` Blockheight uint64 `protobuf:"varint,1,opt,name=blockheight,proto3" json:"blockheight,omitempty"` Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` CurrentHash []byte `protobuf:"bytes,8,opt,name=currentHash,proto3" json:"currentHash,omitempty"` Bits uint64 `protobuf:"varint,9,opt,name=bits,proto3" json:"bits,omitempty"` Transactions []*BlockTransactions `protobuf:"bytes,10,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*BlockInfo) Descriptor
deprecated
func (*BlockInfo) GetBlockhash ¶
func (*BlockInfo) GetBlockheight ¶
func (*BlockInfo) GetCurrentHash ¶
func (*BlockInfo) GetMegablock ¶
func (*BlockInfo) GetMetblock ¶
func (*BlockInfo) GetPreviousHash ¶
func (*BlockInfo) GetTimestamp ¶
func (*BlockInfo) GetTransactions ¶
func (x *BlockInfo) GetTransactions() []*BlockTransactions
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) ProtoReflect ¶
func (x *BlockInfo) ProtoReflect() protoreflect.Message
type BlockTransactions ¶
type BlockTransactions struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Txtype int64 `protobuf:"varint,3,opt,name=txtype,proto3" json:"txtype,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Txhash []byte `protobuf:"bytes,5,opt,name=txhash,proto3" json:"txhash,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Txstatus int64 `protobuf:"varint,7,opt,name=txstatus,proto3" json:"txstatus,omitempty"` // contains filtered or unexported fields }
func (*BlockTransactions) Descriptor
deprecated
func (*BlockTransactions) Descriptor() ([]byte, []int)
Deprecated: Use BlockTransactions.ProtoReflect.Descriptor instead.
func (*BlockTransactions) GetRecipient ¶
func (x *BlockTransactions) GetRecipient() string
func (*BlockTransactions) GetSender ¶
func (x *BlockTransactions) GetSender() string
func (*BlockTransactions) GetTimestamp ¶
func (x *BlockTransactions) GetTimestamp() int64
func (*BlockTransactions) GetTxhash ¶
func (x *BlockTransactions) GetTxhash() []byte
func (*BlockTransactions) GetTxstatus ¶
func (x *BlockTransactions) GetTxstatus() int64
func (*BlockTransactions) GetTxtype ¶
func (x *BlockTransactions) GetTxtype() int64
func (*BlockTransactions) GetValue ¶
func (x *BlockTransactions) GetValue() string
func (*BlockTransactions) ProtoMessage ¶
func (*BlockTransactions) ProtoMessage()
func (*BlockTransactions) ProtoReflect ¶
func (x *BlockTransactions) ProtoReflect() protoreflect.Message
func (*BlockTransactions) Reset ¶
func (x *BlockTransactions) Reset()
func (*BlockTransactions) String ¶
func (x *BlockTransactions) String() string
type BlockWithTrustedDataMessage ¶
type BlockWithTrustedDataMessage struct { BlockInfo []*BlockInfo `protobuf:"bytes,1,rep,name=BlockInfo,proto3" json:"BlockInfo,omitempty"` // contains filtered or unexported fields }
func (*BlockWithTrustedDataMessage) Descriptor
deprecated
func (*BlockWithTrustedDataMessage) Descriptor() ([]byte, []int)
Deprecated: Use BlockWithTrustedDataMessage.ProtoReflect.Descriptor instead.
func (*BlockWithTrustedDataMessage) GetBlockInfo ¶
func (x *BlockWithTrustedDataMessage) GetBlockInfo() []*BlockInfo
func (*BlockWithTrustedDataMessage) ProtoMessage ¶
func (*BlockWithTrustedDataMessage) ProtoMessage()
func (*BlockWithTrustedDataMessage) ProtoReflect ¶
func (x *BlockWithTrustedDataMessage) ProtoReflect() protoreflect.Message
func (*BlockWithTrustedDataMessage) Reset ¶
func (x *BlockWithTrustedDataMessage) Reset()
func (*BlockWithTrustedDataMessage) String ¶
func (x *BlockWithTrustedDataMessage) String() string
type EstimateNetworkHashesPerSecondRequestMessage ¶
type EstimateNetworkHashesPerSecondRequestMessage struct { WindowSize uint32 `protobuf:"varint,1,opt,name=windowSize,proto3" json:"windowSize,omitempty"` StartHash string `protobuf:"bytes,2,opt,name=startHash,proto3" json:"startHash,omitempty"` // contains filtered or unexported fields }
func (*EstimateNetworkHashesPerSecondRequestMessage) Descriptor
deprecated
func (*EstimateNetworkHashesPerSecondRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use EstimateNetworkHashesPerSecondRequestMessage.ProtoReflect.Descriptor instead.
func (*EstimateNetworkHashesPerSecondRequestMessage) GetStartHash ¶
func (x *EstimateNetworkHashesPerSecondRequestMessage) GetStartHash() string
func (*EstimateNetworkHashesPerSecondRequestMessage) GetWindowSize ¶
func (x *EstimateNetworkHashesPerSecondRequestMessage) GetWindowSize() uint32
func (*EstimateNetworkHashesPerSecondRequestMessage) ProtoMessage ¶
func (*EstimateNetworkHashesPerSecondRequestMessage) ProtoMessage()
func (*EstimateNetworkHashesPerSecondRequestMessage) ProtoReflect ¶
func (x *EstimateNetworkHashesPerSecondRequestMessage) ProtoReflect() protoreflect.Message
func (*EstimateNetworkHashesPerSecondRequestMessage) Reset ¶
func (x *EstimateNetworkHashesPerSecondRequestMessage) Reset()
func (*EstimateNetworkHashesPerSecondRequestMessage) String ¶
func (x *EstimateNetworkHashesPerSecondRequestMessage) String() string
type EstimateNetworkHashesPerSecondResponseMessage ¶
type EstimateNetworkHashesPerSecondResponseMessage struct { NetworkHashesPerSecond uint64 `protobuf:"varint,1,opt,name=networkHashesPerSecond,proto3" json:"networkHashesPerSecond,omitempty"` Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*EstimateNetworkHashesPerSecondResponseMessage) Descriptor
deprecated
func (*EstimateNetworkHashesPerSecondResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use EstimateNetworkHashesPerSecondResponseMessage.ProtoReflect.Descriptor instead.
func (*EstimateNetworkHashesPerSecondResponseMessage) GetError ¶
func (x *EstimateNetworkHashesPerSecondResponseMessage) GetError() *RPCError
func (*EstimateNetworkHashesPerSecondResponseMessage) GetNetworkHashesPerSecond ¶
func (x *EstimateNetworkHashesPerSecondResponseMessage) GetNetworkHashesPerSecond() uint64
func (*EstimateNetworkHashesPerSecondResponseMessage) ProtoMessage ¶
func (*EstimateNetworkHashesPerSecondResponseMessage) ProtoMessage()
func (*EstimateNetworkHashesPerSecondResponseMessage) ProtoReflect ¶
func (x *EstimateNetworkHashesPerSecondResponseMessage) ProtoReflect() protoreflect.Message
func (*EstimateNetworkHashesPerSecondResponseMessage) Reset ¶
func (x *EstimateNetworkHashesPerSecondResponseMessage) Reset()
func (*EstimateNetworkHashesPerSecondResponseMessage) String ¶
func (x *EstimateNetworkHashesPerSecondResponseMessage) String() string
type GetBalanceByAddressRequestMessage ¶
type GetBalanceByAddressRequestMessage struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceByAddressRequestMessage) Descriptor
deprecated
func (*GetBalanceByAddressRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceByAddressRequestMessage.ProtoReflect.Descriptor instead.
func (*GetBalanceByAddressRequestMessage) GetAddress ¶
func (x *GetBalanceByAddressRequestMessage) GetAddress() string
func (*GetBalanceByAddressRequestMessage) ProtoMessage ¶
func (*GetBalanceByAddressRequestMessage) ProtoMessage()
func (*GetBalanceByAddressRequestMessage) ProtoReflect ¶
func (x *GetBalanceByAddressRequestMessage) ProtoReflect() protoreflect.Message
func (*GetBalanceByAddressRequestMessage) Reset ¶
func (x *GetBalanceByAddressRequestMessage) Reset()
func (*GetBalanceByAddressRequestMessage) String ¶
func (x *GetBalanceByAddressRequestMessage) String() string
type GetBalanceByAddressResponseMessage ¶
type GetBalanceByAddressResponseMessage struct { Balance uint64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceByAddressResponseMessage) Descriptor
deprecated
func (*GetBalanceByAddressResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceByAddressResponseMessage.ProtoReflect.Descriptor instead.
func (*GetBalanceByAddressResponseMessage) GetBalance ¶
func (x *GetBalanceByAddressResponseMessage) GetBalance() uint64
func (*GetBalanceByAddressResponseMessage) GetError ¶
func (x *GetBalanceByAddressResponseMessage) GetError() *RPCError
func (*GetBalanceByAddressResponseMessage) ProtoMessage ¶
func (*GetBalanceByAddressResponseMessage) ProtoMessage()
func (*GetBalanceByAddressResponseMessage) ProtoReflect ¶
func (x *GetBalanceByAddressResponseMessage) ProtoReflect() protoreflect.Message
func (*GetBalanceByAddressResponseMessage) Reset ¶
func (x *GetBalanceByAddressResponseMessage) Reset()
func (*GetBalanceByAddressResponseMessage) String ¶
func (x *GetBalanceByAddressResponseMessage) String() string
type GetBlockDagInfoRequestMessage ¶
type GetBlockDagInfoRequestMessage struct {
// contains filtered or unexported fields
}
func (*GetBlockDagInfoRequestMessage) Descriptor
deprecated
func (*GetBlockDagInfoRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockDagInfoRequestMessage.ProtoReflect.Descriptor instead.
func (*GetBlockDagInfoRequestMessage) ProtoMessage ¶
func (*GetBlockDagInfoRequestMessage) ProtoMessage()
func (*GetBlockDagInfoRequestMessage) ProtoReflect ¶
func (x *GetBlockDagInfoRequestMessage) ProtoReflect() protoreflect.Message
func (*GetBlockDagInfoRequestMessage) Reset ¶
func (x *GetBlockDagInfoRequestMessage) Reset()
func (*GetBlockDagInfoRequestMessage) String ¶
func (x *GetBlockDagInfoRequestMessage) String() string
type GetBlockDagInfoResponseMessage ¶
type GetBlockDagInfoResponseMessage struct { NetworkName string `protobuf:"bytes,1,opt,name=networkName,proto3" json:"networkName,omitempty"` BlockCount uint64 `protobuf:"varint,2,opt,name=blockCount,proto3" json:"blockCount,omitempty"` HeaderCount uint64 `protobuf:"varint,3,opt,name=headerCount,proto3" json:"headerCount,omitempty"` TipHashes []string `protobuf:"bytes,4,rep,name=tipHashes,proto3" json:"tipHashes,omitempty"` Difficulty float64 `protobuf:"fixed64,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"` PastMedianTime int64 `protobuf:"varint,6,opt,name=pastMedianTime,proto3" json:"pastMedianTime,omitempty"` VirtualParentHashes []string `protobuf:"bytes,7,rep,name=virtualParentHashes,proto3" json:"virtualParentHashes,omitempty"` PruningPointHash string `protobuf:"bytes,8,opt,name=pruningPointHash,proto3" json:"pruningPointHash,omitempty"` VirtualDaaScore uint64 `protobuf:"varint,9,opt,name=virtualDaaScore,proto3" json:"virtualDaaScore,omitempty"` Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetBlockDagInfoResponseMessage) Descriptor
deprecated
func (*GetBlockDagInfoResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockDagInfoResponseMessage.ProtoReflect.Descriptor instead.
func (*GetBlockDagInfoResponseMessage) GetBlockCount ¶
func (x *GetBlockDagInfoResponseMessage) GetBlockCount() uint64
func (*GetBlockDagInfoResponseMessage) GetDifficulty ¶
func (x *GetBlockDagInfoResponseMessage) GetDifficulty() float64
func (*GetBlockDagInfoResponseMessage) GetError ¶
func (x *GetBlockDagInfoResponseMessage) GetError() *RPCError
func (*GetBlockDagInfoResponseMessage) GetHeaderCount ¶
func (x *GetBlockDagInfoResponseMessage) GetHeaderCount() uint64
func (*GetBlockDagInfoResponseMessage) GetNetworkName ¶
func (x *GetBlockDagInfoResponseMessage) GetNetworkName() string
func (*GetBlockDagInfoResponseMessage) GetPastMedianTime ¶
func (x *GetBlockDagInfoResponseMessage) GetPastMedianTime() int64
func (*GetBlockDagInfoResponseMessage) GetPruningPointHash ¶
func (x *GetBlockDagInfoResponseMessage) GetPruningPointHash() string
func (*GetBlockDagInfoResponseMessage) GetTipHashes ¶
func (x *GetBlockDagInfoResponseMessage) GetTipHashes() []string
func (*GetBlockDagInfoResponseMessage) GetVirtualDaaScore ¶
func (x *GetBlockDagInfoResponseMessage) GetVirtualDaaScore() uint64
func (*GetBlockDagInfoResponseMessage) GetVirtualParentHashes ¶
func (x *GetBlockDagInfoResponseMessage) GetVirtualParentHashes() []string
func (*GetBlockDagInfoResponseMessage) ProtoMessage ¶
func (*GetBlockDagInfoResponseMessage) ProtoMessage()
func (*GetBlockDagInfoResponseMessage) ProtoReflect ¶
func (x *GetBlockDagInfoResponseMessage) ProtoReflect() protoreflect.Message
func (*GetBlockDagInfoResponseMessage) Reset ¶
func (x *GetBlockDagInfoResponseMessage) Reset()
func (*GetBlockDagInfoResponseMessage) String ¶
func (x *GetBlockDagInfoResponseMessage) String() string
type GetBlockTemplateRequestMessage ¶
type GetBlockTemplateRequestMessage struct { PayAddress string `protobuf:"bytes,1,opt,name=payAddress,proto3" json:"payAddress,omitempty"` ExtraData string `protobuf:"bytes,2,opt,name=extraData,proto3" json:"extraData,omitempty"` // contains filtered or unexported fields }
func (*GetBlockTemplateRequestMessage) Descriptor
deprecated
func (*GetBlockTemplateRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockTemplateRequestMessage.ProtoReflect.Descriptor instead.
func (*GetBlockTemplateRequestMessage) GetExtraData ¶
func (x *GetBlockTemplateRequestMessage) GetExtraData() string
func (*GetBlockTemplateRequestMessage) GetPayAddress ¶
func (x *GetBlockTemplateRequestMessage) GetPayAddress() string
func (*GetBlockTemplateRequestMessage) ProtoMessage ¶
func (*GetBlockTemplateRequestMessage) ProtoMessage()
func (*GetBlockTemplateRequestMessage) ProtoReflect ¶
func (x *GetBlockTemplateRequestMessage) ProtoReflect() protoreflect.Message
func (*GetBlockTemplateRequestMessage) Reset ¶
func (x *GetBlockTemplateRequestMessage) Reset()
func (*GetBlockTemplateRequestMessage) String ¶
func (x *GetBlockTemplateRequestMessage) String() string
type GetBlockTemplateResponseMessage ¶
type GetBlockTemplateResponseMessage struct { Block *RpcBlock `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"` IsSynced bool `protobuf:"varint,2,opt,name=isSynced,proto3" json:"isSynced,omitempty"` Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetBlockTemplateResponseMessage) Descriptor
deprecated
func (*GetBlockTemplateResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockTemplateResponseMessage.ProtoReflect.Descriptor instead.
func (*GetBlockTemplateResponseMessage) GetBlock ¶
func (x *GetBlockTemplateResponseMessage) GetBlock() *RpcBlock
func (*GetBlockTemplateResponseMessage) GetError ¶
func (x *GetBlockTemplateResponseMessage) GetError() *RPCError
func (*GetBlockTemplateResponseMessage) GetIsSynced ¶
func (x *GetBlockTemplateResponseMessage) GetIsSynced() bool
func (*GetBlockTemplateResponseMessage) ProtoMessage ¶
func (*GetBlockTemplateResponseMessage) ProtoMessage()
func (*GetBlockTemplateResponseMessage) ProtoReflect ¶
func (x *GetBlockTemplateResponseMessage) ProtoReflect() protoreflect.Message
func (*GetBlockTemplateResponseMessage) Reset ¶
func (x *GetBlockTemplateResponseMessage) Reset()
func (*GetBlockTemplateResponseMessage) String ¶
func (x *GetBlockTemplateResponseMessage) String() string
type MetchainMessage ¶
type MetchainMessage struct { // Types that are assignable to Payload: // // *MetchainMessage_NotifyNewBlockTemplateRequest // *MetchainMessage_NotifyNewBlockTemplateResponse // *MetchainMessage_NewBlockTemplateNotification // *MetchainMessage_GetBlockTemplateRequest // *MetchainMessage_GetBlockTemplateResponse // *MetchainMessage_GetBlockDagInfoRequest // *MetchainMessage_GetBlockDagInfoResponse // *MetchainMessage_EstimateNetworkHashesPerSecondRequest // *MetchainMessage_EstimateNetworkHashesPerSecondResponse // *MetchainMessage_GetBalanceByAddressRequest // *MetchainMessage_GetBalanceByAddressResponse // *MetchainMessage_SubmitBlockRequest // *MetchainMessage_SubmitBlockResponse // *MetchainMessage_P2PLatestBlockHeightRequest // *MetchainMessage_P2PLatestBlockHeightResponse // *MetchainMessage_P2PBlockWithTrustedDataRequestMessage // *MetchainMessage_P2PBlockWithTrustedDataResponseMessage // *MetchainMessage_SubmitSignedTXRequestMessage // *MetchainMessage_SubmitSignedTXResponseMessage Payload isMetchainMessage_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func FromAppMessage ¶
func FromAppMessage(message appmessage.Message) (*MetchainMessage, error)
func (*MetchainMessage) Descriptor
deprecated
func (*MetchainMessage) Descriptor() ([]byte, []int)
Deprecated: Use MetchainMessage.ProtoReflect.Descriptor instead.
func (*MetchainMessage) GetEstimateNetworkHashesPerSecondRequest ¶
func (x *MetchainMessage) GetEstimateNetworkHashesPerSecondRequest() *EstimateNetworkHashesPerSecondRequestMessage
func (*MetchainMessage) GetEstimateNetworkHashesPerSecondResponse ¶
func (x *MetchainMessage) GetEstimateNetworkHashesPerSecondResponse() *EstimateNetworkHashesPerSecondResponseMessage
func (*MetchainMessage) GetGetBalanceByAddressRequest ¶
func (x *MetchainMessage) GetGetBalanceByAddressRequest() *GetBalanceByAddressRequestMessage
func (*MetchainMessage) GetGetBalanceByAddressResponse ¶
func (x *MetchainMessage) GetGetBalanceByAddressResponse() *GetBalanceByAddressResponseMessage
func (*MetchainMessage) GetGetBlockDagInfoRequest ¶
func (x *MetchainMessage) GetGetBlockDagInfoRequest() *GetBlockDagInfoRequestMessage
func (*MetchainMessage) GetGetBlockDagInfoResponse ¶
func (x *MetchainMessage) GetGetBlockDagInfoResponse() *GetBlockDagInfoResponseMessage
func (*MetchainMessage) GetGetBlockTemplateRequest ¶
func (x *MetchainMessage) GetGetBlockTemplateRequest() *GetBlockTemplateRequestMessage
func (*MetchainMessage) GetGetBlockTemplateResponse ¶
func (x *MetchainMessage) GetGetBlockTemplateResponse() *GetBlockTemplateResponseMessage
func (*MetchainMessage) GetNewBlockTemplateNotification ¶
func (x *MetchainMessage) GetNewBlockTemplateNotification() *NewBlockTemplateNotificationMessage
func (*MetchainMessage) GetNotifyNewBlockTemplateRequest ¶
func (x *MetchainMessage) GetNotifyNewBlockTemplateRequest() *NotifyNewBlockTemplateRequestMessage
func (*MetchainMessage) GetNotifyNewBlockTemplateResponse ¶
func (x *MetchainMessage) GetNotifyNewBlockTemplateResponse() *NotifyNewBlockTemplateResponseMessage
func (*MetchainMessage) GetP2PBlockWithTrustedDataRequestMessage ¶
func (x *MetchainMessage) GetP2PBlockWithTrustedDataRequestMessage() *P2PBlockWithTrustedDataRequestMessage
func (*MetchainMessage) GetP2PBlockWithTrustedDataResponseMessage ¶
func (x *MetchainMessage) GetP2PBlockWithTrustedDataResponseMessage() *P2PBlockWithTrustedDataResponseMessage
func (*MetchainMessage) GetP2PLatestBlockHeightRequest ¶
func (x *MetchainMessage) GetP2PLatestBlockHeightRequest() *P2PLatestBlockHeightRequestMessge
func (*MetchainMessage) GetP2PLatestBlockHeightResponse ¶
func (x *MetchainMessage) GetP2PLatestBlockHeightResponse() *P2PLatestBlockHeightResponseMessage
func (*MetchainMessage) GetPayload ¶
func (m *MetchainMessage) GetPayload() isMetchainMessage_Payload
func (*MetchainMessage) GetSubmitBlockRequest ¶
func (x *MetchainMessage) GetSubmitBlockRequest() *SubmitBlockRequestMessage
func (*MetchainMessage) GetSubmitBlockResponse ¶
func (x *MetchainMessage) GetSubmitBlockResponse() *SubmitBlockResponseMessage
func (*MetchainMessage) GetSubmitSignedTXRequestMessage ¶
func (x *MetchainMessage) GetSubmitSignedTXRequestMessage() *SubmitSignedTXRequestMessage
func (*MetchainMessage) GetSubmitSignedTXResponseMessage ¶
func (x *MetchainMessage) GetSubmitSignedTXResponseMessage() *SubmitSignedTXResponseMessage
func (*MetchainMessage) ProtoMessage ¶
func (*MetchainMessage) ProtoMessage()
func (*MetchainMessage) ProtoReflect ¶
func (x *MetchainMessage) ProtoReflect() protoreflect.Message
func (*MetchainMessage) Reset ¶
func (x *MetchainMessage) Reset()
func (*MetchainMessage) String ¶
func (x *MetchainMessage) String() string
func (*MetchainMessage) ToAppMessage ¶
func (x *MetchainMessage) ToAppMessage() (appmessage.Message, error)
type MetchainMessage_EstimateNetworkHashesPerSecondRequest ¶
type MetchainMessage_EstimateNetworkHashesPerSecondRequest struct {
EstimateNetworkHashesPerSecondRequest *EstimateNetworkHashesPerSecondRequestMessage `protobuf:"bytes,8,opt,name=estimateNetworkHashesPerSecondRequest,proto3,oneof"`
}
type MetchainMessage_EstimateNetworkHashesPerSecondResponse ¶
type MetchainMessage_EstimateNetworkHashesPerSecondResponse struct {
EstimateNetworkHashesPerSecondResponse *EstimateNetworkHashesPerSecondResponseMessage `protobuf:"bytes,9,opt,name=estimateNetworkHashesPerSecondResponse,proto3,oneof"`
}
type MetchainMessage_GetBalanceByAddressRequest ¶
type MetchainMessage_GetBalanceByAddressRequest struct {
GetBalanceByAddressRequest *GetBalanceByAddressRequestMessage `protobuf:"bytes,10,opt,name=getBalanceByAddressRequest,proto3,oneof"`
}
type MetchainMessage_GetBalanceByAddressResponse ¶
type MetchainMessage_GetBalanceByAddressResponse struct {
GetBalanceByAddressResponse *GetBalanceByAddressResponseMessage `protobuf:"bytes,11,opt,name=getBalanceByAddressResponse,proto3,oneof"`
}
type MetchainMessage_GetBlockDagInfoRequest ¶
type MetchainMessage_GetBlockDagInfoRequest struct {
GetBlockDagInfoRequest *GetBlockDagInfoRequestMessage `protobuf:"bytes,6,opt,name=getBlockDagInfoRequest,proto3,oneof"`
}
type MetchainMessage_GetBlockDagInfoResponse ¶
type MetchainMessage_GetBlockDagInfoResponse struct {
GetBlockDagInfoResponse *GetBlockDagInfoResponseMessage `protobuf:"bytes,7,opt,name=getBlockDagInfoResponse,proto3,oneof"`
}
type MetchainMessage_GetBlockTemplateRequest ¶
type MetchainMessage_GetBlockTemplateRequest struct {
GetBlockTemplateRequest *GetBlockTemplateRequestMessage `protobuf:"bytes,4,opt,name=getBlockTemplateRequest,proto3,oneof"`
}
type MetchainMessage_GetBlockTemplateResponse ¶
type MetchainMessage_GetBlockTemplateResponse struct {
GetBlockTemplateResponse *GetBlockTemplateResponseMessage `protobuf:"bytes,5,opt,name=getBlockTemplateResponse,proto3,oneof"`
}
type MetchainMessage_NewBlockTemplateNotification ¶
type MetchainMessage_NewBlockTemplateNotification struct {
NewBlockTemplateNotification *NewBlockTemplateNotificationMessage `protobuf:"bytes,3,opt,name=newBlockTemplateNotification,proto3,oneof"`
}
type MetchainMessage_NotifyNewBlockTemplateRequest ¶
type MetchainMessage_NotifyNewBlockTemplateRequest struct {
NotifyNewBlockTemplateRequest *NotifyNewBlockTemplateRequestMessage `protobuf:"bytes,1,opt,name=notifyNewBlockTemplateRequest,proto3,oneof"`
}
type MetchainMessage_NotifyNewBlockTemplateResponse ¶
type MetchainMessage_NotifyNewBlockTemplateResponse struct {
NotifyNewBlockTemplateResponse *NotifyNewBlockTemplateResponseMessage `protobuf:"bytes,2,opt,name=notifyNewBlockTemplateResponse,proto3,oneof"`
}
type MetchainMessage_P2PBlockWithTrustedDataRequestMessage ¶
type MetchainMessage_P2PBlockWithTrustedDataRequestMessage struct {
P2PBlockWithTrustedDataRequestMessage *P2PBlockWithTrustedDataRequestMessage `protobuf:"bytes,16,opt,name=P2PBlockWithTrustedDataRequestMessage,proto3,oneof"`
}
type MetchainMessage_P2PBlockWithTrustedDataResponseMessage ¶
type MetchainMessage_P2PBlockWithTrustedDataResponseMessage struct {
P2PBlockWithTrustedDataResponseMessage *P2PBlockWithTrustedDataResponseMessage `protobuf:"bytes,17,opt,name=P2PBlockWithTrustedDataResponseMessage,proto3,oneof"`
}
type MetchainMessage_P2PLatestBlockHeightRequest ¶
type MetchainMessage_P2PLatestBlockHeightRequest struct {
P2PLatestBlockHeightRequest *P2PLatestBlockHeightRequestMessge `protobuf:"bytes,14,opt,name=P2PLatestBlockHeightRequest,proto3,oneof"`
}
type MetchainMessage_P2PLatestBlockHeightResponse ¶
type MetchainMessage_P2PLatestBlockHeightResponse struct {
P2PLatestBlockHeightResponse *P2PLatestBlockHeightResponseMessage `protobuf:"bytes,15,opt,name=P2PLatestBlockHeightResponse,proto3,oneof"`
}
type MetchainMessage_SubmitBlockRequest ¶
type MetchainMessage_SubmitBlockRequest struct {
SubmitBlockRequest *SubmitBlockRequestMessage `protobuf:"bytes,12,opt,name=submitBlockRequest,proto3,oneof"`
}
type MetchainMessage_SubmitBlockResponse ¶
type MetchainMessage_SubmitBlockResponse struct {
SubmitBlockResponse *SubmitBlockResponseMessage `protobuf:"bytes,13,opt,name=submitBlockResponse,proto3,oneof"`
}
type MetchainMessage_SubmitSignedTXRequestMessage ¶
type MetchainMessage_SubmitSignedTXRequestMessage struct {
SubmitSignedTXRequestMessage *SubmitSignedTXRequestMessage `protobuf:"bytes,18,opt,name=submitSignedTXRequestMessage,proto3,oneof"`
}
type MetchainMessage_SubmitSignedTXResponseMessage ¶
type MetchainMessage_SubmitSignedTXResponseMessage struct {
SubmitSignedTXResponseMessage *SubmitSignedTXResponseMessage `protobuf:"bytes,19,opt,name=submitSignedTXResponseMessage,proto3,oneof"`
}
type NFTRequest ¶
type NFTRequest struct { Nftid string `protobuf:"bytes,1,opt,name=nftid,proto3" json:"nftid,omitempty"` // contains filtered or unexported fields }
func (*NFTRequest) Descriptor
deprecated
func (*NFTRequest) Descriptor() ([]byte, []int)
Deprecated: Use NFTRequest.ProtoReflect.Descriptor instead.
func (*NFTRequest) GetNftid ¶
func (x *NFTRequest) GetNftid() string
func (*NFTRequest) ProtoMessage ¶
func (*NFTRequest) ProtoMessage()
func (*NFTRequest) ProtoReflect ¶
func (x *NFTRequest) ProtoReflect() protoreflect.Message
func (*NFTRequest) Reset ¶
func (x *NFTRequest) Reset()
func (*NFTRequest) String ¶
func (x *NFTRequest) String() string
type NFTResponse ¶
type NFTResponse struct { NFTid string `protobuf:"bytes,1,opt,name=NFTid,proto3" json:"NFTid,omitempty"` NFTSender string `protobuf:"bytes,2,opt,name=NFTSender,proto3" json:"NFTSender,omitempty"` NFTWallet string `protobuf:"bytes,3,opt,name=NFTWallet,proto3" json:"NFTWallet,omitempty"` Txhash string `protobuf:"bytes,4,opt,name=Txhash,proto3" json:"Txhash,omitempty"` Blockid string `protobuf:"bytes,5,opt,name=Blockid,proto3" json:"Blockid,omitempty"` Blockhash string `protobuf:"bytes,6,opt,name=Blockhash,proto3" json:"Blockhash,omitempty"` // contains filtered or unexported fields }
func (*NFTResponse) Descriptor
deprecated
func (*NFTResponse) Descriptor() ([]byte, []int)
Deprecated: Use NFTResponse.ProtoReflect.Descriptor instead.
func (*NFTResponse) GetBlockhash ¶
func (x *NFTResponse) GetBlockhash() string
func (*NFTResponse) GetBlockid ¶
func (x *NFTResponse) GetBlockid() string
func (*NFTResponse) GetNFTSender ¶
func (x *NFTResponse) GetNFTSender() string
func (*NFTResponse) GetNFTWallet ¶
func (x *NFTResponse) GetNFTWallet() string
func (*NFTResponse) GetNFTid ¶
func (x *NFTResponse) GetNFTid() string
func (*NFTResponse) GetTxhash ¶
func (x *NFTResponse) GetTxhash() string
func (*NFTResponse) ProtoMessage ¶
func (*NFTResponse) ProtoMessage()
func (*NFTResponse) ProtoReflect ¶
func (x *NFTResponse) ProtoReflect() protoreflect.Message
func (*NFTResponse) Reset ¶
func (x *NFTResponse) Reset()
func (*NFTResponse) String ¶
func (x *NFTResponse) String() string
type NewBlockTemplateNotificationMessage ¶
type NewBlockTemplateNotificationMessage struct {
// contains filtered or unexported fields
}
NewBlockTemplateNotificationMessage is sent whenever a new updated block template is available for miners.
See NotifyNewBlockTemplateRequestMessage
func (*NewBlockTemplateNotificationMessage) Descriptor
deprecated
func (*NewBlockTemplateNotificationMessage) Descriptor() ([]byte, []int)
Deprecated: Use NewBlockTemplateNotificationMessage.ProtoReflect.Descriptor instead.
func (*NewBlockTemplateNotificationMessage) ProtoMessage ¶
func (*NewBlockTemplateNotificationMessage) ProtoMessage()
func (*NewBlockTemplateNotificationMessage) ProtoReflect ¶
func (x *NewBlockTemplateNotificationMessage) ProtoReflect() protoreflect.Message
func (*NewBlockTemplateNotificationMessage) Reset ¶
func (x *NewBlockTemplateNotificationMessage) Reset()
func (*NewBlockTemplateNotificationMessage) String ¶
func (x *NewBlockTemplateNotificationMessage) String() string
type NotifyNewBlockTemplateRequestMessage ¶
type NotifyNewBlockTemplateRequestMessage struct {
// contains filtered or unexported fields
}
NotifyNewBlockTemplateRequestMessage registers this connection for NewBlockTemplate notifications.
See: NewBlockTemplateNotificationMessage
func (*NotifyNewBlockTemplateRequestMessage) Descriptor
deprecated
func (*NotifyNewBlockTemplateRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use NotifyNewBlockTemplateRequestMessage.ProtoReflect.Descriptor instead.
func (*NotifyNewBlockTemplateRequestMessage) ProtoMessage ¶
func (*NotifyNewBlockTemplateRequestMessage) ProtoMessage()
func (*NotifyNewBlockTemplateRequestMessage) ProtoReflect ¶
func (x *NotifyNewBlockTemplateRequestMessage) ProtoReflect() protoreflect.Message
func (*NotifyNewBlockTemplateRequestMessage) Reset ¶
func (x *NotifyNewBlockTemplateRequestMessage) Reset()
func (*NotifyNewBlockTemplateRequestMessage) String ¶
func (x *NotifyNewBlockTemplateRequestMessage) String() string
type NotifyNewBlockTemplateResponseMessage ¶
type NotifyNewBlockTemplateResponseMessage struct { Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*NotifyNewBlockTemplateResponseMessage) Descriptor
deprecated
func (*NotifyNewBlockTemplateResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use NotifyNewBlockTemplateResponseMessage.ProtoReflect.Descriptor instead.
func (*NotifyNewBlockTemplateResponseMessage) GetError ¶
func (x *NotifyNewBlockTemplateResponseMessage) GetError() *RPCError
func (*NotifyNewBlockTemplateResponseMessage) ProtoMessage ¶
func (*NotifyNewBlockTemplateResponseMessage) ProtoMessage()
func (*NotifyNewBlockTemplateResponseMessage) ProtoReflect ¶
func (x *NotifyNewBlockTemplateResponseMessage) ProtoReflect() protoreflect.Message
func (*NotifyNewBlockTemplateResponseMessage) Reset ¶
func (x *NotifyNewBlockTemplateResponseMessage) Reset()
func (*NotifyNewBlockTemplateResponseMessage) String ¶
func (x *NotifyNewBlockTemplateResponseMessage) String() string
type P2PBlockWithTrustedDataRequestMessage ¶
type P2PBlockWithTrustedDataRequestMessage struct { BlockInfo []*BlockInfo `protobuf:"bytes,1,rep,name=BlockInfo,proto3" json:"BlockInfo,omitempty"` // contains filtered or unexported fields }
func (*P2PBlockWithTrustedDataRequestMessage) Descriptor
deprecated
func (*P2PBlockWithTrustedDataRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use P2PBlockWithTrustedDataRequestMessage.ProtoReflect.Descriptor instead.
func (*P2PBlockWithTrustedDataRequestMessage) GetBlockInfo ¶
func (x *P2PBlockWithTrustedDataRequestMessage) GetBlockInfo() []*BlockInfo
func (*P2PBlockWithTrustedDataRequestMessage) ProtoMessage ¶
func (*P2PBlockWithTrustedDataRequestMessage) ProtoMessage()
func (*P2PBlockWithTrustedDataRequestMessage) ProtoReflect ¶
func (x *P2PBlockWithTrustedDataRequestMessage) ProtoReflect() protoreflect.Message
func (*P2PBlockWithTrustedDataRequestMessage) Reset ¶
func (x *P2PBlockWithTrustedDataRequestMessage) Reset()
func (*P2PBlockWithTrustedDataRequestMessage) String ¶
func (x *P2PBlockWithTrustedDataRequestMessage) String() string
type P2PBlockWithTrustedDataResponseMessage ¶
type P2PBlockWithTrustedDataResponseMessage struct { BlockInfo []*BlockInfo `protobuf:"bytes,1,rep,name=BlockInfo,proto3" json:"BlockInfo,omitempty"` P2PMessage *P2PError `protobuf:"bytes,2,opt,name=P2PMessage,proto3" json:"P2PMessage,omitempty"` // contains filtered or unexported fields }
func (*P2PBlockWithTrustedDataResponseMessage) Descriptor
deprecated
func (*P2PBlockWithTrustedDataResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use P2PBlockWithTrustedDataResponseMessage.ProtoReflect.Descriptor instead.
func (*P2PBlockWithTrustedDataResponseMessage) GetBlockInfo ¶
func (x *P2PBlockWithTrustedDataResponseMessage) GetBlockInfo() []*BlockInfo
func (*P2PBlockWithTrustedDataResponseMessage) GetP2PMessage ¶
func (x *P2PBlockWithTrustedDataResponseMessage) GetP2PMessage() *P2PError
func (*P2PBlockWithTrustedDataResponseMessage) ProtoMessage ¶
func (*P2PBlockWithTrustedDataResponseMessage) ProtoMessage()
func (*P2PBlockWithTrustedDataResponseMessage) ProtoReflect ¶
func (x *P2PBlockWithTrustedDataResponseMessage) ProtoReflect() protoreflect.Message
func (*P2PBlockWithTrustedDataResponseMessage) Reset ¶
func (x *P2PBlockWithTrustedDataResponseMessage) Reset()
func (*P2PBlockWithTrustedDataResponseMessage) String ¶
func (x *P2PBlockWithTrustedDataResponseMessage) String() string
type P2PClient ¶
type P2PClient interface {
MessageStream(ctx context.Context, opts ...grpc.CallOption) (P2P_MessageStreamClient, error)
}
P2PClient is the client API for P2P 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 NewP2PClient ¶
func NewP2PClient(cc grpc.ClientConnInterface) P2PClient
type P2PError ¶
type P2PError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*P2PError) Descriptor
deprecated
func (*P2PError) GetMessage ¶
func (*P2PError) ProtoMessage ¶
func (*P2PError) ProtoMessage()
func (*P2PError) ProtoReflect ¶
func (x *P2PError) ProtoReflect() protoreflect.Message
type P2PLatestBlockHeightRequestMessge ¶
type P2PLatestBlockHeightRequestMessge struct { BlockHieght string `protobuf:"bytes,1,opt,name=blockHieght,proto3" json:"blockHieght,omitempty"` Blockhash []byte `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` // contains filtered or unexported fields }
func (*P2PLatestBlockHeightRequestMessge) Descriptor
deprecated
func (*P2PLatestBlockHeightRequestMessge) Descriptor() ([]byte, []int)
Deprecated: Use P2PLatestBlockHeightRequestMessge.ProtoReflect.Descriptor instead.
func (*P2PLatestBlockHeightRequestMessge) GetBlockHieght ¶
func (x *P2PLatestBlockHeightRequestMessge) GetBlockHieght() string
func (*P2PLatestBlockHeightRequestMessge) GetBlockhash ¶
func (x *P2PLatestBlockHeightRequestMessge) GetBlockhash() []byte
func (*P2PLatestBlockHeightRequestMessge) ProtoMessage ¶
func (*P2PLatestBlockHeightRequestMessge) ProtoMessage()
func (*P2PLatestBlockHeightRequestMessge) ProtoReflect ¶
func (x *P2PLatestBlockHeightRequestMessge) ProtoReflect() protoreflect.Message
func (*P2PLatestBlockHeightRequestMessge) Reset ¶
func (x *P2PLatestBlockHeightRequestMessge) Reset()
func (*P2PLatestBlockHeightRequestMessge) String ¶
func (x *P2PLatestBlockHeightRequestMessge) String() string
type P2PLatestBlockHeightResponseMessage ¶
type P2PLatestBlockHeightResponseMessage struct { BlockHieght string `protobuf:"bytes,1,opt,name=blockHieght,proto3" json:"blockHieght,omitempty"` Blockhash []byte `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` // contains filtered or unexported fields }
func (*P2PLatestBlockHeightResponseMessage) Descriptor
deprecated
func (*P2PLatestBlockHeightResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use P2PLatestBlockHeightResponseMessage.ProtoReflect.Descriptor instead.
func (*P2PLatestBlockHeightResponseMessage) GetBlockHieght ¶
func (x *P2PLatestBlockHeightResponseMessage) GetBlockHieght() string
func (*P2PLatestBlockHeightResponseMessage) GetBlockhash ¶
func (x *P2PLatestBlockHeightResponseMessage) GetBlockhash() []byte
func (*P2PLatestBlockHeightResponseMessage) ProtoMessage ¶
func (*P2PLatestBlockHeightResponseMessage) ProtoMessage()
func (*P2PLatestBlockHeightResponseMessage) ProtoReflect ¶
func (x *P2PLatestBlockHeightResponseMessage) ProtoReflect() protoreflect.Message
func (*P2PLatestBlockHeightResponseMessage) Reset ¶
func (x *P2PLatestBlockHeightResponseMessage) Reset()
func (*P2PLatestBlockHeightResponseMessage) String ¶
func (x *P2PLatestBlockHeightResponseMessage) String() string
type P2PServer ¶
type P2PServer interface { MessageStream(P2P_MessageStreamServer) error // contains filtered or unexported methods }
P2PServer is the server API for P2P service. All implementations must embed UnimplementedP2PServer for forward compatibility
type P2P_MessageStreamClient ¶
type P2P_MessageStreamClient interface { Send(*MetchainMessage) error Recv() (*MetchainMessage, error) grpc.ClientStream }
type P2P_MessageStreamServer ¶
type P2P_MessageStreamServer interface { Send(*MetchainMessage) error Recv() (*MetchainMessage, error) grpc.ServerStream }
type RPCClient ¶
type RPCClient interface {
MessageStream(ctx context.Context, opts ...grpc.CallOption) (RPC_MessageStreamClient, error)
}
RPCClient is the client API for RPC 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 NewRPCClient ¶
func NewRPCClient(cc grpc.ClientConnInterface) RPCClient
type RPCError ¶
type RPCError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RPCError) Descriptor
deprecated
func (*RPCError) GetMessage ¶
func (*RPCError) ProtoMessage ¶
func (*RPCError) ProtoMessage()
func (*RPCError) ProtoReflect ¶
func (x *RPCError) ProtoReflect() protoreflect.Message
type RPCServer ¶
type RPCServer interface { MessageStream(RPC_MessageStreamServer) error // contains filtered or unexported methods }
RPCServer is the server API for RPC service. All implementations must embed UnimplementedRPCServer for forward compatibility
type RPC_MessageStreamClient ¶
type RPC_MessageStreamClient interface { Send(*MetchainMessage) error Recv() (*MetchainMessage, error) grpc.ClientStream }
type RPC_MessageStreamServer ¶
type RPC_MessageStreamServer interface { Send(*MetchainMessage) error Recv() (*MetchainMessage, error) grpc.ServerStream }
type RpcBlock ¶
type RpcBlock struct { Header *RpcBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Transactions []*RpcTransaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` VerboseData *RpcBlockVerboseData `protobuf:"bytes,3,opt,name=verboseData,proto3" json:"verboseData,omitempty"` // contains filtered or unexported fields }
func (*RpcBlock) Descriptor
deprecated
func (*RpcBlock) GetHeader ¶
func (x *RpcBlock) GetHeader() *RpcBlockHeader
func (*RpcBlock) GetTransactions ¶
func (x *RpcBlock) GetTransactions() []*RpcTransaction
func (*RpcBlock) GetVerboseData ¶
func (x *RpcBlock) GetVerboseData() *RpcBlockVerboseData
func (*RpcBlock) ProtoMessage ¶
func (*RpcBlock) ProtoMessage()
func (*RpcBlock) ProtoReflect ¶
func (x *RpcBlock) ProtoReflect() protoreflect.Message
type RpcBlockHeader ¶
type RpcBlockHeader struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Parents []*RpcBlockLevelParents `protobuf:"bytes,12,rep,name=parents,proto3" json:"parents,omitempty"` HashMerkleRoot string `protobuf:"bytes,3,opt,name=hashMerkleRoot,proto3" json:"hashMerkleRoot,omitempty"` AcceptedIdMerkleRoot string `protobuf:"bytes,4,opt,name=acceptedIdMerkleRoot,proto3" json:"acceptedIdMerkleRoot,omitempty"` UtxoCommitment string `protobuf:"bytes,5,opt,name=utxoCommitment,proto3" json:"utxoCommitment,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Bits uint32 `protobuf:"varint,7,opt,name=bits,proto3" json:"bits,omitempty"` Nonce uint64 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` DaaScore uint64 `protobuf:"varint,9,opt,name=daaScore,proto3" json:"daaScore,omitempty"` BlueWork string `protobuf:"bytes,10,opt,name=blueWork,proto3" json:"blueWork,omitempty"` PruningPoint string `protobuf:"bytes,14,opt,name=pruningPoint,proto3" json:"pruningPoint,omitempty"` BlueScore uint64 `protobuf:"varint,13,opt,name=blueScore,proto3" json:"blueScore,omitempty"` // contains filtered or unexported fields }
func (*RpcBlockHeader) Descriptor
deprecated
func (*RpcBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use RpcBlockHeader.ProtoReflect.Descriptor instead.
func (*RpcBlockHeader) GetAcceptedIdMerkleRoot ¶
func (x *RpcBlockHeader) GetAcceptedIdMerkleRoot() string
func (*RpcBlockHeader) GetBits ¶
func (x *RpcBlockHeader) GetBits() uint32
func (*RpcBlockHeader) GetBlueScore ¶
func (x *RpcBlockHeader) GetBlueScore() uint64
func (*RpcBlockHeader) GetBlueWork ¶
func (x *RpcBlockHeader) GetBlueWork() string
func (*RpcBlockHeader) GetDaaScore ¶
func (x *RpcBlockHeader) GetDaaScore() uint64
func (*RpcBlockHeader) GetHashMerkleRoot ¶
func (x *RpcBlockHeader) GetHashMerkleRoot() string
func (*RpcBlockHeader) GetNonce ¶
func (x *RpcBlockHeader) GetNonce() uint64
func (*RpcBlockHeader) GetParents ¶
func (x *RpcBlockHeader) GetParents() []*RpcBlockLevelParents
func (*RpcBlockHeader) GetPruningPoint ¶
func (x *RpcBlockHeader) GetPruningPoint() string
func (*RpcBlockHeader) GetTimestamp ¶
func (x *RpcBlockHeader) GetTimestamp() int64
func (*RpcBlockHeader) GetUtxoCommitment ¶
func (x *RpcBlockHeader) GetUtxoCommitment() string
func (*RpcBlockHeader) GetVersion ¶
func (x *RpcBlockHeader) GetVersion() uint32
func (*RpcBlockHeader) ProtoMessage ¶
func (*RpcBlockHeader) ProtoMessage()
func (*RpcBlockHeader) ProtoReflect ¶
func (x *RpcBlockHeader) ProtoReflect() protoreflect.Message
func (*RpcBlockHeader) Reset ¶
func (x *RpcBlockHeader) Reset()
func (*RpcBlockHeader) String ¶
func (x *RpcBlockHeader) String() string
type RpcBlockLevelParents ¶
type RpcBlockLevelParents struct { ParentHashes []string `protobuf:"bytes,1,rep,name=parentHashes,proto3" json:"parentHashes,omitempty"` // contains filtered or unexported fields }
func (*RpcBlockLevelParents) Descriptor
deprecated
func (*RpcBlockLevelParents) Descriptor() ([]byte, []int)
Deprecated: Use RpcBlockLevelParents.ProtoReflect.Descriptor instead.
func (*RpcBlockLevelParents) GetParentHashes ¶
func (x *RpcBlockLevelParents) GetParentHashes() []string
func (*RpcBlockLevelParents) ProtoMessage ¶
func (*RpcBlockLevelParents) ProtoMessage()
func (*RpcBlockLevelParents) ProtoReflect ¶
func (x *RpcBlockLevelParents) ProtoReflect() protoreflect.Message
func (*RpcBlockLevelParents) Reset ¶
func (x *RpcBlockLevelParents) Reset()
func (*RpcBlockLevelParents) String ¶
func (x *RpcBlockLevelParents) String() string
type RpcBlockVerboseData ¶
type RpcBlockVerboseData struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Difficulty float64 `protobuf:"fixed64,11,opt,name=difficulty,proto3" json:"difficulty,omitempty"` SelectedParentHash string `protobuf:"bytes,13,opt,name=selectedParentHash,proto3" json:"selectedParentHash,omitempty"` TransactionIds []string `protobuf:"bytes,14,rep,name=transactionIds,proto3" json:"transactionIds,omitempty"` IsHeaderOnly bool `protobuf:"varint,15,opt,name=isHeaderOnly,proto3" json:"isHeaderOnly,omitempty"` BlueScore uint64 `protobuf:"varint,16,opt,name=blueScore,proto3" json:"blueScore,omitempty"` ChildrenHashes []string `protobuf:"bytes,17,rep,name=childrenHashes,proto3" json:"childrenHashes,omitempty"` MergeSetBluesHashes []string `protobuf:"bytes,18,rep,name=mergeSetBluesHashes,proto3" json:"mergeSetBluesHashes,omitempty"` MergeSetRedsHashes []string `protobuf:"bytes,19,rep,name=mergeSetRedsHashes,proto3" json:"mergeSetRedsHashes,omitempty"` IsChainBlock bool `protobuf:"varint,20,opt,name=isChainBlock,proto3" json:"isChainBlock,omitempty"` // contains filtered or unexported fields }
func (*RpcBlockVerboseData) Descriptor
deprecated
func (*RpcBlockVerboseData) Descriptor() ([]byte, []int)
Deprecated: Use RpcBlockVerboseData.ProtoReflect.Descriptor instead.
func (*RpcBlockVerboseData) GetBlueScore ¶
func (x *RpcBlockVerboseData) GetBlueScore() uint64
func (*RpcBlockVerboseData) GetChildrenHashes ¶
func (x *RpcBlockVerboseData) GetChildrenHashes() []string
func (*RpcBlockVerboseData) GetDifficulty ¶
func (x *RpcBlockVerboseData) GetDifficulty() float64
func (*RpcBlockVerboseData) GetHash ¶
func (x *RpcBlockVerboseData) GetHash() string
func (*RpcBlockVerboseData) GetIsChainBlock ¶
func (x *RpcBlockVerboseData) GetIsChainBlock() bool
func (*RpcBlockVerboseData) GetIsHeaderOnly ¶
func (x *RpcBlockVerboseData) GetIsHeaderOnly() bool
func (*RpcBlockVerboseData) GetMergeSetBluesHashes ¶
func (x *RpcBlockVerboseData) GetMergeSetBluesHashes() []string
func (*RpcBlockVerboseData) GetMergeSetRedsHashes ¶
func (x *RpcBlockVerboseData) GetMergeSetRedsHashes() []string
func (*RpcBlockVerboseData) GetSelectedParentHash ¶
func (x *RpcBlockVerboseData) GetSelectedParentHash() string
func (*RpcBlockVerboseData) GetTransactionIds ¶
func (x *RpcBlockVerboseData) GetTransactionIds() []string
func (*RpcBlockVerboseData) ProtoMessage ¶
func (*RpcBlockVerboseData) ProtoMessage()
func (*RpcBlockVerboseData) ProtoReflect ¶
func (x *RpcBlockVerboseData) ProtoReflect() protoreflect.Message
func (*RpcBlockVerboseData) Reset ¶
func (x *RpcBlockVerboseData) Reset()
func (*RpcBlockVerboseData) String ¶
func (x *RpcBlockVerboseData) String() string
type RpcOutpoint ¶
type RpcOutpoint struct { TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*RpcOutpoint) Descriptor
deprecated
func (*RpcOutpoint) Descriptor() ([]byte, []int)
Deprecated: Use RpcOutpoint.ProtoReflect.Descriptor instead.
func (*RpcOutpoint) GetIndex ¶
func (x *RpcOutpoint) GetIndex() uint32
func (*RpcOutpoint) GetTransactionId ¶
func (x *RpcOutpoint) GetTransactionId() string
func (*RpcOutpoint) ProtoMessage ¶
func (*RpcOutpoint) ProtoMessage()
func (*RpcOutpoint) ProtoReflect ¶
func (x *RpcOutpoint) ProtoReflect() protoreflect.Message
func (*RpcOutpoint) Reset ¶
func (x *RpcOutpoint) Reset()
func (*RpcOutpoint) String ¶
func (x *RpcOutpoint) String() string
type RpcScriptPublicKey ¶
type RpcScriptPublicKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ScriptPublicKey string `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` // contains filtered or unexported fields }
func (*RpcScriptPublicKey) Descriptor
deprecated
func (*RpcScriptPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use RpcScriptPublicKey.ProtoReflect.Descriptor instead.
func (*RpcScriptPublicKey) GetScriptPublicKey ¶
func (x *RpcScriptPublicKey) GetScriptPublicKey() string
func (*RpcScriptPublicKey) GetVersion ¶
func (x *RpcScriptPublicKey) GetVersion() uint32
func (*RpcScriptPublicKey) ProtoMessage ¶
func (*RpcScriptPublicKey) ProtoMessage()
func (*RpcScriptPublicKey) ProtoReflect ¶
func (x *RpcScriptPublicKey) ProtoReflect() protoreflect.Message
func (*RpcScriptPublicKey) Reset ¶
func (x *RpcScriptPublicKey) Reset()
func (*RpcScriptPublicKey) String ¶
func (x *RpcScriptPublicKey) String() string
type RpcTransaction ¶
type RpcTransaction struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Inputs []*RpcTransactionInput `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*RpcTransactionOutput `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` LockTime uint64 `protobuf:"varint,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"` SubnetworkId string `protobuf:"bytes,5,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"` Gas uint64 `protobuf:"varint,6,opt,name=gas,proto3" json:"gas,omitempty"` Payload string `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` VerboseData *RpcTransactionVerboseData `protobuf:"bytes,9,opt,name=verboseData,proto3" json:"verboseData,omitempty"` // contains filtered or unexported fields }
func (*RpcTransaction) Descriptor
deprecated
func (*RpcTransaction) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransaction.ProtoReflect.Descriptor instead.
func (*RpcTransaction) GetGas ¶
func (x *RpcTransaction) GetGas() uint64
func (*RpcTransaction) GetInputs ¶
func (x *RpcTransaction) GetInputs() []*RpcTransactionInput
func (*RpcTransaction) GetLockTime ¶
func (x *RpcTransaction) GetLockTime() uint64
func (*RpcTransaction) GetOutputs ¶
func (x *RpcTransaction) GetOutputs() []*RpcTransactionOutput
func (*RpcTransaction) GetPayload ¶
func (x *RpcTransaction) GetPayload() string
func (*RpcTransaction) GetSubnetworkId ¶
func (x *RpcTransaction) GetSubnetworkId() string
func (*RpcTransaction) GetVerboseData ¶
func (x *RpcTransaction) GetVerboseData() *RpcTransactionVerboseData
func (*RpcTransaction) GetVersion ¶
func (x *RpcTransaction) GetVersion() uint32
func (*RpcTransaction) ProtoMessage ¶
func (*RpcTransaction) ProtoMessage()
func (*RpcTransaction) ProtoReflect ¶
func (x *RpcTransaction) ProtoReflect() protoreflect.Message
func (*RpcTransaction) Reset ¶
func (x *RpcTransaction) Reset()
func (*RpcTransaction) String ¶
func (x *RpcTransaction) String() string
type RpcTransactionInput ¶
type RpcTransactionInput struct { PreviousOutpoint *RpcOutpoint `protobuf:"bytes,1,opt,name=previousOutpoint,proto3" json:"previousOutpoint,omitempty"` SignatureScript string `protobuf:"bytes,2,opt,name=signatureScript,proto3" json:"signatureScript,omitempty"` Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` SigOpCount uint32 `protobuf:"varint,5,opt,name=sigOpCount,proto3" json:"sigOpCount,omitempty"` VerboseData *RpcTransactionInputVerboseData `protobuf:"bytes,4,opt,name=verboseData,proto3" json:"verboseData,omitempty"` // contains filtered or unexported fields }
func (*RpcTransactionInput) Descriptor
deprecated
func (*RpcTransactionInput) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransactionInput.ProtoReflect.Descriptor instead.
func (*RpcTransactionInput) GetPreviousOutpoint ¶
func (x *RpcTransactionInput) GetPreviousOutpoint() *RpcOutpoint
func (*RpcTransactionInput) GetSequence ¶
func (x *RpcTransactionInput) GetSequence() uint64
func (*RpcTransactionInput) GetSigOpCount ¶
func (x *RpcTransactionInput) GetSigOpCount() uint32
func (*RpcTransactionInput) GetSignatureScript ¶
func (x *RpcTransactionInput) GetSignatureScript() string
func (*RpcTransactionInput) GetVerboseData ¶
func (x *RpcTransactionInput) GetVerboseData() *RpcTransactionInputVerboseData
func (*RpcTransactionInput) ProtoMessage ¶
func (*RpcTransactionInput) ProtoMessage()
func (*RpcTransactionInput) ProtoReflect ¶
func (x *RpcTransactionInput) ProtoReflect() protoreflect.Message
func (*RpcTransactionInput) Reset ¶
func (x *RpcTransactionInput) Reset()
func (*RpcTransactionInput) String ¶
func (x *RpcTransactionInput) String() string
type RpcTransactionInputVerboseData ¶
type RpcTransactionInputVerboseData struct {
// contains filtered or unexported fields
}
func (*RpcTransactionInputVerboseData) Descriptor
deprecated
func (*RpcTransactionInputVerboseData) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransactionInputVerboseData.ProtoReflect.Descriptor instead.
func (*RpcTransactionInputVerboseData) ProtoMessage ¶
func (*RpcTransactionInputVerboseData) ProtoMessage()
func (*RpcTransactionInputVerboseData) ProtoReflect ¶
func (x *RpcTransactionInputVerboseData) ProtoReflect() protoreflect.Message
func (*RpcTransactionInputVerboseData) Reset ¶
func (x *RpcTransactionInputVerboseData) Reset()
func (*RpcTransactionInputVerboseData) String ¶
func (x *RpcTransactionInputVerboseData) String() string
type RpcTransactionOutput ¶
type RpcTransactionOutput struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` ScriptPublicKey *RpcScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` VerboseData *RpcTransactionOutputVerboseData `protobuf:"bytes,3,opt,name=verboseData,proto3" json:"verboseData,omitempty"` // contains filtered or unexported fields }
func (*RpcTransactionOutput) Descriptor
deprecated
func (*RpcTransactionOutput) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransactionOutput.ProtoReflect.Descriptor instead.
func (*RpcTransactionOutput) GetAmount ¶
func (x *RpcTransactionOutput) GetAmount() uint64
func (*RpcTransactionOutput) GetScriptPublicKey ¶
func (x *RpcTransactionOutput) GetScriptPublicKey() *RpcScriptPublicKey
func (*RpcTransactionOutput) GetVerboseData ¶
func (x *RpcTransactionOutput) GetVerboseData() *RpcTransactionOutputVerboseData
func (*RpcTransactionOutput) ProtoMessage ¶
func (*RpcTransactionOutput) ProtoMessage()
func (*RpcTransactionOutput) ProtoReflect ¶
func (x *RpcTransactionOutput) ProtoReflect() protoreflect.Message
func (*RpcTransactionOutput) Reset ¶
func (x *RpcTransactionOutput) Reset()
func (*RpcTransactionOutput) String ¶
func (x *RpcTransactionOutput) String() string
type RpcTransactionOutputVerboseData ¶
type RpcTransactionOutputVerboseData struct { ScriptPublicKeyType string `protobuf:"bytes,5,opt,name=scriptPublicKeyType,proto3" json:"scriptPublicKeyType,omitempty"` ScriptPublicKeyAddress string `protobuf:"bytes,6,opt,name=scriptPublicKeyAddress,proto3" json:"scriptPublicKeyAddress,omitempty"` // contains filtered or unexported fields }
func (*RpcTransactionOutputVerboseData) Descriptor
deprecated
func (*RpcTransactionOutputVerboseData) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransactionOutputVerboseData.ProtoReflect.Descriptor instead.
func (*RpcTransactionOutputVerboseData) GetScriptPublicKeyAddress ¶
func (x *RpcTransactionOutputVerboseData) GetScriptPublicKeyAddress() string
func (*RpcTransactionOutputVerboseData) GetScriptPublicKeyType ¶
func (x *RpcTransactionOutputVerboseData) GetScriptPublicKeyType() string
func (*RpcTransactionOutputVerboseData) ProtoMessage ¶
func (*RpcTransactionOutputVerboseData) ProtoMessage()
func (*RpcTransactionOutputVerboseData) ProtoReflect ¶
func (x *RpcTransactionOutputVerboseData) ProtoReflect() protoreflect.Message
func (*RpcTransactionOutputVerboseData) Reset ¶
func (x *RpcTransactionOutputVerboseData) Reset()
func (*RpcTransactionOutputVerboseData) String ¶
func (x *RpcTransactionOutputVerboseData) String() string
type RpcTransactionVerboseData ¶
type RpcTransactionVerboseData struct { TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Mass uint64 `protobuf:"varint,4,opt,name=mass,proto3" json:"mass,omitempty"` BlockHash string `protobuf:"bytes,12,opt,name=blockHash,proto3" json:"blockHash,omitempty"` BlockTime uint64 `protobuf:"varint,14,opt,name=blockTime,proto3" json:"blockTime,omitempty"` // contains filtered or unexported fields }
func (*RpcTransactionVerboseData) Descriptor
deprecated
func (*RpcTransactionVerboseData) Descriptor() ([]byte, []int)
Deprecated: Use RpcTransactionVerboseData.ProtoReflect.Descriptor instead.
func (*RpcTransactionVerboseData) GetBlockHash ¶
func (x *RpcTransactionVerboseData) GetBlockHash() string
func (*RpcTransactionVerboseData) GetBlockTime ¶
func (x *RpcTransactionVerboseData) GetBlockTime() uint64
func (*RpcTransactionVerboseData) GetHash ¶
func (x *RpcTransactionVerboseData) GetHash() string
func (*RpcTransactionVerboseData) GetMass ¶
func (x *RpcTransactionVerboseData) GetMass() uint64
func (*RpcTransactionVerboseData) GetTransactionId ¶
func (x *RpcTransactionVerboseData) GetTransactionId() string
func (*RpcTransactionVerboseData) ProtoMessage ¶
func (*RpcTransactionVerboseData) ProtoMessage()
func (*RpcTransactionVerboseData) ProtoReflect ¶
func (x *RpcTransactionVerboseData) ProtoReflect() protoreflect.Message
func (*RpcTransactionVerboseData) Reset ¶
func (x *RpcTransactionVerboseData) Reset()
func (*RpcTransactionVerboseData) String ¶
func (x *RpcTransactionVerboseData) String() string
type StakeNFT ¶
type StakeNFT struct { NFTid string `protobuf:"bytes,1,opt,name=NFTid,proto3" json:"NFTid,omitempty"` NFTSender string `protobuf:"bytes,2,opt,name=NFTSender,proto3" json:"NFTSender,omitempty"` StakeAmount string `protobuf:"bytes,4,opt,name=StakeAmount,proto3" json:"StakeAmount,omitempty"` Txhash string `protobuf:"bytes,5,opt,name=Txhash,proto3" json:"Txhash,omitempty"` Blockid string `protobuf:"bytes,6,opt,name=Blockid,proto3" json:"Blockid,omitempty"` Blockhash string `protobuf:"bytes,7,opt,name=Blockhash,proto3" json:"Blockhash,omitempty"` StakedP string `protobuf:"bytes,10,opt,name=StakedP,proto3" json:"StakedP,omitempty"` LockTime uint64 `protobuf:"varint,8,opt,name=LockTime,proto3" json:"LockTime,omitempty"` UnlockTime uint64 `protobuf:"varint,9,opt,name=UnlockTime,proto3" json:"UnlockTime,omitempty"` // contains filtered or unexported fields }
func (*StakeNFT) Descriptor
deprecated
func (*StakeNFT) GetBlockhash ¶
func (*StakeNFT) GetBlockid ¶
func (*StakeNFT) GetLockTime ¶
func (*StakeNFT) GetNFTSender ¶
func (*StakeNFT) GetStakeAmount ¶
func (*StakeNFT) GetStakedP ¶
func (*StakeNFT) GetUnlockTime ¶
func (*StakeNFT) ProtoMessage ¶
func (*StakeNFT) ProtoMessage()
func (*StakeNFT) ProtoReflect ¶
func (x *StakeNFT) ProtoReflect() protoreflect.Message
type StakeNFTOldVersion ¶
type StakeNFTOldVersion struct { NFTid string `protobuf:"bytes,1,opt,name=NFTid,proto3" json:"NFTid,omitempty"` NFTSender string `protobuf:"bytes,2,opt,name=NFTSender,proto3" json:"NFTSender,omitempty"` StakeAmount string `protobuf:"bytes,4,opt,name=StakeAmount,proto3" json:"StakeAmount,omitempty"` Txhash string `protobuf:"bytes,5,opt,name=Txhash,proto3" json:"Txhash,omitempty"` Blockid string `protobuf:"bytes,6,opt,name=Blockid,proto3" json:"Blockid,omitempty"` Blockhash string `protobuf:"bytes,7,opt,name=Blockhash,proto3" json:"Blockhash,omitempty"` StakedP string `protobuf:"bytes,10,opt,name=StakedP,proto3" json:"StakedP,omitempty"` LockTime string `protobuf:"bytes,8,opt,name=LockTime,proto3" json:"LockTime,omitempty"` UnlockTime string `protobuf:"bytes,9,opt,name=UnlockTime,proto3" json:"UnlockTime,omitempty"` // contains filtered or unexported fields }
func (*StakeNFTOldVersion) Descriptor
deprecated
func (*StakeNFTOldVersion) Descriptor() ([]byte, []int)
Deprecated: Use StakeNFTOldVersion.ProtoReflect.Descriptor instead.
func (*StakeNFTOldVersion) GetBlockhash ¶
func (x *StakeNFTOldVersion) GetBlockhash() string
func (*StakeNFTOldVersion) GetBlockid ¶
func (x *StakeNFTOldVersion) GetBlockid() string
func (*StakeNFTOldVersion) GetLockTime ¶
func (x *StakeNFTOldVersion) GetLockTime() string
func (*StakeNFTOldVersion) GetNFTSender ¶
func (x *StakeNFTOldVersion) GetNFTSender() string
func (*StakeNFTOldVersion) GetNFTid ¶
func (x *StakeNFTOldVersion) GetNFTid() string
func (*StakeNFTOldVersion) GetStakeAmount ¶
func (x *StakeNFTOldVersion) GetStakeAmount() string
func (*StakeNFTOldVersion) GetStakedP ¶
func (x *StakeNFTOldVersion) GetStakedP() string
func (*StakeNFTOldVersion) GetTxhash ¶
func (x *StakeNFTOldVersion) GetTxhash() string
func (*StakeNFTOldVersion) GetUnlockTime ¶
func (x *StakeNFTOldVersion) GetUnlockTime() string
func (*StakeNFTOldVersion) ProtoMessage ¶
func (*StakeNFTOldVersion) ProtoMessage()
func (*StakeNFTOldVersion) ProtoReflect ¶
func (x *StakeNFTOldVersion) ProtoReflect() protoreflect.Message
func (*StakeNFTOldVersion) Reset ¶
func (x *StakeNFTOldVersion) Reset()
func (*StakeNFTOldVersion) String ¶
func (x *StakeNFTOldVersion) String() string
type SubmitBlockRequestMessage ¶
type SubmitBlockRequestMessage struct { Block *RpcBlock `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` AllowNonDAABlocks bool `protobuf:"varint,3,opt,name=allowNonDAABlocks,proto3" json:"allowNonDAABlocks,omitempty"` // contains filtered or unexported fields }
func (*SubmitBlockRequestMessage) Descriptor
deprecated
func (*SubmitBlockRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use SubmitBlockRequestMessage.ProtoReflect.Descriptor instead.
func (*SubmitBlockRequestMessage) GetAllowNonDAABlocks ¶
func (x *SubmitBlockRequestMessage) GetAllowNonDAABlocks() bool
func (*SubmitBlockRequestMessage) GetBlock ¶
func (x *SubmitBlockRequestMessage) GetBlock() *RpcBlock
func (*SubmitBlockRequestMessage) ProtoMessage ¶
func (*SubmitBlockRequestMessage) ProtoMessage()
func (*SubmitBlockRequestMessage) ProtoReflect ¶
func (x *SubmitBlockRequestMessage) ProtoReflect() protoreflect.Message
func (*SubmitBlockRequestMessage) Reset ¶
func (x *SubmitBlockRequestMessage) Reset()
func (*SubmitBlockRequestMessage) String ¶
func (x *SubmitBlockRequestMessage) String() string
type SubmitBlockResponseMessage ¶
type SubmitBlockResponseMessage struct { RejectReason SubmitBlockResponseMessage_RejectReason `` /* 133-byte string literal not displayed */ Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"` ConsensusBlockhash string `protobuf:"bytes,2,opt,name=consensusBlockhash,proto3" json:"consensusBlockhash,omitempty"` Consensusreward string `protobuf:"bytes,3,opt,name=consensusreward,proto3" json:"consensusreward,omitempty"` // contains filtered or unexported fields }
func (*SubmitBlockResponseMessage) Descriptor
deprecated
func (*SubmitBlockResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use SubmitBlockResponseMessage.ProtoReflect.Descriptor instead.
func (*SubmitBlockResponseMessage) GetConsensusBlockhash ¶
func (x *SubmitBlockResponseMessage) GetConsensusBlockhash() string
func (*SubmitBlockResponseMessage) GetConsensusreward ¶
func (x *SubmitBlockResponseMessage) GetConsensusreward() string
func (*SubmitBlockResponseMessage) GetError ¶
func (x *SubmitBlockResponseMessage) GetError() *RPCError
func (*SubmitBlockResponseMessage) GetRejectReason ¶
func (x *SubmitBlockResponseMessage) GetRejectReason() SubmitBlockResponseMessage_RejectReason
func (*SubmitBlockResponseMessage) ProtoMessage ¶
func (*SubmitBlockResponseMessage) ProtoMessage()
func (*SubmitBlockResponseMessage) ProtoReflect ¶
func (x *SubmitBlockResponseMessage) ProtoReflect() protoreflect.Message
func (*SubmitBlockResponseMessage) Reset ¶
func (x *SubmitBlockResponseMessage) Reset()
func (*SubmitBlockResponseMessage) String ¶
func (x *SubmitBlockResponseMessage) String() string
type SubmitBlockResponseMessage_RejectReason ¶
type SubmitBlockResponseMessage_RejectReason int32
const ( SubmitBlockResponseMessage_NONE SubmitBlockResponseMessage_RejectReason = 0 SubmitBlockResponseMessage_BLOCK_INVALID SubmitBlockResponseMessage_RejectReason = 1 SubmitBlockResponseMessage_IS_IN_IBD SubmitBlockResponseMessage_RejectReason = 2 )
func (SubmitBlockResponseMessage_RejectReason) Descriptor ¶
func (SubmitBlockResponseMessage_RejectReason) Descriptor() protoreflect.EnumDescriptor
func (SubmitBlockResponseMessage_RejectReason) EnumDescriptor
deprecated
func (SubmitBlockResponseMessage_RejectReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubmitBlockResponseMessage_RejectReason.Descriptor instead.
func (SubmitBlockResponseMessage_RejectReason) Number ¶
func (x SubmitBlockResponseMessage_RejectReason) Number() protoreflect.EnumNumber
func (SubmitBlockResponseMessage_RejectReason) String ¶
func (x SubmitBlockResponseMessage_RejectReason) String() string
func (SubmitBlockResponseMessage_RejectReason) Type ¶
func (SubmitBlockResponseMessage_RejectReason) Type() protoreflect.EnumType
type SubmitSignedTXRequestMessage ¶
type SubmitSignedTXRequestMessage struct { WalletSeed []byte `protobuf:"bytes,1,opt,name=WalletSeed,proto3" json:"WalletSeed,omitempty"` SenderWallet []byte `protobuf:"bytes,2,opt,name=SenderWallet,proto3" json:"SenderWallet,omitempty"` ReciverWallet []byte `protobuf:"bytes,3,opt,name=ReciverWallet,proto3" json:"ReciverWallet,omitempty"` SendersAmount float32 `protobuf:"fixed32,4,opt,name=SendersAmount,proto3" json:"SendersAmount,omitempty"` Signedtxhash []byte `protobuf:"bytes,5,opt,name=Signedtxhash,proto3" json:"Signedtxhash,omitempty"` // contains filtered or unexported fields }
func (*SubmitSignedTXRequestMessage) Descriptor
deprecated
func (*SubmitSignedTXRequestMessage) Descriptor() ([]byte, []int)
Deprecated: Use SubmitSignedTXRequestMessage.ProtoReflect.Descriptor instead.
func (*SubmitSignedTXRequestMessage) GetReciverWallet ¶
func (x *SubmitSignedTXRequestMessage) GetReciverWallet() []byte
func (*SubmitSignedTXRequestMessage) GetSenderWallet ¶
func (x *SubmitSignedTXRequestMessage) GetSenderWallet() []byte
func (*SubmitSignedTXRequestMessage) GetSendersAmount ¶
func (x *SubmitSignedTXRequestMessage) GetSendersAmount() float32
func (*SubmitSignedTXRequestMessage) GetSignedtxhash ¶
func (x *SubmitSignedTXRequestMessage) GetSignedtxhash() []byte
func (*SubmitSignedTXRequestMessage) GetWalletSeed ¶
func (x *SubmitSignedTXRequestMessage) GetWalletSeed() []byte
func (*SubmitSignedTXRequestMessage) ProtoMessage ¶
func (*SubmitSignedTXRequestMessage) ProtoMessage()
func (*SubmitSignedTXRequestMessage) ProtoReflect ¶
func (x *SubmitSignedTXRequestMessage) ProtoReflect() protoreflect.Message
func (*SubmitSignedTXRequestMessage) Reset ¶
func (x *SubmitSignedTXRequestMessage) Reset()
func (*SubmitSignedTXRequestMessage) String ¶
func (x *SubmitSignedTXRequestMessage) String() string
type SubmitSignedTXResponseMessage ¶
type SubmitSignedTXResponseMessage struct { WalletSeed []byte `protobuf:"bytes,1,opt,name=WalletSeed,proto3" json:"WalletSeed,omitempty"` SenderWallet []byte `protobuf:"bytes,2,opt,name=SenderWallet,proto3" json:"SenderWallet,omitempty"` ReciverWallet []byte `protobuf:"bytes,3,opt,name=ReciverWallet,proto3" json:"ReciverWallet,omitempty"` TxHash []byte `protobuf:"bytes,4,opt,name=TxHash,proto3" json:"TxHash,omitempty"` Status string `protobuf:"bytes,5,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*SubmitSignedTXResponseMessage) Descriptor
deprecated
func (*SubmitSignedTXResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use SubmitSignedTXResponseMessage.ProtoReflect.Descriptor instead.
func (*SubmitSignedTXResponseMessage) GetReciverWallet ¶
func (x *SubmitSignedTXResponseMessage) GetReciverWallet() []byte
func (*SubmitSignedTXResponseMessage) GetSenderWallet ¶
func (x *SubmitSignedTXResponseMessage) GetSenderWallet() []byte
func (*SubmitSignedTXResponseMessage) GetStatus ¶
func (x *SubmitSignedTXResponseMessage) GetStatus() string
func (*SubmitSignedTXResponseMessage) GetTxHash ¶
func (x *SubmitSignedTXResponseMessage) GetTxHash() []byte
func (*SubmitSignedTXResponseMessage) GetWalletSeed ¶
func (x *SubmitSignedTXResponseMessage) GetWalletSeed() []byte
func (*SubmitSignedTXResponseMessage) ProtoMessage ¶
func (*SubmitSignedTXResponseMessage) ProtoMessage()
func (*SubmitSignedTXResponseMessage) ProtoReflect ¶
func (x *SubmitSignedTXResponseMessage) ProtoReflect() protoreflect.Message
func (*SubmitSignedTXResponseMessage) Reset ¶
func (x *SubmitSignedTXResponseMessage) Reset()
func (*SubmitSignedTXResponseMessage) String ¶
func (x *SubmitSignedTXResponseMessage) String() string
type UTXOAddressRequest ¶
type UTXOAddressRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` // contains filtered or unexported fields }
func (*UTXOAddressRequest) Descriptor
deprecated
func (*UTXOAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use UTXOAddressRequest.ProtoReflect.Descriptor instead.
func (*UTXOAddressRequest) GetWalletAddress ¶
func (x *UTXOAddressRequest) GetWalletAddress() string
func (*UTXOAddressRequest) ProtoMessage ¶
func (*UTXOAddressRequest) ProtoMessage()
func (*UTXOAddressRequest) ProtoReflect ¶
func (x *UTXOAddressRequest) ProtoReflect() protoreflect.Message
func (*UTXOAddressRequest) Reset ¶
func (x *UTXOAddressRequest) Reset()
func (*UTXOAddressRequest) String ¶
func (x *UTXOAddressRequest) String() string
type UTXOAddressResponse ¶
type UTXOAddressResponse struct { Wallettxs []*Wallettx `protobuf:"bytes,1,rep,name=Wallettxs,proto3" json:"Wallettxs,omitempty"` Txhash []string `protobuf:"bytes,2,rep,name=txhash,proto3" json:"txhash,omitempty"` // contains filtered or unexported fields }
func (*UTXOAddressResponse) Descriptor
deprecated
func (*UTXOAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use UTXOAddressResponse.ProtoReflect.Descriptor instead.
func (*UTXOAddressResponse) GetTxhash ¶
func (x *UTXOAddressResponse) GetTxhash() []string
func (*UTXOAddressResponse) GetWallettxs ¶
func (x *UTXOAddressResponse) GetWallettxs() []*Wallettx
func (*UTXOAddressResponse) ProtoMessage ¶
func (*UTXOAddressResponse) ProtoMessage()
func (*UTXOAddressResponse) ProtoReflect ¶
func (x *UTXOAddressResponse) ProtoReflect() protoreflect.Message
func (*UTXOAddressResponse) Reset ¶
func (x *UTXOAddressResponse) Reset()
func (*UTXOAddressResponse) String ¶
func (x *UTXOAddressResponse) String() string
type UTXORequest ¶
type UTXORequest struct { Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"` // contains filtered or unexported fields }
func (*UTXORequest) Descriptor
deprecated
func (*UTXORequest) Descriptor() ([]byte, []int)
Deprecated: Use UTXORequest.ProtoReflect.Descriptor instead.
func (*UTXORequest) GetTxhash ¶
func (x *UTXORequest) GetTxhash() string
func (*UTXORequest) ProtoMessage ¶
func (*UTXORequest) ProtoMessage()
func (*UTXORequest) ProtoReflect ¶
func (x *UTXORequest) ProtoReflect() protoreflect.Message
func (*UTXORequest) Reset ¶
func (x *UTXORequest) Reset()
func (*UTXORequest) String ¶
func (x *UTXORequest) String() string
type UTXOResponse ¶
type UTXOResponse struct { Txhash string `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"` Blockhash string `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` Fromwallet string `protobuf:"bytes,3,opt,name=fromwallet,proto3" json:"fromwallet,omitempty"` Towallet string `protobuf:"bytes,4,opt,name=towallet,proto3" json:"towallet,omitempty"` Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` Txtype string `protobuf:"bytes,6,opt,name=txtype,proto3" json:"txtype,omitempty"` Timestamp string `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"` Blockid string `protobuf:"bytes,9,opt,name=blockid,proto3" json:"blockid,omitempty"` // contains filtered or unexported fields }
func (*UTXOResponse) Descriptor
deprecated
func (*UTXOResponse) Descriptor() ([]byte, []int)
Deprecated: Use UTXOResponse.ProtoReflect.Descriptor instead.
func (*UTXOResponse) GetAmount ¶
func (x *UTXOResponse) GetAmount() string
func (*UTXOResponse) GetBlockhash ¶
func (x *UTXOResponse) GetBlockhash() string
func (*UTXOResponse) GetBlockid ¶
func (x *UTXOResponse) GetBlockid() string
func (*UTXOResponse) GetError ¶
func (x *UTXOResponse) GetError() string
func (*UTXOResponse) GetFromwallet ¶
func (x *UTXOResponse) GetFromwallet() string
func (*UTXOResponse) GetTimestamp ¶
func (x *UTXOResponse) GetTimestamp() string
func (*UTXOResponse) GetTowallet ¶
func (x *UTXOResponse) GetTowallet() string
func (*UTXOResponse) GetTxhash ¶
func (x *UTXOResponse) GetTxhash() string
func (*UTXOResponse) GetTxtype ¶
func (x *UTXOResponse) GetTxtype() string
func (*UTXOResponse) ProtoMessage ¶
func (*UTXOResponse) ProtoMessage()
func (*UTXOResponse) ProtoReflect ¶
func (x *UTXOResponse) ProtoReflect() protoreflect.Message
func (*UTXOResponse) Reset ¶
func (x *UTXOResponse) Reset()
func (*UTXOResponse) String ¶
func (x *UTXOResponse) String() string
type UTXOWalletBalanceRespose ¶
type UTXOWalletBalanceRespose struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` Wallettx []*Wallettx `protobuf:"bytes,4,rep,name=wallettx,proto3" json:"wallettx,omitempty"` NFT []int64 `protobuf:"varint,5,rep,packed,name=NFT,proto3" json:"NFT,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UTXOWalletBalanceRespose) Descriptor
deprecated
func (*UTXOWalletBalanceRespose) Descriptor() ([]byte, []int)
Deprecated: Use UTXOWalletBalanceRespose.ProtoReflect.Descriptor instead.
func (*UTXOWalletBalanceRespose) GetAmount ¶
func (x *UTXOWalletBalanceRespose) GetAmount() string
func (*UTXOWalletBalanceRespose) GetError ¶
func (x *UTXOWalletBalanceRespose) GetError() string
func (*UTXOWalletBalanceRespose) GetNFT ¶
func (x *UTXOWalletBalanceRespose) GetNFT() []int64
func (*UTXOWalletBalanceRespose) GetWalletAddress ¶
func (x *UTXOWalletBalanceRespose) GetWalletAddress() string
func (*UTXOWalletBalanceRespose) GetWallettx ¶
func (x *UTXOWalletBalanceRespose) GetWallettx() []*Wallettx
func (*UTXOWalletBalanceRespose) ProtoMessage ¶
func (*UTXOWalletBalanceRespose) ProtoMessage()
func (*UTXOWalletBalanceRespose) ProtoReflect ¶
func (x *UTXOWalletBalanceRespose) ProtoReflect() protoreflect.Message
func (*UTXOWalletBalanceRespose) Reset ¶
func (x *UTXOWalletBalanceRespose) Reset()
func (*UTXOWalletBalanceRespose) String ¶
func (x *UTXOWalletBalanceRespose) String() string
type UTXOsClient ¶
type UTXOsClient interface { UTXOStream(ctx context.Context, opts ...grpc.CallOption) (UTXOs_UTXOStreamClient, error) NFTStream(ctx context.Context, opts ...grpc.CallOption) (UTXOs_NFTStreamClient, error) VWalletStream(ctx context.Context, opts ...grpc.CallOption) (UTXOs_VWalletStreamClient, error) WalletBalanceStream(ctx context.Context, opts ...grpc.CallOption) (UTXOs_WalletBalanceStreamClient, error) UTXOAddress(ctx context.Context, opts ...grpc.CallOption) (UTXOs_UTXOAddressClient, error) WalletBalancesStream(ctx context.Context, opts ...grpc.CallOption) (UTXOs_WalletBalancesStreamClient, error) }
UTXOsClient is the client API for UTXOs 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 NewUTXOsClient ¶
func NewUTXOsClient(cc grpc.ClientConnInterface) UTXOsClient
type UTXOsServer ¶
type UTXOsServer interface { UTXOStream(UTXOs_UTXOStreamServer) error NFTStream(UTXOs_NFTStreamServer) error VWalletStream(UTXOs_VWalletStreamServer) error WalletBalanceStream(UTXOs_WalletBalanceStreamServer) error UTXOAddress(UTXOs_UTXOAddressServer) error WalletBalancesStream(UTXOs_WalletBalancesStreamServer) error // contains filtered or unexported methods }
UTXOsServer is the server API for UTXOs service. All implementations must embed UnimplementedUTXOsServer for forward compatibility
type UTXOs_NFTStreamClient ¶
type UTXOs_NFTStreamClient interface { Send(*NFTRequest) error Recv() (*NFTResponse, error) grpc.ClientStream }
type UTXOs_NFTStreamServer ¶
type UTXOs_NFTStreamServer interface { Send(*NFTResponse) error Recv() (*NFTRequest, error) grpc.ServerStream }
type UTXOs_UTXOAddressClient ¶
type UTXOs_UTXOAddressClient interface { Send(*UTXOAddressRequest) error Recv() (*UTXOAddressResponse, error) grpc.ClientStream }
type UTXOs_UTXOAddressServer ¶
type UTXOs_UTXOAddressServer interface { Send(*UTXOAddressResponse) error Recv() (*UTXOAddressRequest, error) grpc.ServerStream }
type UTXOs_UTXOStreamClient ¶
type UTXOs_UTXOStreamClient interface { Send(*UTXOResponse) error Recv() (*UTXOResponse, error) grpc.ClientStream }
type UTXOs_UTXOStreamServer ¶
type UTXOs_UTXOStreamServer interface { Send(*UTXOResponse) error Recv() (*UTXOResponse, error) grpc.ServerStream }
type UTXOs_VWalletStreamClient ¶
type UTXOs_VWalletStreamClient interface { Send(*VWalletRequest) error Recv() (*VWalletResponse, error) grpc.ClientStream }
type UTXOs_VWalletStreamServer ¶
type UTXOs_VWalletStreamServer interface { Send(*VWalletResponse) error Recv() (*VWalletRequest, error) grpc.ServerStream }
type UTXOs_WalletBalanceStreamClient ¶
type UTXOs_WalletBalanceStreamClient interface { Send(*WalletBalanceRequest) error Recv() (*WalletBalanceRespose, error) grpc.ClientStream }
type UTXOs_WalletBalanceStreamServer ¶
type UTXOs_WalletBalanceStreamServer interface { Send(*WalletBalanceRespose) error Recv() (*WalletBalanceRequest, error) grpc.ServerStream }
type UTXOs_WalletBalancesStreamClient ¶
type UTXOs_WalletBalancesStreamClient interface { Send(*WalletBalancesRequest) error Recv() (*WalletBalancesRespose, error) grpc.ClientStream }
type UTXOs_WalletBalancesStreamServer ¶
type UTXOs_WalletBalancesStreamServer interface { Send(*WalletBalancesRespose) error Recv() (*WalletBalancesRequest, error) grpc.ServerStream }
type UnimplementedP2PServer ¶
type UnimplementedP2PServer struct { }
UnimplementedP2PServer must be embedded to have forward compatible implementations.
func (UnimplementedP2PServer) MessageStream ¶
func (UnimplementedP2PServer) MessageStream(P2P_MessageStreamServer) error
type UnimplementedRPCServer ¶
type UnimplementedRPCServer struct { }
UnimplementedRPCServer must be embedded to have forward compatible implementations.
func (UnimplementedRPCServer) MessageStream ¶
func (UnimplementedRPCServer) MessageStream(RPC_MessageStreamServer) error
type UnimplementedUTXOsServer ¶
type UnimplementedUTXOsServer struct { }
UnimplementedUTXOsServer must be embedded to have forward compatible implementations.
func (UnimplementedUTXOsServer) NFTStream ¶
func (UnimplementedUTXOsServer) NFTStream(UTXOs_NFTStreamServer) error
func (UnimplementedUTXOsServer) UTXOAddress ¶
func (UnimplementedUTXOsServer) UTXOAddress(UTXOs_UTXOAddressServer) error
func (UnimplementedUTXOsServer) UTXOStream ¶
func (UnimplementedUTXOsServer) UTXOStream(UTXOs_UTXOStreamServer) error
func (UnimplementedUTXOsServer) VWalletStream ¶
func (UnimplementedUTXOsServer) VWalletStream(UTXOs_VWalletStreamServer) error
func (UnimplementedUTXOsServer) WalletBalanceStream ¶
func (UnimplementedUTXOsServer) WalletBalanceStream(UTXOs_WalletBalanceStreamServer) error
func (UnimplementedUTXOsServer) WalletBalancesStream ¶
func (UnimplementedUTXOsServer) WalletBalancesStream(UTXOs_WalletBalancesStreamServer) error
type UnsafeP2PServer ¶
type UnsafeP2PServer interface {
// contains filtered or unexported methods
}
UnsafeP2PServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to P2PServer will result in compilation errors.
type UnsafeRPCServer ¶
type UnsafeRPCServer interface {
// contains filtered or unexported methods
}
UnsafeRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RPCServer will result in compilation errors.
type UnsafeUTXOsServer ¶
type UnsafeUTXOsServer interface {
// contains filtered or unexported methods
}
UnsafeUTXOsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UTXOsServer will result in compilation errors.
type VWalletRequest ¶
type VWalletRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` // contains filtered or unexported fields }
func (*VWalletRequest) Descriptor
deprecated
func (*VWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use VWalletRequest.ProtoReflect.Descriptor instead.
func (*VWalletRequest) GetWalletAddress ¶
func (x *VWalletRequest) GetWalletAddress() string
func (*VWalletRequest) ProtoMessage ¶
func (*VWalletRequest) ProtoMessage()
func (*VWalletRequest) ProtoReflect ¶
func (x *VWalletRequest) ProtoReflect() protoreflect.Message
func (*VWalletRequest) Reset ¶
func (x *VWalletRequest) Reset()
func (*VWalletRequest) String ¶
func (x *VWalletRequest) String() string
type VWalletResponse ¶
type VWalletResponse struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` Blockhash string `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` Lockhash string `protobuf:"bytes,3,opt,name=lockhash,proto3" json:"lockhash,omitempty"` Walletid uint64 `protobuf:"varint,4,opt,name=walletid,proto3" json:"walletid,omitempty"` // contains filtered or unexported fields }
func (*VWalletResponse) Descriptor
deprecated
func (*VWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use VWalletResponse.ProtoReflect.Descriptor instead.
func (*VWalletResponse) GetBlockhash ¶
func (x *VWalletResponse) GetBlockhash() string
func (*VWalletResponse) GetLockhash ¶
func (x *VWalletResponse) GetLockhash() string
func (*VWalletResponse) GetWalletAddress ¶
func (x *VWalletResponse) GetWalletAddress() string
func (*VWalletResponse) GetWalletid ¶
func (x *VWalletResponse) GetWalletid() uint64
func (*VWalletResponse) ProtoMessage ¶
func (*VWalletResponse) ProtoMessage()
func (*VWalletResponse) ProtoReflect ¶
func (x *VWalletResponse) ProtoReflect() protoreflect.Message
func (*VWalletResponse) Reset ¶
func (x *VWalletResponse) Reset()
func (*VWalletResponse) String ¶
func (x *VWalletResponse) String() string
type WalletBalanceRequest ¶
type WalletBalanceRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` // contains filtered or unexported fields }
func (*WalletBalanceRequest) Descriptor
deprecated
func (*WalletBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use WalletBalanceRequest.ProtoReflect.Descriptor instead.
func (*WalletBalanceRequest) GetWalletAddress ¶
func (x *WalletBalanceRequest) GetWalletAddress() string
func (*WalletBalanceRequest) ProtoMessage ¶
func (*WalletBalanceRequest) ProtoMessage()
func (*WalletBalanceRequest) ProtoReflect ¶
func (x *WalletBalanceRequest) ProtoReflect() protoreflect.Message
func (*WalletBalanceRequest) Reset ¶
func (x *WalletBalanceRequest) Reset()
func (*WalletBalanceRequest) String ¶
func (x *WalletBalanceRequest) String() string
type WalletBalanceRespose ¶
type WalletBalanceRespose struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` Txhash []string `protobuf:"bytes,4,rep,name=txhash,proto3" json:"txhash,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*WalletBalanceRespose) Descriptor
deprecated
func (*WalletBalanceRespose) Descriptor() ([]byte, []int)
Deprecated: Use WalletBalanceRespose.ProtoReflect.Descriptor instead.
func (*WalletBalanceRespose) GetAmount ¶
func (x *WalletBalanceRespose) GetAmount() string
func (*WalletBalanceRespose) GetError ¶
func (x *WalletBalanceRespose) GetError() string
func (*WalletBalanceRespose) GetTxhash ¶
func (x *WalletBalanceRespose) GetTxhash() []string
func (*WalletBalanceRespose) GetWalletAddress ¶
func (x *WalletBalanceRespose) GetWalletAddress() string
func (*WalletBalanceRespose) ProtoMessage ¶
func (*WalletBalanceRespose) ProtoMessage()
func (*WalletBalanceRespose) ProtoReflect ¶
func (x *WalletBalanceRespose) ProtoReflect() protoreflect.Message
func (*WalletBalanceRespose) Reset ¶
func (x *WalletBalanceRespose) Reset()
func (*WalletBalanceRespose) String ¶
func (x *WalletBalanceRespose) String() string
type WalletBalancesRequest ¶
type WalletBalancesRequest struct { WalletAddresses []string `protobuf:"bytes,1,rep,name=walletAddresses,proto3" json:"walletAddresses,omitempty"` // contains filtered or unexported fields }
func (*WalletBalancesRequest) Descriptor
deprecated
func (*WalletBalancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use WalletBalancesRequest.ProtoReflect.Descriptor instead.
func (*WalletBalancesRequest) GetWalletAddresses ¶
func (x *WalletBalancesRequest) GetWalletAddresses() []string
func (*WalletBalancesRequest) ProtoMessage ¶
func (*WalletBalancesRequest) ProtoMessage()
func (*WalletBalancesRequest) ProtoReflect ¶
func (x *WalletBalancesRequest) ProtoReflect() protoreflect.Message
func (*WalletBalancesRequest) Reset ¶
func (x *WalletBalancesRequest) Reset()
func (*WalletBalancesRequest) String ¶
func (x *WalletBalancesRequest) String() string
type WalletBalancesRespose ¶
type WalletBalancesRespose struct { WalletAddress []*WalletBalanceRespose `protobuf:"bytes,1,rep,name=walletAddress,proto3" json:"walletAddress,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*WalletBalancesRespose) Descriptor
deprecated
func (*WalletBalancesRespose) Descriptor() ([]byte, []int)
Deprecated: Use WalletBalancesRespose.ProtoReflect.Descriptor instead.
func (*WalletBalancesRespose) GetError ¶
func (x *WalletBalancesRespose) GetError() string
func (*WalletBalancesRespose) GetWalletAddress ¶
func (x *WalletBalancesRespose) GetWalletAddress() []*WalletBalanceRespose
func (*WalletBalancesRespose) ProtoMessage ¶
func (*WalletBalancesRespose) ProtoMessage()
func (*WalletBalancesRespose) ProtoReflect ¶
func (x *WalletBalancesRespose) ProtoReflect() protoreflect.Message
func (*WalletBalancesRespose) Reset ¶
func (x *WalletBalancesRespose) Reset()
func (*WalletBalancesRespose) String ¶
func (x *WalletBalancesRespose) String() string
type Wallettx ¶
type Wallettx struct { WalletAddress string `protobuf:"bytes,1,opt,name=walletAddress,proto3" json:"walletAddress,omitempty"` Fromwallet string `protobuf:"bytes,2,opt,name=fromwallet,proto3" json:"fromwallet,omitempty"` Towallet string `protobuf:"bytes,3,opt,name=towallet,proto3" json:"towallet,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Txtype string `protobuf:"bytes,5,opt,name=txtype,proto3" json:"txtype,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Blockhash string `protobuf:"bytes,7,opt,name=blockhash,proto3" json:"blockhash,omitempty"` Txstatus string `protobuf:"bytes,10,opt,name=txstatus,proto3" json:"txstatus,omitempty"` Txhash string `protobuf:"bytes,9,opt,name=txhash,proto3" json:"txhash,omitempty"` Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Wallettx) Descriptor
deprecated
func (*Wallettx) GetBlockhash ¶
func (*Wallettx) GetFromwallet ¶
func (*Wallettx) GetTimestamp ¶
func (*Wallettx) GetTowallet ¶
func (*Wallettx) GetTxstatus ¶
func (*Wallettx) GetWalletAddress ¶
func (*Wallettx) ProtoMessage ¶
func (*Wallettx) ProtoMessage()
func (*Wallettx) ProtoReflect ¶
func (x *Wallettx) ProtoReflect() protoreflect.Message