Documentation ¶
Index ¶
- Variables
- func ComputeSignatureHash(lastRelayHash []byte, sigChainLen int, height uint32, leftShiftBit int) []byte
- type AllowedBroadcastPullMessageType
- func (AllowedBroadcastPullMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedBroadcastPullMessageType) Enum() *AllowedBroadcastPullMessageType
- func (AllowedBroadcastPullMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedBroadcastPullMessageType) Number() protoreflect.EnumNumber
- func (x AllowedBroadcastPullMessageType) String() string
- func (AllowedBroadcastPullMessageType) Type() protoreflect.EnumType
- type AllowedBroadcastPushMessageType
- func (AllowedBroadcastPushMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedBroadcastPushMessageType) Enum() *AllowedBroadcastPushMessageType
- func (AllowedBroadcastPushMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedBroadcastPushMessageType) Number() protoreflect.EnumNumber
- func (x AllowedBroadcastPushMessageType) String() string
- func (AllowedBroadcastPushMessageType) Type() protoreflect.EnumType
- type AllowedBroadcastTreeMessageType
- func (AllowedBroadcastTreeMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedBroadcastTreeMessageType) Enum() *AllowedBroadcastTreeMessageType
- func (AllowedBroadcastTreeMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedBroadcastTreeMessageType) Number() protoreflect.EnumNumber
- func (x AllowedBroadcastTreeMessageType) String() string
- func (AllowedBroadcastTreeMessageType) Type() protoreflect.EnumType
- type AllowedDirectMessageType
- func (AllowedDirectMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedDirectMessageType) Enum() *AllowedDirectMessageType
- func (AllowedDirectMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedDirectMessageType) Number() protoreflect.EnumNumber
- func (x AllowedDirectMessageType) String() string
- func (AllowedDirectMessageType) Type() protoreflect.EnumType
- type AllowedRelayMessageType
- func (AllowedRelayMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedRelayMessageType) Enum() *AllowedRelayMessageType
- func (AllowedRelayMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedRelayMessageType) Number() protoreflect.EnumNumber
- func (x AllowedRelayMessageType) String() string
- func (AllowedRelayMessageType) Type() protoreflect.EnumType
- type AllowedSignedMessageType
- func (AllowedSignedMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedSignedMessageType) Enum() *AllowedSignedMessageType
- func (AllowedSignedMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedSignedMessageType) Number() protoreflect.EnumNumber
- func (x AllowedSignedMessageType) String() string
- func (AllowedSignedMessageType) Type() protoreflect.EnumType
- type AllowedUnsignedMessageType
- func (AllowedUnsignedMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x AllowedUnsignedMessageType) Enum() *AllowedUnsignedMessageType
- func (AllowedUnsignedMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowedUnsignedMessageType) Number() protoreflect.EnumNumber
- func (x AllowedUnsignedMessageType) String() string
- func (AllowedUnsignedMessageType) Type() protoreflect.EnumType
- type BacktrackSignatureChain
- func (*BacktrackSignatureChain) Descriptor() ([]byte, []int)deprecated
- func (x *BacktrackSignatureChain) GetHash() []byte
- func (x *BacktrackSignatureChain) GetSigChainElems() []*SigChainElem
- func (*BacktrackSignatureChain) ProtoMessage()
- func (x *BacktrackSignatureChain) ProtoReflect() protoreflect.Message
- func (x *BacktrackSignatureChain) Reset()
- func (x *BacktrackSignatureChain) String() string
- type Block
- type ClientMessage
- func (*ClientMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ClientMessage) GetCompressionType() CompressionType
- func (x *ClientMessage) GetMessage() []byte
- func (x *ClientMessage) GetMessageType() ClientMessageType
- func (*ClientMessage) ProtoMessage()
- func (x *ClientMessage) ProtoReflect() protoreflect.Message
- func (x *ClientMessage) Reset()
- func (x *ClientMessage) String() string
- type ClientMessageType
- func (ClientMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientMessageType) Enum() *ClientMessageType
- func (ClientMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientMessageType) Number() protoreflect.EnumNumber
- func (x ClientMessageType) String() string
- func (ClientMessageType) Type() protoreflect.EnumType
- type Coinbase
- func (*Coinbase) Descriptor() ([]byte, []int)deprecated
- func (x *Coinbase) GetAmount() int64
- func (x *Coinbase) GetAmount_PoN_Compute_Utilization() int64
- func (x *Coinbase) GetAmount_PoN_Connectivity_Utilization() int64
- func (x *Coinbase) GetAmount_PoN_Storage_Utilization() int64
- func (x *Coinbase) GetAmount_PoP_Challengers() int64
- func (x *Coinbase) GetAmount_PoP_Challengess() int64
- func (x *Coinbase) GetAmount_Revos_Token_Corporate_Treasury() int64
- func (x *Coinbase) GetAmount_Revos_Token_Sales() int64
- func (x *Coinbase) GetRecipient_PoN_Compute_Utilization() []byte
- func (x *Coinbase) GetRecipient_PoN_Connectivity_Utilization() []byte
- func (x *Coinbase) GetRecipient_PoN_Storage_Utilization() []byte
- func (x *Coinbase) GetRecipient_PoP_Challengers() []byte
- func (x *Coinbase) GetRecipient_PoP_Challengess() []byte
- func (x *Coinbase) GetRecipient_Revos_Token_Corporate_Treasury() []byte
- func (x *Coinbase) GetRecipient_Revos_Token_Sales() []byte
- func (x *Coinbase) GetSender() []byte
- func (*Coinbase) ProtoMessage()
- func (x *Coinbase) ProtoReflect() protoreflect.Message
- func (x *Coinbase) Reset()
- func (x *Coinbase) String() string
- func (m *Coinbase) ToMap() map[string]interface{}
- type CompressionType
- func (CompressionType) Descriptor() protoreflect.EnumDescriptor
- func (x CompressionType) Enum() *CompressionType
- func (CompressionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompressionType) Number() protoreflect.EnumNumber
- func (x CompressionType) String() string
- func (CompressionType) Type() protoreflect.EnumType
- type DeleteName
- type GenerateID
- func (*GenerateID) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateID) GetPublicKey() []byte
- func (x *GenerateID) GetRegistrationFee() int64
- func (x *GenerateID) GetSender() []byte
- func (x *GenerateID) GetVersion() int32
- func (*GenerateID) ProtoMessage()
- func (x *GenerateID) ProtoReflect() protoreflect.Message
- func (x *GenerateID) Reset()
- func (x *GenerateID) String() string
- func (m *GenerateID) ToMap() map[string]interface{}
- type GetBlockHeaders
- func (*GetBlockHeaders) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockHeaders) GetEndHeight() uint32
- func (x *GetBlockHeaders) GetStartHeight() uint32
- func (*GetBlockHeaders) ProtoMessage()
- func (x *GetBlockHeaders) ProtoReflect() protoreflect.Message
- func (x *GetBlockHeaders) Reset()
- func (x *GetBlockHeaders) String() string
- type GetBlockHeadersReply
- func (*GetBlockHeadersReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockHeadersReply) GetBlockHeaders() []*Header
- func (*GetBlockHeadersReply) ProtoMessage()
- func (x *GetBlockHeadersReply) ProtoReflect() protoreflect.Message
- func (x *GetBlockHeadersReply) Reset()
- func (x *GetBlockHeadersReply) String() string
- type GetBlocks
- type GetBlocksReply
- type GetConsensusState
- type GetConsensusStateReply
- func (*GetConsensusStateReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsensusStateReply) GetConsensusHeight() uint32
- func (x *GetConsensusStateReply) GetLedgerBlockHash() []byte
- func (x *GetConsensusStateReply) GetLedgerHeight() uint32
- func (x *GetConsensusStateReply) GetMinVerifiableHeight() uint32
- func (x *GetConsensusStateReply) GetSyncState() SyncState
- func (*GetConsensusStateReply) ProtoMessage()
- func (x *GetConsensusStateReply) ProtoReflect() protoreflect.Message
- func (x *GetConsensusStateReply) Reset()
- func (x *GetConsensusStateReply) String() string
- type GetStates
- type GetStatesReply
- type Header
- type IHaveBlockProposal
- func (*IHaveBlockProposal) Descriptor() ([]byte, []int)deprecated
- func (x *IHaveBlockProposal) GetBlockHash() []byte
- func (x *IHaveBlockProposal) GetHeight() uint32
- func (*IHaveBlockProposal) ProtoMessage()
- func (x *IHaveBlockProposal) ProtoReflect() protoreflect.Message
- func (x *IHaveBlockProposal) Reset()
- func (x *IHaveBlockProposal) String() string
- type IHaveSignatureChainTransaction
- func (*IHaveSignatureChainTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *IHaveSignatureChainTransaction) GetHeight() uint32
- func (x *IHaveSignatureChainTransaction) GetSignatureHash() []byte
- func (*IHaveSignatureChainTransaction) ProtoMessage()
- func (x *IHaveSignatureChainTransaction) ProtoReflect() protoreflect.Message
- func (x *IHaveSignatureChainTransaction) Reset()
- func (x *IHaveSignatureChainTransaction) String() string
- type InboundMessage
- func (*InboundMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InboundMessage) GetPayload() []byte
- func (x *InboundMessage) GetPrevHash() []byte
- func (x *InboundMessage) GetSrc() string
- func (*InboundMessage) ProtoMessage()
- func (x *InboundMessage) ProtoReflect() protoreflect.Message
- func (x *InboundMessage) Reset()
- func (x *InboundMessage) String() string
- type IssueAsset
- func (*IssueAsset) Descriptor() ([]byte, []int)deprecated
- func (x *IssueAsset) GetName() string
- func (x *IssueAsset) GetPrecision() uint32
- func (x *IssueAsset) GetSender() []byte
- func (x *IssueAsset) GetSymbol() string
- func (x *IssueAsset) GetTotalSupply() int64
- func (*IssueAsset) ProtoMessage()
- func (x *IssueAsset) ProtoReflect() protoreflect.Message
- func (x *IssueAsset) Reset()
- func (x *IssueAsset) String() string
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- type NanoPay
- func (*NanoPay) Descriptor() ([]byte, []int)deprecated
- func (x *NanoPay) GetAmount() int64
- func (x *NanoPay) GetId() uint64
- func (x *NanoPay) GetNanoPayExpiration() uint32
- func (x *NanoPay) GetRecipient() []byte
- func (x *NanoPay) GetSender() []byte
- func (x *NanoPay) GetTxnExpiration() uint32
- func (*NanoPay) ProtoMessage()
- func (x *NanoPay) ProtoReflect() protoreflect.Message
- func (x *NanoPay) Reset()
- func (x *NanoPay) String() string
- func (m *NanoPay) ToMap() map[string]interface{}
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)deprecated
- func (x *NodeData) GetJsonRpcPort() uint32
- func (x *NodeData) GetProtocolVersion() uint32
- func (x *NodeData) GetPublicKey() []byte
- func (x *NodeData) GetTlsJsonRpcDomain() string
- func (x *NodeData) GetTlsJsonRpcPort() uint32
- func (x *NodeData) GetTlsWebsocketDomain() string
- func (x *NodeData) GetTlsWebsocketPort() uint32
- func (x *NodeData) GetWebsocketPort() uint32
- func (*NodeData) ProtoMessage()
- func (x *NodeData) ProtoReflect() protoreflect.Message
- func (x *NodeData) Reset()
- func (x *NodeData) String() string
- type OutboundMessage
- func (*OutboundMessage) Descriptor() ([]byte, []int)deprecated
- func (x *OutboundMessage) GetBlockHash() []byte
- func (x *OutboundMessage) GetDest() string
- func (x *OutboundMessage) GetDests() []string
- func (x *OutboundMessage) GetMaxHoldingSeconds() uint32
- func (x *OutboundMessage) GetNonce() uint32
- func (x *OutboundMessage) GetPayload() []byte
- func (x *OutboundMessage) GetPayloads() [][]byte
- func (x *OutboundMessage) GetSignatures() [][]byte
- func (*OutboundMessage) ProtoMessage()
- func (x *OutboundMessage) ProtoReflect() protoreflect.Message
- func (x *OutboundMessage) Reset()
- func (x *OutboundMessage) String() string
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)deprecated
- func (p *Payload) Deserialize(r io.Reader) error
- func (x *Payload) GetData() []byte
- func (x *Payload) GetType() PayloadType
- func (*Payload) ProtoMessage()
- func (x *Payload) ProtoReflect() protoreflect.Message
- func (x *Payload) Reset()
- func (p *Payload) Serialize(w io.Writer) error
- func (x *Payload) String() string
- type PayloadType
- func (PayloadType) Descriptor() protoreflect.EnumDescriptor
- func (x PayloadType) Enum() *PayloadType
- func (PayloadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PayloadType) Number() protoreflect.EnumNumber
- func (x PayloadType) String() string
- func (PayloadType) Type() protoreflect.EnumType
- type PinSignatureChain
- type Program
- func (*Program) Descriptor() ([]byte, []int)deprecated
- func (p *Program) Deserialize(w io.Reader) error
- func (x *Program) GetCode() []byte
- func (x *Program) GetParameter() []byte
- func (p *Program) MarshalJson() ([]byte, error)
- func (*Program) ProtoMessage()
- func (x *Program) ProtoReflect() protoreflect.Message
- func (x *Program) Reset()
- func (p *Program) Serialize(w io.Writer) error
- func (x *Program) String() string
- func (p *Program) UnmarshalJson(data []byte) error
- type Receipt
- type RegisterName
- func (*RegisterName) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterName) GetName() string
- func (x *RegisterName) GetRegistrant() []byte
- func (x *RegisterName) GetRegistrationFee() int64
- func (*RegisterName) ProtoMessage()
- func (x *RegisterName) ProtoReflect() protoreflect.Message
- func (x *RegisterName) Reset()
- func (x *RegisterName) String() string
- func (m *RegisterName) ToMap() map[string]interface{}
- type Relay
- func (*Relay) Descriptor() ([]byte, []int)deprecated
- func (x *Relay) GetBlockHash() []byte
- func (x *Relay) GetDestId() []byte
- func (x *Relay) GetLastHash() []byte
- func (x *Relay) GetMaxHoldingSeconds() uint32
- func (x *Relay) GetPayload() []byte
- func (x *Relay) GetSigChainLen() uint32
- func (x *Relay) GetSrcIdentifier() string
- func (x *Relay) GetSrcPubkey() []byte
- func (*Relay) ProtoMessage()
- func (x *Relay) ProtoReflect() protoreflect.Message
- func (x *Relay) Reset()
- func (x *Relay) String() string
- type RequestBlockProposal
- func (*RequestBlockProposal) Descriptor() ([]byte, []int)deprecated
- func (x *RequestBlockProposal) GetBlockHash() []byte
- func (x *RequestBlockProposal) GetShortHashSalt() []byte
- func (x *RequestBlockProposal) GetShortHashSize() uint32
- func (x *RequestBlockProposal) GetType() RequestTransactionType
- func (*RequestBlockProposal) ProtoMessage()
- func (x *RequestBlockProposal) ProtoReflect() protoreflect.Message
- func (x *RequestBlockProposal) Reset()
- func (x *RequestBlockProposal) String() string
- type RequestBlockProposalReply
- func (*RequestBlockProposalReply) Descriptor() ([]byte, []int)deprecated
- func (x *RequestBlockProposalReply) GetBlock() *Block
- func (x *RequestBlockProposalReply) GetTransactionsHash() [][]byte
- func (*RequestBlockProposalReply) ProtoMessage()
- func (x *RequestBlockProposalReply) ProtoReflect() protoreflect.Message
- func (x *RequestBlockProposalReply) Reset()
- func (x *RequestBlockProposalReply) String() string
- type RequestProposalTransactions
- func (*RequestProposalTransactions) Descriptor() ([]byte, []int)deprecated
- func (x *RequestProposalTransactions) GetBlockHash() []byte
- func (x *RequestProposalTransactions) GetShortHashSalt() []byte
- func (x *RequestProposalTransactions) GetShortHashSize() uint32
- func (x *RequestProposalTransactions) GetTransactionsHash() [][]byte
- func (x *RequestProposalTransactions) GetType() RequestTransactionType
- func (*RequestProposalTransactions) ProtoMessage()
- func (x *RequestProposalTransactions) ProtoReflect() protoreflect.Message
- func (x *RequestProposalTransactions) Reset()
- func (x *RequestProposalTransactions) String() string
- type RequestProposalTransactionsReply
- func (*RequestProposalTransactionsReply) Descriptor() ([]byte, []int)deprecated
- func (x *RequestProposalTransactionsReply) GetTransactions() []*Transaction
- func (*RequestProposalTransactionsReply) ProtoMessage()
- func (x *RequestProposalTransactionsReply) ProtoReflect() protoreflect.Message
- func (x *RequestProposalTransactionsReply) Reset()
- func (x *RequestProposalTransactionsReply) String() string
- type RequestSignatureChainTransaction
- func (*RequestSignatureChainTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *RequestSignatureChainTransaction) GetSignatureHash() []byte
- func (*RequestSignatureChainTransaction) ProtoMessage()
- func (x *RequestSignatureChainTransaction) ProtoReflect() protoreflect.Message
- func (x *RequestSignatureChainTransaction) Reset()
- func (x *RequestSignatureChainTransaction) String() string
- type RequestSignatureChainTransactionReply
- func (*RequestSignatureChainTransactionReply) Descriptor() ([]byte, []int)deprecated
- func (x *RequestSignatureChainTransactionReply) GetTransaction() *Transaction
- func (*RequestSignatureChainTransactionReply) ProtoMessage()
- func (x *RequestSignatureChainTransactionReply) ProtoReflect() protoreflect.Message
- func (x *RequestSignatureChainTransactionReply) Reset()
- func (x *RequestSignatureChainTransactionReply) String() string
- type RequestTransactionType
- func (RequestTransactionType) Descriptor() protoreflect.EnumDescriptor
- func (x RequestTransactionType) Enum() *RequestTransactionType
- func (RequestTransactionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestTransactionType) Number() protoreflect.EnumNumber
- func (x RequestTransactionType) String() string
- func (RequestTransactionType) Type() protoreflect.EnumType
- type SigAlgo
- type SigChain
- func (*SigChain) Descriptor() ([]byte, []int)deprecated
- func (x *SigChain) GetBlockHash() []byte
- func (x *SigChain) GetDataSize() uint32
- func (x *SigChain) GetDestId() []byte
- func (x *SigChain) GetDestPubkey() []byte
- func (x *SigChain) GetElems() []*SigChainElem
- func (sc *SigChain) GetMiner(height uint32, randomBeacon []byte) ([]byte, []byte, error)
- func (x *SigChain) GetNonce() uint32
- func (sc *SigChain) GetSignerIndex(pubkey []byte) (int, error)
- func (x *SigChain) GetSrcId() []byte
- func (x *SigChain) GetSrcPubkey() []byte
- func (sc *SigChain) IsComplete() bool
- func (sc *SigChain) LastRelayHash() ([]byte, error)
- func (sc *SigChain) Length() int
- func (*SigChain) ProtoMessage()
- func (x *SigChain) ProtoReflect() protoreflect.Message
- func (x *SigChain) Reset()
- func (sc *SigChain) SerializationMetadata(w io.Writer) error
- func (sc *SigChain) SignatureHash(height uint32, leftShiftBit int) ([]byte, error)
- func (x *SigChain) String() string
- func (sc *SigChain) ToMap() map[string]interface{}
- type SigChainElem
- func (*SigChainElem) Descriptor() ([]byte, []int)deprecated
- func (x *SigChainElem) GetId() []byte
- func (x *SigChainElem) GetMining() bool
- func (x *SigChainElem) GetNextPubkey() []byte
- func (x *SigChainElem) GetProof() []byte
- func (x *SigChainElem) GetSigAlgo() SigAlgo
- func (x *SigChainElem) GetSignature() []byte
- func (x *SigChainElem) GetVrf() []byte
- func (sce *SigChainElem) Hash(prevHash []byte) ([]byte, error)
- func (*SigChainElem) ProtoMessage()
- func (x *SigChainElem) ProtoReflect() protoreflect.Message
- func (x *SigChainElem) Reset()
- func (sce *SigChainElem) SerializationUnsigned(w io.Writer) error
- func (x *SigChainElem) String() string
- func (sce *SigChainElem) ToMap() map[string]interface{}
- type SigChainTxn
- func (*SigChainTxn) Descriptor() ([]byte, []int)deprecated
- func (x *SigChainTxn) GetSigChain() []byte
- func (x *SigChainTxn) GetSubmitter() []byte
- func (*SigChainTxn) ProtoMessage()
- func (x *SigChainTxn) ProtoReflect() protoreflect.Message
- func (x *SigChainTxn) Reset()
- func (x *SigChainTxn) String() string
- func (m *SigChainTxn) ToMap() map[string]interface{}
- type SignatureChainObjectionSigned
- func (*SignatureChainObjectionSigned) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureChainObjectionSigned) GetMessage() []byte
- func (x *SignatureChainObjectionSigned) GetSignature() []byte
- func (*SignatureChainObjectionSigned) ProtoMessage()
- func (x *SignatureChainObjectionSigned) ProtoReflect() protoreflect.Message
- func (x *SignatureChainObjectionSigned) Reset()
- func (x *SignatureChainObjectionSigned) String() string
- type SignatureChainObjectionUnsigned
- func (*SignatureChainObjectionUnsigned) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureChainObjectionUnsigned) GetHeight() uint32
- func (x *SignatureChainObjectionUnsigned) GetReporterPubkey() []byte
- func (x *SignatureChainObjectionUnsigned) GetSignatureHash() []byte
- func (*SignatureChainObjectionUnsigned) ProtoMessage()
- func (x *SignatureChainObjectionUnsigned) ProtoReflect() protoreflect.Message
- func (x *SignatureChainObjectionUnsigned) Reset()
- func (x *SignatureChainObjectionUnsigned) String() string
- type SignedMessage
- func (*SignedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SignedMessage) GetMessage() []byte
- func (x *SignedMessage) GetSignature() []byte
- func (*SignedMessage) ProtoMessage()
- func (x *SignedMessage) ProtoReflect() protoreflect.Message
- func (x *SignedMessage) Reset()
- func (x *SignedMessage) String() string
- type StateNode
- type StateRequest
- type Subscribe
- func (*Subscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Subscribe) GetBucket() uint32deprecated
- func (x *Subscribe) GetDuration() uint32
- func (x *Subscribe) GetIdentifier() string
- func (x *Subscribe) GetMeta() []byte
- func (x *Subscribe) GetSubscriber() []byte
- func (x *Subscribe) GetTopic() string
- func (*Subscribe) ProtoMessage()
- func (x *Subscribe) ProtoReflect() protoreflect.Message
- func (x *Subscribe) Reset()
- func (x *Subscribe) String() string
- func (m *Subscribe) ToMap() map[string]interface{}
- type SwapAsset
- func (*SwapAsset) Descriptor() ([]byte, []int)deprecated
- func (x *SwapAsset) GetAmount() int64
- func (x *SwapAsset) GetRecipient() []byte
- func (x *SwapAsset) GetSender() []byte
- func (*SwapAsset) ProtoMessage()
- func (x *SwapAsset) ProtoReflect() protoreflect.Message
- func (x *SwapAsset) Reset()
- func (x *SwapAsset) String() string
- func (m *SwapAsset) ToMap() map[string]interface{}
- type SyncState
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetPrograms() []*Program
- func (x *Transaction) GetUnsignedTx() *UnsignedTx
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type Transactions
- type TransferAsset
- func (*TransferAsset) Descriptor() ([]byte, []int)deprecated
- func (x *TransferAsset) GetAmount() int64
- func (x *TransferAsset) GetRecipient() []byte
- func (x *TransferAsset) GetSender() []byte
- func (*TransferAsset) ProtoMessage()
- func (x *TransferAsset) ProtoReflect() protoreflect.Message
- func (x *TransferAsset) Reset()
- func (x *TransferAsset) String() string
- func (m *TransferAsset) ToMap() map[string]interface{}
- type TransferName
- func (*TransferName) Descriptor() ([]byte, []int)deprecated
- func (x *TransferName) GetName() string
- func (x *TransferName) GetRecipient() []byte
- func (x *TransferName) GetRegistrant() []byte
- func (*TransferName) ProtoMessage()
- func (x *TransferName) ProtoReflect() protoreflect.Message
- func (x *TransferName) Reset()
- func (x *TransferName) String() string
- type UnsignedHeader
- func (*UnsignedHeader) Descriptor() ([]byte, []int)deprecated
- func (x *UnsignedHeader) GetHeight() uint32
- func (x *UnsignedHeader) GetPrevBlockHash() []byte
- func (x *UnsignedHeader) GetRandomBeacon() []byte
- func (x *UnsignedHeader) GetSignerId() []byte
- func (x *UnsignedHeader) GetSignerPk() []byte
- func (x *UnsignedHeader) GetStateRoot() []byte
- func (x *UnsignedHeader) GetTimestamp() int64
- func (x *UnsignedHeader) GetTransactionsRoot() []byte
- func (x *UnsignedHeader) GetVersion() uint32
- func (x *UnsignedHeader) GetWinnerHash() []byte
- func (x *UnsignedHeader) GetWinnerType() WinnerType
- func (*UnsignedHeader) ProtoMessage()
- func (x *UnsignedHeader) ProtoReflect() protoreflect.Message
- func (x *UnsignedHeader) Reset()
- func (x *UnsignedHeader) String() string
- type UnsignedMessage
- func (*UnsignedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *UnsignedMessage) GetMessage() []byte
- func (x *UnsignedMessage) GetMessageType() MessageType
- func (*UnsignedMessage) ProtoMessage()
- func (x *UnsignedMessage) ProtoReflect() protoreflect.Message
- func (x *UnsignedMessage) Reset()
- func (x *UnsignedMessage) String() string
- type UnsignedTx
- func (*UnsignedTx) Descriptor() ([]byte, []int)deprecated
- func (x *UnsignedTx) GetAttributes() []byte
- func (x *UnsignedTx) GetFee() int64
- func (x *UnsignedTx) GetNonce() uint64
- func (x *UnsignedTx) GetPayload() *Payload
- func (*UnsignedTx) ProtoMessage()
- func (x *UnsignedTx) ProtoReflect() protoreflect.Message
- func (x *UnsignedTx) Reset()
- func (x *UnsignedTx) String() string
- type Unsubscribe
- func (*Unsubscribe) Descriptor() ([]byte, []int)deprecated
- func (x *Unsubscribe) GetIdentifier() string
- func (x *Unsubscribe) GetSubscriber() []byte
- func (x *Unsubscribe) GetTopic() string
- func (*Unsubscribe) ProtoMessage()
- func (x *Unsubscribe) ProtoReflect() protoreflect.Message
- func (x *Unsubscribe) Reset()
- func (x *Unsubscribe) String() string
- func (m *Unsubscribe) ToMap() map[string]interface{}
- type Vote
- type WinnerType
Constants ¶
This section is empty.
Variables ¶
var ( WinnerType_name = map[int32]string{ 0: "GENESIS_SIGNER", 1: "TXN_SIGNER", 2: "BLOCK_SIGNER", } WinnerType_value = map[string]int32{ "GENESIS_SIGNER": 0, "TXN_SIGNER": 1, "BLOCK_SIGNER": 2, } )
Enum value maps for WinnerType.
var ( ClientMessageType_name = map[int32]string{ 0: "OUTBOUND_MESSAGE", 1: "INBOUND_MESSAGE", 2: "RECEIPT", } ClientMessageType_value = map[string]int32{ "OUTBOUND_MESSAGE": 0, "INBOUND_MESSAGE": 1, "RECEIPT": 2, } )
Enum value maps for ClientMessageType.
var ( CompressionType_name = map[int32]string{ 0: "COMPRESSION_NONE", 1: "COMPRESSION_ZLIB", } CompressionType_value = map[string]int32{ "COMPRESSION_NONE": 0, "COMPRESSION_ZLIB": 1, } )
Enum value maps for CompressionType.
var ( SyncState_name = map[int32]string{ 0: "WAIT_FOR_SYNCING", 1: "SYNC_STARTED", 2: "SYNC_FINISHED", 3: "PERSIST_FINISHED", } SyncState_value = map[string]int32{ "WAIT_FOR_SYNCING": 0, "SYNC_STARTED": 1, "SYNC_FINISHED": 2, "PERSIST_FINISHED": 3, } )
Enum value maps for SyncState.
var ( MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE", 1: "VOTE", 2: "I_HAVE_BLOCK_PROPOSAL", 3: "REQUEST_BLOCK_PROPOSAL", 4: "REQUEST_BLOCK_PROPOSAL_REPLY", 5: "GET_CONSENSUS_STATE", 6: "GET_CONSENSUS_STATE_REPLY", 7: "GET_BLOCK_HEADERS", 8: "GET_BLOCK_HEADERS_REPLY", 9: "GET_BLOCKS", 10: "GET_BLOCKS_REPLY", 11: "RELAY", 12: "TRANSACTIONS", 13: "BACKTRACK_SIGNATURE_CHAIN", 14: "REQUEST_PROPOSAL_TRANSACTIONS", 15: "REQUEST_PROPOSAL_TRANSACTIONS_REPLY", 16: "I_HAVE_SIGNATURE_CHAIN_TRANSACTION", 17: "REQUEST_SIGNATURE_CHAIN_TRANSACTION", 18: "REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY", 19: "PIN_SIGNATURE_CHAIN", 20: "SIGNATURE_CHAIN_OBJECTION", 21: "GET_STATES", 22: "GET_STATES_REPLY", } MessageType_value = map[string]int32{ "MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE": 0, "VOTE": 1, "I_HAVE_BLOCK_PROPOSAL": 2, "REQUEST_BLOCK_PROPOSAL": 3, "REQUEST_BLOCK_PROPOSAL_REPLY": 4, "GET_CONSENSUS_STATE": 5, "GET_CONSENSUS_STATE_REPLY": 6, "GET_BLOCK_HEADERS": 7, "GET_BLOCK_HEADERS_REPLY": 8, "GET_BLOCKS": 9, "GET_BLOCKS_REPLY": 10, "RELAY": 11, "TRANSACTIONS": 12, "BACKTRACK_SIGNATURE_CHAIN": 13, "REQUEST_PROPOSAL_TRANSACTIONS": 14, "REQUEST_PROPOSAL_TRANSACTIONS_REPLY": 15, "I_HAVE_SIGNATURE_CHAIN_TRANSACTION": 16, "REQUEST_SIGNATURE_CHAIN_TRANSACTION": 17, "REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18, "PIN_SIGNATURE_CHAIN": 19, "SIGNATURE_CHAIN_OBJECTION": 20, "GET_STATES": 21, "GET_STATES_REPLY": 22, } )
Enum value maps for MessageType.
var ( AllowedSignedMessageType_name = map[int32]string{ 0: "ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE", } AllowedSignedMessageType_value = map[string]int32{ "ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE": 0, } )
Enum value maps for AllowedSignedMessageType.
var ( AllowedUnsignedMessageType_name = map[int32]string{ 0: "ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE", 1: "ALLOW_UNSIGNED_VOTE", 2: "ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL", 3: "ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL", 4: "ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY", 5: "ALLOW_UNSIGNED_GET_CONSENSUS_STATE", 6: "ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY", 7: "ALLOW_UNSIGNED_GET_BLOCK_HEADERS", 8: "ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY", 9: "ALLOW_UNSIGNED_GET_BLOCKS", 10: "ALLOW_UNSIGNED_GET_BLOCKS_REPLY", 11: "ALLOW_UNSIGNED_RELAY", 12: "ALLOW_UNSIGNED_TRANSACTIONS", 13: "ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN", 14: "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS", 15: "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY", 16: "ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION", 17: "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION", 18: "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY", 19: "ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN", 20: "ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION", 21: "ALLOW_UNSIGNED_GET_STATES", 22: "ALLOW_UNSIGNED_GET_STATES_REPLY", } AllowedUnsignedMessageType_value = map[string]int32{ "ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE": 0, "ALLOW_UNSIGNED_VOTE": 1, "ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL": 2, "ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL": 3, "ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY": 4, "ALLOW_UNSIGNED_GET_CONSENSUS_STATE": 5, "ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY": 6, "ALLOW_UNSIGNED_GET_BLOCK_HEADERS": 7, "ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY": 8, "ALLOW_UNSIGNED_GET_BLOCKS": 9, "ALLOW_UNSIGNED_GET_BLOCKS_REPLY": 10, "ALLOW_UNSIGNED_RELAY": 11, "ALLOW_UNSIGNED_TRANSACTIONS": 12, "ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN": 13, "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS": 14, "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY": 15, "ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION": 16, "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION": 17, "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18, "ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN": 19, "ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION": 20, "ALLOW_UNSIGNED_GET_STATES": 21, "ALLOW_UNSIGNED_GET_STATES_REPLY": 22, } )
Enum value maps for AllowedUnsignedMessageType.
var ( AllowedDirectMessageType_name = map[int32]string{ 0: "ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE", 1: "ALLOW_DIRECT_VOTE", 2: "ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL", 3: "ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL", 4: "ALLOW_DIRECT_REQUEST_BLOCK_REPLY", 5: "ALLOW_DIRECT_GET_CONSENSUS_STATE", 6: "ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY", 7: "ALLOW_DIRECT_GET_BLOCK_HEADERS", 8: "ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY", 9: "ALLOW_DIRECT_GET_BLOCKS", 10: "ALLOW_DIRECT_GET_BLOCKS_REPLY", 13: "ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN", 14: "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS", 15: "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY", 16: "ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION", 17: "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION", 18: "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY", 19: "ALLOW_DIRECT_PIN_SIGNATURE_CHAIN", 20: "ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION", 21: "ALLOW_DIRECT_GET_STATES", 22: "ALLOW_DIRECT_GET_STATES_REPLY", } AllowedDirectMessageType_value = map[string]int32{ "ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE": 0, "ALLOW_DIRECT_VOTE": 1, "ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL": 2, "ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL": 3, "ALLOW_DIRECT_REQUEST_BLOCK_REPLY": 4, "ALLOW_DIRECT_GET_CONSENSUS_STATE": 5, "ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY": 6, "ALLOW_DIRECT_GET_BLOCK_HEADERS": 7, "ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY": 8, "ALLOW_DIRECT_GET_BLOCKS": 9, "ALLOW_DIRECT_GET_BLOCKS_REPLY": 10, "ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN": 13, "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS": 14, "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY": 15, "ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION": 16, "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION": 17, "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18, "ALLOW_DIRECT_PIN_SIGNATURE_CHAIN": 19, "ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION": 20, "ALLOW_DIRECT_GET_STATES": 21, "ALLOW_DIRECT_GET_STATES_REPLY": 22, } )
Enum value maps for AllowedDirectMessageType.
var ( AllowedRelayMessageType_name = map[int32]string{ 0: "ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE", 11: "ALLOW_RELAY_RELAY", } AllowedRelayMessageType_value = map[string]int32{ "ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE": 0, "ALLOW_RELAY_RELAY": 11, } )
Enum value maps for AllowedRelayMessageType.
var ( AllowedBroadcastPushMessageType_name = map[int32]string{ 0: "ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE", 12: "ALLOW_BROADCAST_PUSH_TRANSACTIONS", } AllowedBroadcastPushMessageType_value = map[string]int32{ "ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE": 0, "ALLOW_BROADCAST_PUSH_TRANSACTIONS": 12, } )
Enum value maps for AllowedBroadcastPushMessageType.
var ( AllowedBroadcastPullMessageType_name = map[int32]string{ 0: "ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE", } AllowedBroadcastPullMessageType_value = map[string]int32{ "ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE": 0, } )
Enum value maps for AllowedBroadcastPullMessageType.
var ( AllowedBroadcastTreeMessageType_name = map[int32]string{ 0: "ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE", 12: "ALLOW_BROADCAST_TREE_TRANSACTIONS", } AllowedBroadcastTreeMessageType_value = map[string]int32{ "ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE": 0, "ALLOW_BROADCAST_TREE_TRANSACTIONS": 12, } )
Enum value maps for AllowedBroadcastTreeMessageType.
var ( RequestTransactionType_name = map[int32]string{ 0: "REQUEST_FULL_TRANSACTION", 1: "REQUEST_TRANSACTION_HASH", 2: "REQUEST_TRANSACTION_SHORT_HASH", } RequestTransactionType_value = map[string]int32{ "REQUEST_FULL_TRANSACTION": 0, "REQUEST_TRANSACTION_HASH": 1, "REQUEST_TRANSACTION_SHORT_HASH": 2, } )
Enum value maps for RequestTransactionType.
var ( SigAlgo_name = map[int32]string{ 0: "SIGNATURE", 1: "HASH", } SigAlgo_value = map[string]int32{ "SIGNATURE": 0, "HASH": 1, } )
Enum value maps for SigAlgo.
var ( PayloadType_name = map[int32]string{ 0: "COINBASE_TYPE", 1: "TRANSFER_ASSET_TYPE", 2: "SIG_CHAIN_TXN_TYPE", 3: "REGISTER_NAME_TYPE", 4: "TRANSFER_NAME_TYPE", 5: "DELETE_NAME_TYPE", 6: "SUBSCRIBE_TYPE", 7: "UNSUBSCRIBE_TYPE", 8: "GENERATE_ID_TYPE", 9: "NANO_PAY_TYPE", 10: "ISSUE_ASSET_TYPE", 11: "GENERATE_ID_2_TYPE", 12: "SWAP_ASSET_TYPE", 13: "SWAP_RDC_ASSET_TYPE", 14: "TRANSFER_RDC_ASSET_TYPE", } PayloadType_value = map[string]int32{ "COINBASE_TYPE": 0, "TRANSFER_ASSET_TYPE": 1, "SIG_CHAIN_TXN_TYPE": 2, "REGISTER_NAME_TYPE": 3, "TRANSFER_NAME_TYPE": 4, "DELETE_NAME_TYPE": 5, "SUBSCRIBE_TYPE": 6, "UNSUBSCRIBE_TYPE": 7, "GENERATE_ID_TYPE": 8, "NANO_PAY_TYPE": 9, "ISSUE_ASSET_TYPE": 10, "GENERATE_ID_2_TYPE": 11, "SWAP_ASSET_TYPE": 12, "SWAP_RDC_ASSET_TYPE": 13, "TRANSFER_RDC_ASSET_TYPE": 14, } )
Enum value maps for PayloadType.
var File_pb_block_proto protoreflect.FileDescriptor
var File_pb_clientmessage_proto protoreflect.FileDescriptor
var File_pb_node_proto protoreflect.FileDescriptor
var File_pb_nodemessage_proto protoreflect.FileDescriptor
var File_pb_sigchain_proto protoreflect.FileDescriptor
var File_pb_transaction_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type AllowedBroadcastPullMessageType ¶
type AllowedBroadcastPullMessageType int32
Message type that can be sent as broadcast_pull message Name doesn't matter, but value needs to match the value in MessageType
const (
AllowedBroadcastPullMessageType_ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE AllowedBroadcastPullMessageType = 0 // Placeholder, do not use or change
)
func (AllowedBroadcastPullMessageType) Descriptor ¶
func (AllowedBroadcastPullMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedBroadcastPullMessageType) Enum ¶
func (x AllowedBroadcastPullMessageType) Enum() *AllowedBroadcastPullMessageType
func (AllowedBroadcastPullMessageType) EnumDescriptor
deprecated
func (AllowedBroadcastPullMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedBroadcastPullMessageType.Descriptor instead.
func (AllowedBroadcastPullMessageType) Number ¶
func (x AllowedBroadcastPullMessageType) Number() protoreflect.EnumNumber
func (AllowedBroadcastPullMessageType) String ¶
func (x AllowedBroadcastPullMessageType) String() string
func (AllowedBroadcastPullMessageType) Type ¶
func (AllowedBroadcastPullMessageType) Type() protoreflect.EnumType
type AllowedBroadcastPushMessageType ¶
type AllowedBroadcastPushMessageType int32
Message type that can be sent as broadcast_push message Name doesn't matter, but value needs to match the value in MessageType
const ( AllowedBroadcastPushMessageType_ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE AllowedBroadcastPushMessageType = 0 // Placeholder, do not use or change AllowedBroadcastPushMessageType_ALLOW_BROADCAST_PUSH_TRANSACTIONS AllowedBroadcastPushMessageType = 12 )
func (AllowedBroadcastPushMessageType) Descriptor ¶
func (AllowedBroadcastPushMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedBroadcastPushMessageType) Enum ¶
func (x AllowedBroadcastPushMessageType) Enum() *AllowedBroadcastPushMessageType
func (AllowedBroadcastPushMessageType) EnumDescriptor
deprecated
func (AllowedBroadcastPushMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedBroadcastPushMessageType.Descriptor instead.
func (AllowedBroadcastPushMessageType) Number ¶
func (x AllowedBroadcastPushMessageType) Number() protoreflect.EnumNumber
func (AllowedBroadcastPushMessageType) String ¶
func (x AllowedBroadcastPushMessageType) String() string
func (AllowedBroadcastPushMessageType) Type ¶
func (AllowedBroadcastPushMessageType) Type() protoreflect.EnumType
type AllowedBroadcastTreeMessageType ¶
type AllowedBroadcastTreeMessageType int32
Message type that can be sent as broadcast_tree message Name doesn't matter, but value needs to match the value in MessageType
const ( AllowedBroadcastTreeMessageType_ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE AllowedBroadcastTreeMessageType = 0 // Placeholder, do not use or change AllowedBroadcastTreeMessageType_ALLOW_BROADCAST_TREE_TRANSACTIONS AllowedBroadcastTreeMessageType = 12 )
func (AllowedBroadcastTreeMessageType) Descriptor ¶
func (AllowedBroadcastTreeMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedBroadcastTreeMessageType) Enum ¶
func (x AllowedBroadcastTreeMessageType) Enum() *AllowedBroadcastTreeMessageType
func (AllowedBroadcastTreeMessageType) EnumDescriptor
deprecated
func (AllowedBroadcastTreeMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedBroadcastTreeMessageType.Descriptor instead.
func (AllowedBroadcastTreeMessageType) Number ¶
func (x AllowedBroadcastTreeMessageType) Number() protoreflect.EnumNumber
func (AllowedBroadcastTreeMessageType) String ¶
func (x AllowedBroadcastTreeMessageType) String() string
func (AllowedBroadcastTreeMessageType) Type ¶
func (AllowedBroadcastTreeMessageType) Type() protoreflect.EnumType
type AllowedDirectMessageType ¶
type AllowedDirectMessageType int32
Message type that can be sent as direct message Name doesn't matter, but value needs to match the value in MessageType
const ( AllowedDirectMessageType_ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE AllowedDirectMessageType = 0 // Placeholder, do not use or change AllowedDirectMessageType_ALLOW_DIRECT_VOTE AllowedDirectMessageType = 1 AllowedDirectMessageType_ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL AllowedDirectMessageType = 2 AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL AllowedDirectMessageType = 3 AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_BLOCK_REPLY AllowedDirectMessageType = 4 AllowedDirectMessageType_ALLOW_DIRECT_GET_CONSENSUS_STATE AllowedDirectMessageType = 5 AllowedDirectMessageType_ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY AllowedDirectMessageType = 6 AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCK_HEADERS AllowedDirectMessageType = 7 AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY AllowedDirectMessageType = 8 AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCKS AllowedDirectMessageType = 9 AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCKS_REPLY AllowedDirectMessageType = 10 AllowedDirectMessageType_ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN AllowedDirectMessageType = 13 AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS AllowedDirectMessageType = 14 AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY AllowedDirectMessageType = 15 AllowedDirectMessageType_ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION AllowedDirectMessageType = 16 AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION AllowedDirectMessageType = 17 AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY AllowedDirectMessageType = 18 AllowedDirectMessageType_ALLOW_DIRECT_PIN_SIGNATURE_CHAIN AllowedDirectMessageType = 19 AllowedDirectMessageType_ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION AllowedDirectMessageType = 20 AllowedDirectMessageType_ALLOW_DIRECT_GET_STATES AllowedDirectMessageType = 21 AllowedDirectMessageType_ALLOW_DIRECT_GET_STATES_REPLY AllowedDirectMessageType = 22 )
func (AllowedDirectMessageType) Descriptor ¶
func (AllowedDirectMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedDirectMessageType) Enum ¶
func (x AllowedDirectMessageType) Enum() *AllowedDirectMessageType
func (AllowedDirectMessageType) EnumDescriptor
deprecated
func (AllowedDirectMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedDirectMessageType.Descriptor instead.
func (AllowedDirectMessageType) Number ¶
func (x AllowedDirectMessageType) Number() protoreflect.EnumNumber
func (AllowedDirectMessageType) String ¶
func (x AllowedDirectMessageType) String() string
func (AllowedDirectMessageType) Type ¶
func (AllowedDirectMessageType) Type() protoreflect.EnumType
type AllowedRelayMessageType ¶
type AllowedRelayMessageType int32
Message type that can be sent as relay message Name doesn't matter, but value needs to match the value in MessageType
const ( AllowedRelayMessageType_ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE AllowedRelayMessageType = 0 // Placeholder, do not use or change AllowedRelayMessageType_ALLOW_RELAY_RELAY AllowedRelayMessageType = 11 )
func (AllowedRelayMessageType) Descriptor ¶
func (AllowedRelayMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedRelayMessageType) Enum ¶
func (x AllowedRelayMessageType) Enum() *AllowedRelayMessageType
func (AllowedRelayMessageType) EnumDescriptor
deprecated
func (AllowedRelayMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedRelayMessageType.Descriptor instead.
func (AllowedRelayMessageType) Number ¶
func (x AllowedRelayMessageType) Number() protoreflect.EnumNumber
func (AllowedRelayMessageType) String ¶
func (x AllowedRelayMessageType) String() string
func (AllowedRelayMessageType) Type ¶
func (AllowedRelayMessageType) Type() protoreflect.EnumType
type AllowedSignedMessageType ¶
type AllowedSignedMessageType int32
Message type that can be signed message Name doesn't matter, but value needs to match the value in MessageType
const (
AllowedSignedMessageType_ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE AllowedSignedMessageType = 0 // Placeholder, do not use or change
)
func (AllowedSignedMessageType) Descriptor ¶
func (AllowedSignedMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedSignedMessageType) Enum ¶
func (x AllowedSignedMessageType) Enum() *AllowedSignedMessageType
func (AllowedSignedMessageType) EnumDescriptor
deprecated
func (AllowedSignedMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedSignedMessageType.Descriptor instead.
func (AllowedSignedMessageType) Number ¶
func (x AllowedSignedMessageType) Number() protoreflect.EnumNumber
func (AllowedSignedMessageType) String ¶
func (x AllowedSignedMessageType) String() string
func (AllowedSignedMessageType) Type ¶
func (AllowedSignedMessageType) Type() protoreflect.EnumType
type AllowedUnsignedMessageType ¶
type AllowedUnsignedMessageType int32
Message type that can be unsigned message Name doesn't matter, but value needs to match the value in MessageType
const ( AllowedUnsignedMessageType_ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE AllowedUnsignedMessageType = 0 // Placeholder, do not use or change AllowedUnsignedMessageType_ALLOW_UNSIGNED_VOTE AllowedUnsignedMessageType = 1 AllowedUnsignedMessageType_ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL AllowedUnsignedMessageType = 2 AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL AllowedUnsignedMessageType = 3 AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY AllowedUnsignedMessageType = 4 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_CONSENSUS_STATE AllowedUnsignedMessageType = 5 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY AllowedUnsignedMessageType = 6 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCK_HEADERS AllowedUnsignedMessageType = 7 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY AllowedUnsignedMessageType = 8 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCKS AllowedUnsignedMessageType = 9 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCKS_REPLY AllowedUnsignedMessageType = 10 AllowedUnsignedMessageType_ALLOW_UNSIGNED_RELAY AllowedUnsignedMessageType = 11 AllowedUnsignedMessageType_ALLOW_UNSIGNED_TRANSACTIONS AllowedUnsignedMessageType = 12 AllowedUnsignedMessageType_ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN AllowedUnsignedMessageType = 13 AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS AllowedUnsignedMessageType = 14 AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY AllowedUnsignedMessageType = 15 AllowedUnsignedMessageType_ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION AllowedUnsignedMessageType = 16 AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION AllowedUnsignedMessageType = 17 AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY AllowedUnsignedMessageType = 18 AllowedUnsignedMessageType_ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN AllowedUnsignedMessageType = 19 AllowedUnsignedMessageType_ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION AllowedUnsignedMessageType = 20 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_STATES AllowedUnsignedMessageType = 21 AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_STATES_REPLY AllowedUnsignedMessageType = 22 )
func (AllowedUnsignedMessageType) Descriptor ¶
func (AllowedUnsignedMessageType) Descriptor() protoreflect.EnumDescriptor
func (AllowedUnsignedMessageType) Enum ¶
func (x AllowedUnsignedMessageType) Enum() *AllowedUnsignedMessageType
func (AllowedUnsignedMessageType) EnumDescriptor
deprecated
func (AllowedUnsignedMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowedUnsignedMessageType.Descriptor instead.
func (AllowedUnsignedMessageType) Number ¶
func (x AllowedUnsignedMessageType) Number() protoreflect.EnumNumber
func (AllowedUnsignedMessageType) String ¶
func (x AllowedUnsignedMessageType) String() string
func (AllowedUnsignedMessageType) Type ¶
func (AllowedUnsignedMessageType) Type() protoreflect.EnumType
type BacktrackSignatureChain ¶
type BacktrackSignatureChain struct { SigChainElems []*SigChainElem `protobuf:"bytes,1,rep,name=sig_chain_elems,json=sigChainElems,proto3" json:"sig_chain_elems,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*BacktrackSignatureChain) Descriptor
deprecated
func (*BacktrackSignatureChain) Descriptor() ([]byte, []int)
Deprecated: Use BacktrackSignatureChain.ProtoReflect.Descriptor instead.
func (*BacktrackSignatureChain) GetHash ¶
func (x *BacktrackSignatureChain) GetHash() []byte
func (*BacktrackSignatureChain) GetSigChainElems ¶
func (x *BacktrackSignatureChain) GetSigChainElems() []*SigChainElem
func (*BacktrackSignatureChain) ProtoMessage ¶
func (*BacktrackSignatureChain) ProtoMessage()
func (*BacktrackSignatureChain) ProtoReflect ¶
func (x *BacktrackSignatureChain) ProtoReflect() protoreflect.Message
func (*BacktrackSignatureChain) Reset ¶
func (x *BacktrackSignatureChain) Reset()
func (*BacktrackSignatureChain) String ¶
func (x *BacktrackSignatureChain) String() string
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Transactions []*Transaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetTransactions ¶
func (x *Block) GetTransactions() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type ClientMessage ¶
type ClientMessage struct { MessageType ClientMessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=pb.ClientMessageType" json:"message_type,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` CompressionType CompressionType `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClientMessage) Descriptor
deprecated
func (*ClientMessage) Descriptor() ([]byte, []int)
Deprecated: Use ClientMessage.ProtoReflect.Descriptor instead.
func (*ClientMessage) GetCompressionType ¶
func (x *ClientMessage) GetCompressionType() CompressionType
func (*ClientMessage) GetMessage ¶
func (x *ClientMessage) GetMessage() []byte
func (*ClientMessage) GetMessageType ¶
func (x *ClientMessage) GetMessageType() ClientMessageType
func (*ClientMessage) ProtoMessage ¶
func (*ClientMessage) ProtoMessage()
func (*ClientMessage) ProtoReflect ¶
func (x *ClientMessage) ProtoReflect() protoreflect.Message
func (*ClientMessage) Reset ¶
func (x *ClientMessage) Reset()
func (*ClientMessage) String ¶
func (x *ClientMessage) String() string
type ClientMessageType ¶
type ClientMessageType int32
const ( ClientMessageType_OUTBOUND_MESSAGE ClientMessageType = 0 ClientMessageType_INBOUND_MESSAGE ClientMessageType = 1 ClientMessageType_RECEIPT ClientMessageType = 2 )
func (ClientMessageType) Descriptor ¶
func (ClientMessageType) Descriptor() protoreflect.EnumDescriptor
func (ClientMessageType) Enum ¶
func (x ClientMessageType) Enum() *ClientMessageType
func (ClientMessageType) EnumDescriptor
deprecated
func (ClientMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientMessageType.Descriptor instead.
func (ClientMessageType) Number ¶
func (x ClientMessageType) Number() protoreflect.EnumNumber
func (ClientMessageType) String ¶
func (x ClientMessageType) String() string
func (ClientMessageType) Type ¶
func (ClientMessageType) Type() protoreflect.EnumType
type Coinbase ¶
type Coinbase struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient_PoP_Challengers []byte `` /* 132-byte string literal not displayed */ Recipient_PoP_Challengess []byte `` /* 132-byte string literal not displayed */ Recipient_Revos_Token_Corporate_Treasury []byte `` /* 175-byte string literal not displayed */ Recipient_Revos_Token_Sales []byte `` /* 137-byte string literal not displayed */ Recipient_PoN_Connectivity_Utilization []byte `` /* 170-byte string literal not displayed */ Recipient_PoN_Compute_Utilization []byte `` /* 155-byte string literal not displayed */ Recipient_PoN_Storage_Utilization []byte `` /* 155-byte string literal not displayed */ Amount int64 `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"` Amount_PoP_Challengers int64 `protobuf:"varint,10,opt,name=amount_PoP_Challengers,json=amountPoPChallengers,proto3" json:"amount_PoP_Challengers,omitempty"` Amount_PoP_Challengess int64 `protobuf:"varint,11,opt,name=amount_PoP_Challengess,json=amountPoPChallengess,proto3" json:"amount_PoP_Challengess,omitempty"` Amount_Revos_Token_Corporate_Treasury int64 `` /* 168-byte string literal not displayed */ Amount_Revos_Token_Sales int64 `` /* 130-byte string literal not displayed */ Amount_PoN_Connectivity_Utilization int64 `` /* 163-byte string literal not displayed */ Amount_PoN_Compute_Utilization int64 `` /* 148-byte string literal not displayed */ Amount_PoN_Storage_Utilization int64 `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Coinbase) Descriptor
deprecated
func (*Coinbase) GetAmount_PoN_Compute_Utilization ¶
func (*Coinbase) GetAmount_PoN_Connectivity_Utilization ¶
func (*Coinbase) GetAmount_PoN_Storage_Utilization ¶
func (*Coinbase) GetAmount_PoP_Challengers ¶
func (*Coinbase) GetAmount_PoP_Challengess ¶
func (*Coinbase) GetAmount_Revos_Token_Corporate_Treasury ¶
func (*Coinbase) GetAmount_Revos_Token_Sales ¶
func (*Coinbase) GetRecipient_PoN_Compute_Utilization ¶
func (*Coinbase) GetRecipient_PoN_Connectivity_Utilization ¶
func (*Coinbase) GetRecipient_PoN_Storage_Utilization ¶
func (*Coinbase) GetRecipient_PoP_Challengers ¶
func (*Coinbase) GetRecipient_PoP_Challengess ¶
func (*Coinbase) GetRecipient_Revos_Token_Corporate_Treasury ¶
func (*Coinbase) GetRecipient_Revos_Token_Sales ¶
func (*Coinbase) ProtoMessage ¶
func (*Coinbase) ProtoMessage()
func (*Coinbase) ProtoReflect ¶
func (x *Coinbase) ProtoReflect() protoreflect.Message
type CompressionType ¶
type CompressionType int32
const ( CompressionType_COMPRESSION_NONE CompressionType = 0 CompressionType_COMPRESSION_ZLIB CompressionType = 1 )
func (CompressionType) Descriptor ¶
func (CompressionType) Descriptor() protoreflect.EnumDescriptor
func (CompressionType) Enum ¶
func (x CompressionType) Enum() *CompressionType
func (CompressionType) EnumDescriptor
deprecated
func (CompressionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompressionType.Descriptor instead.
func (CompressionType) Number ¶
func (x CompressionType) Number() protoreflect.EnumNumber
func (CompressionType) String ¶
func (x CompressionType) String() string
func (CompressionType) Type ¶
func (CompressionType) Type() protoreflect.EnumType
type DeleteName ¶
type DeleteName struct { Registrant []byte `protobuf:"bytes,1,opt,name=registrant,proto3" json:"registrant,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteName) Descriptor
deprecated
func (*DeleteName) Descriptor() ([]byte, []int)
Deprecated: Use DeleteName.ProtoReflect.Descriptor instead.
func (*DeleteName) GetName ¶
func (x *DeleteName) GetName() string
func (*DeleteName) GetRegistrant ¶
func (x *DeleteName) GetRegistrant() []byte
func (*DeleteName) ProtoMessage ¶
func (*DeleteName) ProtoMessage()
func (*DeleteName) ProtoReflect ¶
func (x *DeleteName) ProtoReflect() protoreflect.Message
func (*DeleteName) Reset ¶
func (x *DeleteName) Reset()
func (*DeleteName) String ¶
func (x *DeleteName) String() string
type GenerateID ¶
type GenerateID struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` RegistrationFee int64 `protobuf:"varint,2,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"` Sender []byte `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GenerateID) Descriptor
deprecated
func (*GenerateID) Descriptor() ([]byte, []int)
Deprecated: Use GenerateID.ProtoReflect.Descriptor instead.
func (*GenerateID) GetPublicKey ¶
func (x *GenerateID) GetPublicKey() []byte
func (*GenerateID) GetRegistrationFee ¶
func (x *GenerateID) GetRegistrationFee() int64
func (*GenerateID) GetSender ¶
func (x *GenerateID) GetSender() []byte
func (*GenerateID) GetVersion ¶
func (x *GenerateID) GetVersion() int32
func (*GenerateID) ProtoMessage ¶
func (*GenerateID) ProtoMessage()
func (*GenerateID) ProtoReflect ¶
func (x *GenerateID) ProtoReflect() protoreflect.Message
func (*GenerateID) Reset ¶
func (x *GenerateID) Reset()
func (*GenerateID) String ¶
func (x *GenerateID) String() string
func (*GenerateID) ToMap ¶
func (m *GenerateID) ToMap() map[string]interface{}
type GetBlockHeaders ¶
type GetBlockHeaders struct { StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` // contains filtered or unexported fields }
func (*GetBlockHeaders) Descriptor
deprecated
func (*GetBlockHeaders) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockHeaders.ProtoReflect.Descriptor instead.
func (*GetBlockHeaders) GetEndHeight ¶
func (x *GetBlockHeaders) GetEndHeight() uint32
func (*GetBlockHeaders) GetStartHeight ¶
func (x *GetBlockHeaders) GetStartHeight() uint32
func (*GetBlockHeaders) ProtoMessage ¶
func (*GetBlockHeaders) ProtoMessage()
func (*GetBlockHeaders) ProtoReflect ¶
func (x *GetBlockHeaders) ProtoReflect() protoreflect.Message
func (*GetBlockHeaders) Reset ¶
func (x *GetBlockHeaders) Reset()
func (*GetBlockHeaders) String ¶
func (x *GetBlockHeaders) String() string
type GetBlockHeadersReply ¶
type GetBlockHeadersReply struct { BlockHeaders []*Header `protobuf:"bytes,1,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` // contains filtered or unexported fields }
func (*GetBlockHeadersReply) Descriptor
deprecated
func (*GetBlockHeadersReply) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockHeadersReply.ProtoReflect.Descriptor instead.
func (*GetBlockHeadersReply) GetBlockHeaders ¶
func (x *GetBlockHeadersReply) GetBlockHeaders() []*Header
func (*GetBlockHeadersReply) ProtoMessage ¶
func (*GetBlockHeadersReply) ProtoMessage()
func (*GetBlockHeadersReply) ProtoReflect ¶
func (x *GetBlockHeadersReply) ProtoReflect() protoreflect.Message
func (*GetBlockHeadersReply) Reset ¶
func (x *GetBlockHeadersReply) Reset()
func (*GetBlockHeadersReply) String ¶
func (x *GetBlockHeadersReply) String() string
type GetBlocks ¶
type GetBlocks struct { StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` // contains filtered or unexported fields }
func (*GetBlocks) Descriptor
deprecated
func (*GetBlocks) GetEndHeight ¶
func (*GetBlocks) GetStartHeight ¶
func (*GetBlocks) ProtoMessage ¶
func (*GetBlocks) ProtoMessage()
func (*GetBlocks) ProtoReflect ¶
func (x *GetBlocks) ProtoReflect() protoreflect.Message
type GetBlocksReply ¶
type GetBlocksReply struct { Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*GetBlocksReply) Descriptor
deprecated
func (*GetBlocksReply) Descriptor() ([]byte, []int)
Deprecated: Use GetBlocksReply.ProtoReflect.Descriptor instead.
func (*GetBlocksReply) GetBlocks ¶
func (x *GetBlocksReply) GetBlocks() []*Block
func (*GetBlocksReply) ProtoMessage ¶
func (*GetBlocksReply) ProtoMessage()
func (*GetBlocksReply) ProtoReflect ¶
func (x *GetBlocksReply) ProtoReflect() protoreflect.Message
func (*GetBlocksReply) Reset ¶
func (x *GetBlocksReply) Reset()
func (*GetBlocksReply) String ¶
func (x *GetBlocksReply) String() string
type GetConsensusState ¶
type GetConsensusState struct {
// contains filtered or unexported fields
}
func (*GetConsensusState) Descriptor
deprecated
func (*GetConsensusState) Descriptor() ([]byte, []int)
Deprecated: Use GetConsensusState.ProtoReflect.Descriptor instead.
func (*GetConsensusState) ProtoMessage ¶
func (*GetConsensusState) ProtoMessage()
func (*GetConsensusState) ProtoReflect ¶
func (x *GetConsensusState) ProtoReflect() protoreflect.Message
func (*GetConsensusState) Reset ¶
func (x *GetConsensusState) Reset()
func (*GetConsensusState) String ¶
func (x *GetConsensusState) String() string
type GetConsensusStateReply ¶
type GetConsensusStateReply struct { LedgerBlockHash []byte `protobuf:"bytes,2,opt,name=ledger_block_hash,json=ledgerBlockHash,proto3" json:"ledger_block_hash,omitempty"` LedgerHeight uint32 `protobuf:"varint,1,opt,name=ledger_height,json=ledgerHeight,proto3" json:"ledger_height,omitempty"` ConsensusHeight uint32 `protobuf:"varint,3,opt,name=consensus_height,json=consensusHeight,proto3" json:"consensus_height,omitempty"` MinVerifiableHeight uint32 `protobuf:"varint,5,opt,name=min_verifiable_height,json=minVerifiableHeight,proto3" json:"min_verifiable_height,omitempty"` SyncState SyncState `protobuf:"varint,4,opt,name=sync_state,json=syncState,proto3,enum=pb.SyncState" json:"sync_state,omitempty"` // contains filtered or unexported fields }
func (*GetConsensusStateReply) Descriptor
deprecated
func (*GetConsensusStateReply) Descriptor() ([]byte, []int)
Deprecated: Use GetConsensusStateReply.ProtoReflect.Descriptor instead.
func (*GetConsensusStateReply) GetConsensusHeight ¶
func (x *GetConsensusStateReply) GetConsensusHeight() uint32
func (*GetConsensusStateReply) GetLedgerBlockHash ¶
func (x *GetConsensusStateReply) GetLedgerBlockHash() []byte
func (*GetConsensusStateReply) GetLedgerHeight ¶
func (x *GetConsensusStateReply) GetLedgerHeight() uint32
func (*GetConsensusStateReply) GetMinVerifiableHeight ¶
func (x *GetConsensusStateReply) GetMinVerifiableHeight() uint32
func (*GetConsensusStateReply) GetSyncState ¶
func (x *GetConsensusStateReply) GetSyncState() SyncState
func (*GetConsensusStateReply) ProtoMessage ¶
func (*GetConsensusStateReply) ProtoMessage()
func (*GetConsensusStateReply) ProtoReflect ¶
func (x *GetConsensusStateReply) ProtoReflect() protoreflect.Message
func (*GetConsensusStateReply) Reset ¶
func (x *GetConsensusStateReply) Reset()
func (*GetConsensusStateReply) String ¶
func (x *GetConsensusStateReply) String() string
type GetStates ¶
type GetStates struct { Reqs []*StateRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"` // contains filtered or unexported fields }
func (*GetStates) Descriptor
deprecated
func (*GetStates) GetReqs ¶
func (x *GetStates) GetReqs() []*StateRequest
func (*GetStates) ProtoMessage ¶
func (*GetStates) ProtoMessage()
func (*GetStates) ProtoReflect ¶
func (x *GetStates) ProtoReflect() protoreflect.Message
type GetStatesReply ¶
type GetStatesReply struct { Nodes []*StateNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetStatesReply) Descriptor
deprecated
func (*GetStatesReply) Descriptor() ([]byte, []int)
Deprecated: Use GetStatesReply.ProtoReflect.Descriptor instead.
func (*GetStatesReply) GetNodes ¶
func (x *GetStatesReply) GetNodes() []*StateNode
func (*GetStatesReply) ProtoMessage ¶
func (*GetStatesReply) ProtoMessage()
func (*GetStatesReply) ProtoReflect ¶
func (x *GetStatesReply) ProtoReflect() protoreflect.Message
func (*GetStatesReply) Reset ¶
func (x *GetStatesReply) Reset()
func (*GetStatesReply) String ¶
func (x *GetStatesReply) String() string
type Header ¶
type Header struct { UnsignedHeader *UnsignedHeader `protobuf:"bytes,1,opt,name=unsigned_header,json=unsignedHeader,proto3" json:"unsigned_header,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetSignature ¶
func (*Header) GetUnsignedHeader ¶
func (x *Header) GetUnsignedHeader() *UnsignedHeader
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type IHaveBlockProposal ¶
type IHaveBlockProposal struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // contains filtered or unexported fields }
func (*IHaveBlockProposal) Descriptor
deprecated
func (*IHaveBlockProposal) Descriptor() ([]byte, []int)
Deprecated: Use IHaveBlockProposal.ProtoReflect.Descriptor instead.
func (*IHaveBlockProposal) GetBlockHash ¶
func (x *IHaveBlockProposal) GetBlockHash() []byte
func (*IHaveBlockProposal) GetHeight ¶
func (x *IHaveBlockProposal) GetHeight() uint32
func (*IHaveBlockProposal) ProtoMessage ¶
func (*IHaveBlockProposal) ProtoMessage()
func (*IHaveBlockProposal) ProtoReflect ¶
func (x *IHaveBlockProposal) ProtoReflect() protoreflect.Message
func (*IHaveBlockProposal) Reset ¶
func (x *IHaveBlockProposal) Reset()
func (*IHaveBlockProposal) String ¶
func (x *IHaveBlockProposal) String() string
type IHaveSignatureChainTransaction ¶
type IHaveSignatureChainTransaction struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` SignatureHash []byte `protobuf:"bytes,2,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"` // contains filtered or unexported fields }
func (*IHaveSignatureChainTransaction) Descriptor
deprecated
func (*IHaveSignatureChainTransaction) Descriptor() ([]byte, []int)
Deprecated: Use IHaveSignatureChainTransaction.ProtoReflect.Descriptor instead.
func (*IHaveSignatureChainTransaction) GetHeight ¶
func (x *IHaveSignatureChainTransaction) GetHeight() uint32
func (*IHaveSignatureChainTransaction) GetSignatureHash ¶
func (x *IHaveSignatureChainTransaction) GetSignatureHash() []byte
func (*IHaveSignatureChainTransaction) ProtoMessage ¶
func (*IHaveSignatureChainTransaction) ProtoMessage()
func (*IHaveSignatureChainTransaction) ProtoReflect ¶
func (x *IHaveSignatureChainTransaction) ProtoReflect() protoreflect.Message
func (*IHaveSignatureChainTransaction) Reset ¶
func (x *IHaveSignatureChainTransaction) Reset()
func (*IHaveSignatureChainTransaction) String ¶
func (x *IHaveSignatureChainTransaction) String() string
type InboundMessage ¶
type InboundMessage struct { Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` PrevHash []byte `protobuf:"bytes,3,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` // contains filtered or unexported fields }
func (*InboundMessage) Descriptor
deprecated
func (*InboundMessage) Descriptor() ([]byte, []int)
Deprecated: Use InboundMessage.ProtoReflect.Descriptor instead.
func (*InboundMessage) GetPayload ¶
func (x *InboundMessage) GetPayload() []byte
func (*InboundMessage) GetPrevHash ¶
func (x *InboundMessage) GetPrevHash() []byte
func (*InboundMessage) GetSrc ¶
func (x *InboundMessage) GetSrc() string
func (*InboundMessage) ProtoMessage ¶
func (*InboundMessage) ProtoMessage()
func (*InboundMessage) ProtoReflect ¶
func (x *InboundMessage) ProtoReflect() protoreflect.Message
func (*InboundMessage) Reset ¶
func (x *InboundMessage) Reset()
func (*InboundMessage) String ¶
func (x *InboundMessage) String() string
type IssueAsset ¶
type IssueAsset struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` TotalSupply int64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` Precision uint32 `protobuf:"varint,5,opt,name=precision,proto3" json:"precision,omitempty"` // contains filtered or unexported fields }
func (*IssueAsset) Descriptor
deprecated
func (*IssueAsset) Descriptor() ([]byte, []int)
Deprecated: Use IssueAsset.ProtoReflect.Descriptor instead.
func (*IssueAsset) GetName ¶
func (x *IssueAsset) GetName() string
func (*IssueAsset) GetPrecision ¶
func (x *IssueAsset) GetPrecision() uint32
func (*IssueAsset) GetSender ¶
func (x *IssueAsset) GetSender() []byte
func (*IssueAsset) GetSymbol ¶
func (x *IssueAsset) GetSymbol() string
func (*IssueAsset) GetTotalSupply ¶
func (x *IssueAsset) GetTotalSupply() int64
func (*IssueAsset) ProtoMessage ¶
func (*IssueAsset) ProtoMessage()
func (*IssueAsset) ProtoReflect ¶
func (x *IssueAsset) ProtoReflect() protoreflect.Message
func (*IssueAsset) Reset ¶
func (x *IssueAsset) Reset()
func (*IssueAsset) String ¶
func (x *IssueAsset) String() string
type MessageType ¶
type MessageType int32
const ( MessageType_MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE MessageType = 0 // Placeholder, do not use or change MessageType_VOTE MessageType = 1 MessageType_I_HAVE_BLOCK_PROPOSAL MessageType = 2 MessageType_REQUEST_BLOCK_PROPOSAL MessageType = 3 MessageType_REQUEST_BLOCK_PROPOSAL_REPLY MessageType = 4 MessageType_GET_CONSENSUS_STATE MessageType = 5 MessageType_GET_CONSENSUS_STATE_REPLY MessageType = 6 MessageType_GET_BLOCK_HEADERS MessageType = 7 MessageType_GET_BLOCK_HEADERS_REPLY MessageType = 8 MessageType_GET_BLOCKS MessageType = 9 MessageType_GET_BLOCKS_REPLY MessageType = 10 MessageType_RELAY MessageType = 11 MessageType_TRANSACTIONS MessageType = 12 MessageType_BACKTRACK_SIGNATURE_CHAIN MessageType = 13 MessageType_REQUEST_PROPOSAL_TRANSACTIONS MessageType = 14 MessageType_REQUEST_PROPOSAL_TRANSACTIONS_REPLY MessageType = 15 MessageType_I_HAVE_SIGNATURE_CHAIN_TRANSACTION MessageType = 16 MessageType_REQUEST_SIGNATURE_CHAIN_TRANSACTION MessageType = 17 MessageType_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY MessageType = 18 MessageType_PIN_SIGNATURE_CHAIN MessageType = 19 MessageType_SIGNATURE_CHAIN_OBJECTION MessageType = 20 MessageType_GET_STATES MessageType = 21 MessageType_GET_STATES_REPLY MessageType = 22 )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
type NanoPay ¶
type NanoPay struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` TxnExpiration uint32 `protobuf:"varint,5,opt,name=txn_expiration,json=txnExpiration,proto3" json:"txn_expiration,omitempty"` NanoPayExpiration uint32 `protobuf:"varint,6,opt,name=nano_pay_expiration,json=nanoPayExpiration,proto3" json:"nano_pay_expiration,omitempty"` // contains filtered or unexported fields }
func (*NanoPay) Descriptor
deprecated
func (*NanoPay) GetNanoPayExpiration ¶
func (*NanoPay) GetRecipient ¶
func (*NanoPay) GetTxnExpiration ¶
func (*NanoPay) ProtoMessage ¶
func (*NanoPay) ProtoMessage()
func (*NanoPay) ProtoReflect ¶
func (x *NanoPay) ProtoReflect() protoreflect.Message
type NodeData ¶
type NodeData struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` WebsocketPort uint32 `protobuf:"varint,2,opt,name=websocket_port,json=websocketPort,proto3" json:"websocket_port,omitempty"` JsonRpcPort uint32 `protobuf:"varint,3,opt,name=json_rpc_port,json=jsonRpcPort,proto3" json:"json_rpc_port,omitempty"` ProtocolVersion uint32 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` TlsWebsocketDomain string `protobuf:"bytes,5,opt,name=tls_websocket_domain,json=tlsWebsocketDomain,proto3" json:"tls_websocket_domain,omitempty"` TlsWebsocketPort uint32 `protobuf:"varint,6,opt,name=tls_websocket_port,json=tlsWebsocketPort,proto3" json:"tls_websocket_port,omitempty"` TlsJsonRpcDomain string `protobuf:"bytes,7,opt,name=tls_json_rpc_domain,json=tlsJsonRpcDomain,proto3" json:"tls_json_rpc_domain,omitempty"` TlsJsonRpcPort uint32 `protobuf:"varint,8,opt,name=tls_json_rpc_port,json=tlsJsonRpcPort,proto3" json:"tls_json_rpc_port,omitempty"` // contains filtered or unexported fields }
func (*NodeData) Descriptor
deprecated
func (*NodeData) GetJsonRpcPort ¶
func (*NodeData) GetProtocolVersion ¶
func (*NodeData) GetPublicKey ¶
func (*NodeData) GetTlsJsonRpcDomain ¶
func (*NodeData) GetTlsJsonRpcPort ¶
func (*NodeData) GetTlsWebsocketDomain ¶
func (*NodeData) GetTlsWebsocketPort ¶
func (*NodeData) GetWebsocketPort ¶
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
func (*NodeData) ProtoReflect ¶
func (x *NodeData) ProtoReflect() protoreflect.Message
type OutboundMessage ¶
type OutboundMessage struct { Dest string `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Dests []string `protobuf:"bytes,3,rep,name=dests,proto3" json:"dests,omitempty"` MaxHoldingSeconds uint32 `protobuf:"varint,4,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"` Nonce uint32 `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"` BlockHash []byte `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Signatures [][]byte `protobuf:"bytes,7,rep,name=signatures,proto3" json:"signatures,omitempty"` Payloads [][]byte `protobuf:"bytes,8,rep,name=payloads,proto3" json:"payloads,omitempty"` // contains filtered or unexported fields }
func (*OutboundMessage) Descriptor
deprecated
func (*OutboundMessage) Descriptor() ([]byte, []int)
Deprecated: Use OutboundMessage.ProtoReflect.Descriptor instead.
func (*OutboundMessage) GetBlockHash ¶
func (x *OutboundMessage) GetBlockHash() []byte
func (*OutboundMessage) GetDest ¶
func (x *OutboundMessage) GetDest() string
func (*OutboundMessage) GetDests ¶
func (x *OutboundMessage) GetDests() []string
func (*OutboundMessage) GetMaxHoldingSeconds ¶
func (x *OutboundMessage) GetMaxHoldingSeconds() uint32
func (*OutboundMessage) GetNonce ¶
func (x *OutboundMessage) GetNonce() uint32
func (*OutboundMessage) GetPayload ¶
func (x *OutboundMessage) GetPayload() []byte
func (*OutboundMessage) GetPayloads ¶
func (x *OutboundMessage) GetPayloads() [][]byte
func (*OutboundMessage) GetSignatures ¶
func (x *OutboundMessage) GetSignatures() [][]byte
func (*OutboundMessage) ProtoMessage ¶
func (*OutboundMessage) ProtoMessage()
func (*OutboundMessage) ProtoReflect ¶
func (x *OutboundMessage) ProtoReflect() protoreflect.Message
func (*OutboundMessage) Reset ¶
func (x *OutboundMessage) Reset()
func (*OutboundMessage) String ¶
func (x *OutboundMessage) String() string
type Payload ¶
type Payload struct { Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PayloadType" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Payload) Descriptor
deprecated
func (*Payload) GetType ¶
func (x *Payload) GetType() PayloadType
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
type PayloadType ¶
type PayloadType int32
const ( PayloadType_COINBASE_TYPE PayloadType = 0 PayloadType_TRANSFER_ASSET_TYPE PayloadType = 1 PayloadType_SIG_CHAIN_TXN_TYPE PayloadType = 2 PayloadType_REGISTER_NAME_TYPE PayloadType = 3 PayloadType_TRANSFER_NAME_TYPE PayloadType = 4 PayloadType_DELETE_NAME_TYPE PayloadType = 5 PayloadType_SUBSCRIBE_TYPE PayloadType = 6 PayloadType_UNSUBSCRIBE_TYPE PayloadType = 7 PayloadType_GENERATE_ID_TYPE PayloadType = 8 PayloadType_NANO_PAY_TYPE PayloadType = 9 PayloadType_ISSUE_ASSET_TYPE PayloadType = 10 PayloadType_GENERATE_ID_2_TYPE PayloadType = 11 PayloadType_SWAP_ASSET_TYPE PayloadType = 12 PayloadType_SWAP_RDC_ASSET_TYPE PayloadType = 13 PayloadType_TRANSFER_RDC_ASSET_TYPE PayloadType = 14 )
func (PayloadType) Descriptor ¶
func (PayloadType) Descriptor() protoreflect.EnumDescriptor
func (PayloadType) Enum ¶
func (x PayloadType) Enum() *PayloadType
func (PayloadType) EnumDescriptor
deprecated
func (PayloadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PayloadType.Descriptor instead.
func (PayloadType) Number ¶
func (x PayloadType) Number() protoreflect.EnumNumber
func (PayloadType) String ¶
func (x PayloadType) String() string
func (PayloadType) Type ¶
func (PayloadType) Type() protoreflect.EnumType
type PinSignatureChain ¶
type PinSignatureChain struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*PinSignatureChain) Descriptor
deprecated
func (*PinSignatureChain) Descriptor() ([]byte, []int)
Deprecated: Use PinSignatureChain.ProtoReflect.Descriptor instead.
func (*PinSignatureChain) GetHash ¶
func (x *PinSignatureChain) GetHash() []byte
func (*PinSignatureChain) ProtoMessage ¶
func (*PinSignatureChain) ProtoMessage()
func (*PinSignatureChain) ProtoReflect ¶
func (x *PinSignatureChain) ProtoReflect() protoreflect.Message
func (*PinSignatureChain) Reset ¶
func (x *PinSignatureChain) Reset()
func (*PinSignatureChain) String ¶
func (x *PinSignatureChain) String() string
type Program ¶
type Program struct { Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Parameter []byte `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` // contains filtered or unexported fields }
func (*Program) Descriptor
deprecated
func (*Program) Deserialize ¶
Deserialize the Program
func (*Program) GetParameter ¶
func (*Program) MarshalJson ¶
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) ProtoReflect ¶
func (x *Program) ProtoReflect() protoreflect.Message
func (*Program) UnmarshalJson ¶
type Receipt ¶
type Receipt struct { PrevHash []byte `protobuf:"bytes,1,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetPrevHash ¶
func (*Receipt) GetSignature ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶
func (x *Receipt) ProtoReflect() protoreflect.Message
type RegisterName ¶
type RegisterName struct { Registrant []byte `protobuf:"bytes,1,opt,name=registrant,proto3" json:"registrant,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RegistrationFee int64 `protobuf:"varint,3,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"` // contains filtered or unexported fields }
func (*RegisterName) Descriptor
deprecated
func (*RegisterName) Descriptor() ([]byte, []int)
Deprecated: Use RegisterName.ProtoReflect.Descriptor instead.
func (*RegisterName) GetName ¶
func (x *RegisterName) GetName() string
func (*RegisterName) GetRegistrant ¶
func (x *RegisterName) GetRegistrant() []byte
func (*RegisterName) GetRegistrationFee ¶
func (x *RegisterName) GetRegistrationFee() int64
func (*RegisterName) ProtoMessage ¶
func (*RegisterName) ProtoMessage()
func (*RegisterName) ProtoReflect ¶
func (x *RegisterName) ProtoReflect() protoreflect.Message
func (*RegisterName) Reset ¶
func (x *RegisterName) Reset()
func (*RegisterName) String ¶
func (x *RegisterName) String() string
func (*RegisterName) ToMap ¶
func (m *RegisterName) ToMap() map[string]interface{}
type Relay ¶
type Relay struct { SrcIdentifier string `protobuf:"bytes,1,opt,name=src_identifier,json=srcIdentifier,proto3" json:"src_identifier,omitempty"` SrcPubkey []byte `protobuf:"bytes,6,opt,name=src_pubkey,json=srcPubkey,proto3" json:"src_pubkey,omitempty"` DestId []byte `protobuf:"bytes,2,opt,name=dest_id,json=destId,proto3" json:"dest_id,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` MaxHoldingSeconds uint32 `protobuf:"varint,5,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"` // It is important to use block hash instead of block height here to allow // node in syncing state to be able to sign the sigchain elem. BlockHash []byte `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` LastHash []byte `protobuf:"bytes,8,opt,name=last_hash,json=lastHash,proto3" json:"last_hash,omitempty"` SigChainLen uint32 `protobuf:"varint,9,opt,name=sig_chain_len,json=sigChainLen,proto3" json:"sig_chain_len,omitempty"` // contains filtered or unexported fields }
func (*Relay) Descriptor
deprecated
func (*Relay) GetBlockHash ¶
func (*Relay) GetLastHash ¶
func (*Relay) GetMaxHoldingSeconds ¶
func (*Relay) GetPayload ¶
func (*Relay) GetSigChainLen ¶
func (*Relay) GetSrcIdentifier ¶
func (*Relay) GetSrcPubkey ¶
func (*Relay) ProtoMessage ¶
func (*Relay) ProtoMessage()
func (*Relay) ProtoReflect ¶
func (x *Relay) ProtoReflect() protoreflect.Message
type RequestBlockProposal ¶
type RequestBlockProposal struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Type RequestTransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.RequestTransactionType" json:"type,omitempty"` ShortHashSalt []byte `protobuf:"bytes,3,opt,name=short_hash_salt,json=shortHashSalt,proto3" json:"short_hash_salt,omitempty"` ShortHashSize uint32 `protobuf:"varint,4,opt,name=short_hash_size,json=shortHashSize,proto3" json:"short_hash_size,omitempty"` // contains filtered or unexported fields }
func (*RequestBlockProposal) Descriptor
deprecated
func (*RequestBlockProposal) Descriptor() ([]byte, []int)
Deprecated: Use RequestBlockProposal.ProtoReflect.Descriptor instead.
func (*RequestBlockProposal) GetBlockHash ¶
func (x *RequestBlockProposal) GetBlockHash() []byte
func (*RequestBlockProposal) GetShortHashSalt ¶
func (x *RequestBlockProposal) GetShortHashSalt() []byte
func (*RequestBlockProposal) GetShortHashSize ¶
func (x *RequestBlockProposal) GetShortHashSize() uint32
func (*RequestBlockProposal) GetType ¶
func (x *RequestBlockProposal) GetType() RequestTransactionType
func (*RequestBlockProposal) ProtoMessage ¶
func (*RequestBlockProposal) ProtoMessage()
func (*RequestBlockProposal) ProtoReflect ¶
func (x *RequestBlockProposal) ProtoReflect() protoreflect.Message
func (*RequestBlockProposal) Reset ¶
func (x *RequestBlockProposal) Reset()
func (*RequestBlockProposal) String ¶
func (x *RequestBlockProposal) String() string
type RequestBlockProposalReply ¶
type RequestBlockProposalReply struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` TransactionsHash [][]byte `protobuf:"bytes,2,rep,name=transactions_hash,json=transactionsHash,proto3" json:"transactions_hash,omitempty"` // contains filtered or unexported fields }
func (*RequestBlockProposalReply) Descriptor
deprecated
func (*RequestBlockProposalReply) Descriptor() ([]byte, []int)
Deprecated: Use RequestBlockProposalReply.ProtoReflect.Descriptor instead.
func (*RequestBlockProposalReply) GetBlock ¶
func (x *RequestBlockProposalReply) GetBlock() *Block
func (*RequestBlockProposalReply) GetTransactionsHash ¶
func (x *RequestBlockProposalReply) GetTransactionsHash() [][]byte
func (*RequestBlockProposalReply) ProtoMessage ¶
func (*RequestBlockProposalReply) ProtoMessage()
func (*RequestBlockProposalReply) ProtoReflect ¶
func (x *RequestBlockProposalReply) ProtoReflect() protoreflect.Message
func (*RequestBlockProposalReply) Reset ¶
func (x *RequestBlockProposalReply) Reset()
func (*RequestBlockProposalReply) String ¶
func (x *RequestBlockProposalReply) String() string
type RequestProposalTransactions ¶
type RequestProposalTransactions struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Type RequestTransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.RequestTransactionType" json:"type,omitempty"` ShortHashSalt []byte `protobuf:"bytes,3,opt,name=short_hash_salt,json=shortHashSalt,proto3" json:"short_hash_salt,omitempty"` ShortHashSize uint32 `protobuf:"varint,4,opt,name=short_hash_size,json=shortHashSize,proto3" json:"short_hash_size,omitempty"` TransactionsHash [][]byte `protobuf:"bytes,5,rep,name=transactions_hash,json=transactionsHash,proto3" json:"transactions_hash,omitempty"` // contains filtered or unexported fields }
func (*RequestProposalTransactions) Descriptor
deprecated
func (*RequestProposalTransactions) Descriptor() ([]byte, []int)
Deprecated: Use RequestProposalTransactions.ProtoReflect.Descriptor instead.
func (*RequestProposalTransactions) GetBlockHash ¶
func (x *RequestProposalTransactions) GetBlockHash() []byte
func (*RequestProposalTransactions) GetShortHashSalt ¶
func (x *RequestProposalTransactions) GetShortHashSalt() []byte
func (*RequestProposalTransactions) GetShortHashSize ¶
func (x *RequestProposalTransactions) GetShortHashSize() uint32
func (*RequestProposalTransactions) GetTransactionsHash ¶
func (x *RequestProposalTransactions) GetTransactionsHash() [][]byte
func (*RequestProposalTransactions) GetType ¶
func (x *RequestProposalTransactions) GetType() RequestTransactionType
func (*RequestProposalTransactions) ProtoMessage ¶
func (*RequestProposalTransactions) ProtoMessage()
func (*RequestProposalTransactions) ProtoReflect ¶
func (x *RequestProposalTransactions) ProtoReflect() protoreflect.Message
func (*RequestProposalTransactions) Reset ¶
func (x *RequestProposalTransactions) Reset()
func (*RequestProposalTransactions) String ¶
func (x *RequestProposalTransactions) String() string
type RequestProposalTransactionsReply ¶
type RequestProposalTransactionsReply struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*RequestProposalTransactionsReply) Descriptor
deprecated
func (*RequestProposalTransactionsReply) Descriptor() ([]byte, []int)
Deprecated: Use RequestProposalTransactionsReply.ProtoReflect.Descriptor instead.
func (*RequestProposalTransactionsReply) GetTransactions ¶
func (x *RequestProposalTransactionsReply) GetTransactions() []*Transaction
func (*RequestProposalTransactionsReply) ProtoMessage ¶
func (*RequestProposalTransactionsReply) ProtoMessage()
func (*RequestProposalTransactionsReply) ProtoReflect ¶
func (x *RequestProposalTransactionsReply) ProtoReflect() protoreflect.Message
func (*RequestProposalTransactionsReply) Reset ¶
func (x *RequestProposalTransactionsReply) Reset()
func (*RequestProposalTransactionsReply) String ¶
func (x *RequestProposalTransactionsReply) String() string
type RequestSignatureChainTransaction ¶
type RequestSignatureChainTransaction struct { SignatureHash []byte `protobuf:"bytes,1,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"` // contains filtered or unexported fields }
func (*RequestSignatureChainTransaction) Descriptor
deprecated
func (*RequestSignatureChainTransaction) Descriptor() ([]byte, []int)
Deprecated: Use RequestSignatureChainTransaction.ProtoReflect.Descriptor instead.
func (*RequestSignatureChainTransaction) GetSignatureHash ¶
func (x *RequestSignatureChainTransaction) GetSignatureHash() []byte
func (*RequestSignatureChainTransaction) ProtoMessage ¶
func (*RequestSignatureChainTransaction) ProtoMessage()
func (*RequestSignatureChainTransaction) ProtoReflect ¶
func (x *RequestSignatureChainTransaction) ProtoReflect() protoreflect.Message
func (*RequestSignatureChainTransaction) Reset ¶
func (x *RequestSignatureChainTransaction) Reset()
func (*RequestSignatureChainTransaction) String ¶
func (x *RequestSignatureChainTransaction) String() string
type RequestSignatureChainTransactionReply ¶
type RequestSignatureChainTransactionReply struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*RequestSignatureChainTransactionReply) Descriptor
deprecated
func (*RequestSignatureChainTransactionReply) Descriptor() ([]byte, []int)
Deprecated: Use RequestSignatureChainTransactionReply.ProtoReflect.Descriptor instead.
func (*RequestSignatureChainTransactionReply) GetTransaction ¶
func (x *RequestSignatureChainTransactionReply) GetTransaction() *Transaction
func (*RequestSignatureChainTransactionReply) ProtoMessage ¶
func (*RequestSignatureChainTransactionReply) ProtoMessage()
func (*RequestSignatureChainTransactionReply) ProtoReflect ¶
func (x *RequestSignatureChainTransactionReply) ProtoReflect() protoreflect.Message
func (*RequestSignatureChainTransactionReply) Reset ¶
func (x *RequestSignatureChainTransactionReply) Reset()
func (*RequestSignatureChainTransactionReply) String ¶
func (x *RequestSignatureChainTransactionReply) String() string
type RequestTransactionType ¶
type RequestTransactionType int32
const ( RequestTransactionType_REQUEST_FULL_TRANSACTION RequestTransactionType = 0 RequestTransactionType_REQUEST_TRANSACTION_HASH RequestTransactionType = 1 RequestTransactionType_REQUEST_TRANSACTION_SHORT_HASH RequestTransactionType = 2 )
func (RequestTransactionType) Descriptor ¶
func (RequestTransactionType) Descriptor() protoreflect.EnumDescriptor
func (RequestTransactionType) Enum ¶
func (x RequestTransactionType) Enum() *RequestTransactionType
func (RequestTransactionType) EnumDescriptor
deprecated
func (RequestTransactionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestTransactionType.Descriptor instead.
func (RequestTransactionType) Number ¶
func (x RequestTransactionType) Number() protoreflect.EnumNumber
func (RequestTransactionType) String ¶
func (x RequestTransactionType) String() string
func (RequestTransactionType) Type ¶
func (RequestTransactionType) Type() protoreflect.EnumType
type SigAlgo ¶
type SigAlgo int32
func (SigAlgo) Descriptor ¶
func (SigAlgo) Descriptor() protoreflect.EnumDescriptor
func (SigAlgo) EnumDescriptor
deprecated
func (SigAlgo) Number ¶
func (x SigAlgo) Number() protoreflect.EnumNumber
func (SigAlgo) Type ¶
func (SigAlgo) Type() protoreflect.EnumType
type SigChain ¶
type SigChain struct { Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` DataSize uint32 `protobuf:"varint,2,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` SrcId []byte `protobuf:"bytes,4,opt,name=src_id,json=srcId,proto3" json:"src_id,omitempty"` SrcPubkey []byte `protobuf:"bytes,5,opt,name=src_pubkey,json=srcPubkey,proto3" json:"src_pubkey,omitempty"` DestId []byte `protobuf:"bytes,6,opt,name=dest_id,json=destId,proto3" json:"dest_id,omitempty"` DestPubkey []byte `protobuf:"bytes,7,opt,name=dest_pubkey,json=destPubkey,proto3" json:"dest_pubkey,omitempty"` Elems []*SigChainElem `protobuf:"bytes,8,rep,name=elems,proto3" json:"elems,omitempty"` // contains filtered or unexported fields }
func NewSigChain ¶
func (*SigChain) Descriptor
deprecated
func (*SigChain) GetBlockHash ¶
func (*SigChain) GetDataSize ¶
func (*SigChain) GetDestPubkey ¶
func (*SigChain) GetElems ¶
func (x *SigChain) GetElems() []*SigChainElem
func (*SigChain) GetSrcPubkey ¶
func (*SigChain) IsComplete ¶
func (*SigChain) LastRelayHash ¶
func (*SigChain) ProtoMessage ¶
func (*SigChain) ProtoMessage()
func (*SigChain) ProtoReflect ¶
func (x *SigChain) ProtoReflect() protoreflect.Message
func (*SigChain) SerializationMetadata ¶
func (*SigChain) SignatureHash ¶
type SigChainElem ¶
type SigChainElem struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NextPubkey []byte `protobuf:"bytes,2,opt,name=next_pubkey,json=nextPubkey,proto3" json:"next_pubkey,omitempty"` Mining bool `protobuf:"varint,3,opt,name=mining,proto3" json:"mining,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` SigAlgo SigAlgo `protobuf:"varint,5,opt,name=sig_algo,json=sigAlgo,proto3,enum=pb.SigAlgo" json:"sig_algo,omitempty"` Vrf []byte `protobuf:"bytes,6,opt,name=vrf,proto3" json:"vrf,omitempty"` Proof []byte `protobuf:"bytes,7,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func NewSigChainElem ¶
func NewSigChainElem(id, nextPubkey, signature, vrf, proof []byte, mining bool, sigAlgo SigAlgo) *SigChainElem
func (*SigChainElem) Descriptor
deprecated
func (*SigChainElem) Descriptor() ([]byte, []int)
Deprecated: Use SigChainElem.ProtoReflect.Descriptor instead.
func (*SigChainElem) GetId ¶
func (x *SigChainElem) GetId() []byte
func (*SigChainElem) GetMining ¶
func (x *SigChainElem) GetMining() bool
func (*SigChainElem) GetNextPubkey ¶
func (x *SigChainElem) GetNextPubkey() []byte
func (*SigChainElem) GetProof ¶
func (x *SigChainElem) GetProof() []byte
func (*SigChainElem) GetSigAlgo ¶
func (x *SigChainElem) GetSigAlgo() SigAlgo
func (*SigChainElem) GetSignature ¶
func (x *SigChainElem) GetSignature() []byte
func (*SigChainElem) GetVrf ¶
func (x *SigChainElem) GetVrf() []byte
func (*SigChainElem) ProtoMessage ¶
func (*SigChainElem) ProtoMessage()
func (*SigChainElem) ProtoReflect ¶
func (x *SigChainElem) ProtoReflect() protoreflect.Message
func (*SigChainElem) Reset ¶
func (x *SigChainElem) Reset()
func (*SigChainElem) SerializationUnsigned ¶
func (sce *SigChainElem) SerializationUnsigned(w io.Writer) error
func (*SigChainElem) String ¶
func (x *SigChainElem) String() string
func (*SigChainElem) ToMap ¶
func (sce *SigChainElem) ToMap() map[string]interface{}
type SigChainTxn ¶
type SigChainTxn struct { SigChain []byte `protobuf:"bytes,1,opt,name=sig_chain,json=sigChain,proto3" json:"sig_chain,omitempty"` Submitter []byte `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"` // contains filtered or unexported fields }
func (*SigChainTxn) Descriptor
deprecated
func (*SigChainTxn) Descriptor() ([]byte, []int)
Deprecated: Use SigChainTxn.ProtoReflect.Descriptor instead.
func (*SigChainTxn) GetSigChain ¶
func (x *SigChainTxn) GetSigChain() []byte
func (*SigChainTxn) GetSubmitter ¶
func (x *SigChainTxn) GetSubmitter() []byte
func (*SigChainTxn) ProtoMessage ¶
func (*SigChainTxn) ProtoMessage()
func (*SigChainTxn) ProtoReflect ¶
func (x *SigChainTxn) ProtoReflect() protoreflect.Message
func (*SigChainTxn) Reset ¶
func (x *SigChainTxn) Reset()
func (*SigChainTxn) String ¶
func (x *SigChainTxn) String() string
func (*SigChainTxn) ToMap ¶
func (m *SigChainTxn) ToMap() map[string]interface{}
type SignatureChainObjectionSigned ¶
type SignatureChainObjectionSigned struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignatureChainObjectionSigned) Descriptor
deprecated
func (*SignatureChainObjectionSigned) Descriptor() ([]byte, []int)
Deprecated: Use SignatureChainObjectionSigned.ProtoReflect.Descriptor instead.
func (*SignatureChainObjectionSigned) GetMessage ¶
func (x *SignatureChainObjectionSigned) GetMessage() []byte
func (*SignatureChainObjectionSigned) GetSignature ¶
func (x *SignatureChainObjectionSigned) GetSignature() []byte
func (*SignatureChainObjectionSigned) ProtoMessage ¶
func (*SignatureChainObjectionSigned) ProtoMessage()
func (*SignatureChainObjectionSigned) ProtoReflect ¶
func (x *SignatureChainObjectionSigned) ProtoReflect() protoreflect.Message
func (*SignatureChainObjectionSigned) Reset ¶
func (x *SignatureChainObjectionSigned) Reset()
func (*SignatureChainObjectionSigned) String ¶
func (x *SignatureChainObjectionSigned) String() string
type SignatureChainObjectionUnsigned ¶
type SignatureChainObjectionUnsigned struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` SignatureHash []byte `protobuf:"bytes,2,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"` ReporterPubkey []byte `protobuf:"bytes,3,opt,name=reporter_pubkey,json=reporterPubkey,proto3" json:"reporter_pubkey,omitempty"` // contains filtered or unexported fields }
func (*SignatureChainObjectionUnsigned) Descriptor
deprecated
func (*SignatureChainObjectionUnsigned) Descriptor() ([]byte, []int)
Deprecated: Use SignatureChainObjectionUnsigned.ProtoReflect.Descriptor instead.
func (*SignatureChainObjectionUnsigned) GetHeight ¶
func (x *SignatureChainObjectionUnsigned) GetHeight() uint32
func (*SignatureChainObjectionUnsigned) GetReporterPubkey ¶
func (x *SignatureChainObjectionUnsigned) GetReporterPubkey() []byte
func (*SignatureChainObjectionUnsigned) GetSignatureHash ¶
func (x *SignatureChainObjectionUnsigned) GetSignatureHash() []byte
func (*SignatureChainObjectionUnsigned) ProtoMessage ¶
func (*SignatureChainObjectionUnsigned) ProtoMessage()
func (*SignatureChainObjectionUnsigned) ProtoReflect ¶
func (x *SignatureChainObjectionUnsigned) ProtoReflect() protoreflect.Message
func (*SignatureChainObjectionUnsigned) Reset ¶
func (x *SignatureChainObjectionUnsigned) Reset()
func (*SignatureChainObjectionUnsigned) String ¶
func (x *SignatureChainObjectionUnsigned) String() string
type SignedMessage ¶
type SignedMessage struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignedMessage) Descriptor
deprecated
func (*SignedMessage) Descriptor() ([]byte, []int)
Deprecated: Use SignedMessage.ProtoReflect.Descriptor instead.
func (*SignedMessage) GetMessage ¶
func (x *SignedMessage) GetMessage() []byte
func (*SignedMessage) GetSignature ¶
func (x *SignedMessage) GetSignature() []byte
func (*SignedMessage) ProtoMessage ¶
func (*SignedMessage) ProtoMessage()
func (*SignedMessage) ProtoReflect ¶
func (x *SignedMessage) ProtoReflect() protoreflect.Message
func (*SignedMessage) Reset ¶
func (x *SignedMessage) Reset()
func (*SignedMessage) String ¶
func (x *SignedMessage) String() string
type StateNode ¶
type StateNode struct { Node []byte `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*StateNode) Descriptor
deprecated
func (*StateNode) ProtoMessage ¶
func (*StateNode) ProtoMessage()
func (*StateNode) ProtoReflect ¶
func (x *StateNode) ProtoReflect() protoreflect.Message
type StateRequest ¶
type StateRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*StateRequest) Descriptor
deprecated
func (*StateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.
func (*StateRequest) GetHash ¶
func (x *StateRequest) GetHash() []byte
func (*StateRequest) ProtoMessage ¶
func (*StateRequest) ProtoMessage()
func (*StateRequest) ProtoReflect ¶
func (x *StateRequest) ProtoReflect() protoreflect.Message
func (*StateRequest) Reset ¶
func (x *StateRequest) Reset()
func (*StateRequest) String ¶
func (x *StateRequest) String() string
type Subscribe ¶
type Subscribe struct { Subscriber []byte `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` // Deprecated: Do not use. Bucket uint32 `protobuf:"varint,4,opt,name=bucket,proto3" json:"bucket,omitempty"` Duration uint32 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"` Meta []byte `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*Subscribe) Descriptor
deprecated
func (*Subscribe) GetDuration ¶
func (*Subscribe) GetIdentifier ¶
func (*Subscribe) GetSubscriber ¶
func (*Subscribe) ProtoMessage ¶
func (*Subscribe) ProtoMessage()
func (*Subscribe) ProtoReflect ¶
func (x *Subscribe) ProtoReflect() protoreflect.Message
type SwapAsset ¶
type SwapAsset struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*SwapAsset) Descriptor
deprecated
func (*SwapAsset) GetRecipient ¶
func (*SwapAsset) ProtoMessage ¶
func (*SwapAsset) ProtoMessage()
func (*SwapAsset) ProtoReflect ¶
func (x *SwapAsset) ProtoReflect() protoreflect.Message
type SyncState ¶
type SyncState int32
func (SyncState) Descriptor ¶
func (SyncState) Descriptor() protoreflect.EnumDescriptor
func (SyncState) EnumDescriptor
deprecated
func (SyncState) Number ¶
func (x SyncState) Number() protoreflect.EnumNumber
func (SyncState) Type ¶
func (SyncState) Type() protoreflect.EnumType
type Transaction ¶
type Transaction struct { UnsignedTx *UnsignedTx `protobuf:"bytes,1,opt,name=unsigned_tx,json=unsignedTx,proto3" json:"unsigned_tx,omitempty"` Programs []*Program `protobuf:"bytes,2,rep,name=programs,proto3" json:"programs,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetPrograms ¶
func (x *Transaction) GetPrograms() []*Program
func (*Transaction) GetUnsignedTx ¶
func (x *Transaction) GetUnsignedTx() *UnsignedTx
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type Transactions ¶
type Transactions struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*Transactions) Descriptor
deprecated
func (*Transactions) Descriptor() ([]byte, []int)
Deprecated: Use Transactions.ProtoReflect.Descriptor instead.
func (*Transactions) GetTransactions ¶
func (x *Transactions) GetTransactions() []*Transaction
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) ProtoReflect ¶
func (x *Transactions) ProtoReflect() protoreflect.Message
func (*Transactions) Reset ¶
func (x *Transactions) Reset()
func (*Transactions) String ¶
func (x *Transactions) String() string
type TransferAsset ¶
type TransferAsset struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*TransferAsset) Descriptor
deprecated
func (*TransferAsset) Descriptor() ([]byte, []int)
Deprecated: Use TransferAsset.ProtoReflect.Descriptor instead.
func (*TransferAsset) GetAmount ¶
func (x *TransferAsset) GetAmount() int64
func (*TransferAsset) GetRecipient ¶
func (x *TransferAsset) GetRecipient() []byte
func (*TransferAsset) GetSender ¶
func (x *TransferAsset) GetSender() []byte
func (*TransferAsset) ProtoMessage ¶
func (*TransferAsset) ProtoMessage()
func (*TransferAsset) ProtoReflect ¶
func (x *TransferAsset) ProtoReflect() protoreflect.Message
func (*TransferAsset) Reset ¶
func (x *TransferAsset) Reset()
func (*TransferAsset) String ¶
func (x *TransferAsset) String() string
func (*TransferAsset) ToMap ¶
func (m *TransferAsset) ToMap() map[string]interface{}
type TransferName ¶
type TransferName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Registrant []byte `protobuf:"bytes,2,opt,name=registrant,proto3" json:"registrant,omitempty"` Recipient []byte `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // contains filtered or unexported fields }
func (*TransferName) Descriptor
deprecated
func (*TransferName) Descriptor() ([]byte, []int)
Deprecated: Use TransferName.ProtoReflect.Descriptor instead.
func (*TransferName) GetName ¶
func (x *TransferName) GetName() string
func (*TransferName) GetRecipient ¶
func (x *TransferName) GetRecipient() []byte
func (*TransferName) GetRegistrant ¶
func (x *TransferName) GetRegistrant() []byte
func (*TransferName) ProtoMessage ¶
func (*TransferName) ProtoMessage()
func (*TransferName) ProtoReflect ¶
func (x *TransferName) ProtoReflect() protoreflect.Message
func (*TransferName) Reset ¶
func (x *TransferName) Reset()
func (*TransferName) String ¶
func (x *TransferName) String() string
type UnsignedHeader ¶
type UnsignedHeader struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` PrevBlockHash []byte `protobuf:"bytes,2,opt,name=prev_block_hash,json=prevBlockHash,proto3" json:"prev_block_hash,omitempty"` TransactionsRoot []byte `protobuf:"bytes,3,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` RandomBeacon []byte `protobuf:"bytes,7,opt,name=random_beacon,json=randomBeacon,proto3" json:"random_beacon,omitempty"` WinnerHash []byte `protobuf:"bytes,8,opt,name=winner_hash,json=winnerHash,proto3" json:"winner_hash,omitempty"` WinnerType WinnerType `protobuf:"varint,9,opt,name=winner_type,json=winnerType,proto3,enum=pb.WinnerType" json:"winner_type,omitempty"` SignerPk []byte `protobuf:"bytes,10,opt,name=signer_pk,json=signerPk,proto3" json:"signer_pk,omitempty"` SignerId []byte `protobuf:"bytes,11,opt,name=signer_id,json=signerId,proto3" json:"signer_id,omitempty"` // contains filtered or unexported fields }
func (*UnsignedHeader) Descriptor
deprecated
func (*UnsignedHeader) Descriptor() ([]byte, []int)
Deprecated: Use UnsignedHeader.ProtoReflect.Descriptor instead.
func (*UnsignedHeader) GetHeight ¶
func (x *UnsignedHeader) GetHeight() uint32
func (*UnsignedHeader) GetPrevBlockHash ¶
func (x *UnsignedHeader) GetPrevBlockHash() []byte
func (*UnsignedHeader) GetRandomBeacon ¶
func (x *UnsignedHeader) GetRandomBeacon() []byte
func (*UnsignedHeader) GetSignerId ¶
func (x *UnsignedHeader) GetSignerId() []byte
func (*UnsignedHeader) GetSignerPk ¶
func (x *UnsignedHeader) GetSignerPk() []byte
func (*UnsignedHeader) GetStateRoot ¶
func (x *UnsignedHeader) GetStateRoot() []byte
func (*UnsignedHeader) GetTimestamp ¶
func (x *UnsignedHeader) GetTimestamp() int64
func (*UnsignedHeader) GetTransactionsRoot ¶
func (x *UnsignedHeader) GetTransactionsRoot() []byte
func (*UnsignedHeader) GetVersion ¶
func (x *UnsignedHeader) GetVersion() uint32
func (*UnsignedHeader) GetWinnerHash ¶
func (x *UnsignedHeader) GetWinnerHash() []byte
func (*UnsignedHeader) GetWinnerType ¶
func (x *UnsignedHeader) GetWinnerType() WinnerType
func (*UnsignedHeader) ProtoMessage ¶
func (*UnsignedHeader) ProtoMessage()
func (*UnsignedHeader) ProtoReflect ¶
func (x *UnsignedHeader) ProtoReflect() protoreflect.Message
func (*UnsignedHeader) Reset ¶
func (x *UnsignedHeader) Reset()
func (*UnsignedHeader) String ¶
func (x *UnsignedHeader) String() string
type UnsignedMessage ¶
type UnsignedMessage struct { MessageType MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UnsignedMessage) Descriptor
deprecated
func (*UnsignedMessage) Descriptor() ([]byte, []int)
Deprecated: Use UnsignedMessage.ProtoReflect.Descriptor instead.
func (*UnsignedMessage) GetMessage ¶
func (x *UnsignedMessage) GetMessage() []byte
func (*UnsignedMessage) GetMessageType ¶
func (x *UnsignedMessage) GetMessageType() MessageType
func (*UnsignedMessage) ProtoMessage ¶
func (*UnsignedMessage) ProtoMessage()
func (*UnsignedMessage) ProtoReflect ¶
func (x *UnsignedMessage) ProtoReflect() protoreflect.Message
func (*UnsignedMessage) Reset ¶
func (x *UnsignedMessage) Reset()
func (*UnsignedMessage) String ¶
func (x *UnsignedMessage) String() string
type UnsignedTx ¶
type UnsignedTx struct { Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` Attributes []byte `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*UnsignedTx) Descriptor
deprecated
func (*UnsignedTx) Descriptor() ([]byte, []int)
Deprecated: Use UnsignedTx.ProtoReflect.Descriptor instead.
func (*UnsignedTx) GetAttributes ¶
func (x *UnsignedTx) GetAttributes() []byte
func (*UnsignedTx) GetFee ¶
func (x *UnsignedTx) GetFee() int64
func (*UnsignedTx) GetNonce ¶
func (x *UnsignedTx) GetNonce() uint64
func (*UnsignedTx) GetPayload ¶
func (x *UnsignedTx) GetPayload() *Payload
func (*UnsignedTx) ProtoMessage ¶
func (*UnsignedTx) ProtoMessage()
func (*UnsignedTx) ProtoReflect ¶
func (x *UnsignedTx) ProtoReflect() protoreflect.Message
func (*UnsignedTx) Reset ¶
func (x *UnsignedTx) Reset()
func (*UnsignedTx) String ¶
func (x *UnsignedTx) String() string
type Unsubscribe ¶
type Unsubscribe struct { Subscriber []byte `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` // contains filtered or unexported fields }
func (*Unsubscribe) Descriptor
deprecated
func (*Unsubscribe) Descriptor() ([]byte, []int)
Deprecated: Use Unsubscribe.ProtoReflect.Descriptor instead.
func (*Unsubscribe) GetIdentifier ¶
func (x *Unsubscribe) GetIdentifier() string
func (*Unsubscribe) GetSubscriber ¶
func (x *Unsubscribe) GetSubscriber() []byte
func (*Unsubscribe) GetTopic ¶
func (x *Unsubscribe) GetTopic() string
func (*Unsubscribe) ProtoMessage ¶
func (*Unsubscribe) ProtoMessage()
func (*Unsubscribe) ProtoReflect ¶
func (x *Unsubscribe) ProtoReflect() protoreflect.Message
func (*Unsubscribe) Reset ¶
func (x *Unsubscribe) Reset()
func (*Unsubscribe) String ¶
func (x *Unsubscribe) String() string
func (*Unsubscribe) ToMap ¶
func (m *Unsubscribe) ToMap() map[string]interface{}
type Vote ¶
type Vote struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // contains filtered or unexported fields }
func (*Vote) Descriptor
deprecated
func (*Vote) GetBlockHash ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message
type WinnerType ¶
type WinnerType int32
const ( WinnerType_GENESIS_SIGNER WinnerType = 0 WinnerType_TXN_SIGNER WinnerType = 1 WinnerType_BLOCK_SIGNER WinnerType = 2 )
func (WinnerType) Descriptor ¶
func (WinnerType) Descriptor() protoreflect.EnumDescriptor
func (WinnerType) Enum ¶
func (x WinnerType) Enum() *WinnerType
func (WinnerType) EnumDescriptor
deprecated
func (WinnerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WinnerType.Descriptor instead.
func (WinnerType) Number ¶
func (x WinnerType) Number() protoreflect.EnumNumber
func (WinnerType) String ¶
func (x WinnerType) String() string
func (WinnerType) Type ¶
func (WinnerType) Type() protoreflect.EnumType