Versions in this module Expand all Collapse all v1 v1.0.2 Aug 16, 2022 v1.0.1 Aug 8, 2022 Changes in this version + var AllowedBroadcastPullMessageType_name = map[int32]string + var AllowedBroadcastPullMessageType_value = map[string]int32 + var AllowedBroadcastPushMessageType_name = map[int32]string + var AllowedBroadcastPushMessageType_value = map[string]int32 + var AllowedBroadcastTreeMessageType_name = map[int32]string + var AllowedBroadcastTreeMessageType_value = map[string]int32 + var AllowedDirectMessageType_name = map[int32]string + var AllowedDirectMessageType_value = map[string]int32 + var AllowedRelayMessageType_name = map[int32]string + var AllowedRelayMessageType_value = map[string]int32 + var AllowedSignedMessageType_name = map[int32]string + var AllowedSignedMessageType_value = map[string]int32 + var AllowedUnsignedMessageType_name = map[int32]string + var AllowedUnsignedMessageType_value = map[string]int32 + var ClientMessageType_name = map[int32]string + var ClientMessageType_value = map[string]int32 + var CompressionType_name = map[int32]string + var CompressionType_value = map[string]int32 + 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 + var MessageType_name = map[int32]string + var MessageType_value = map[string]int32 + var PayloadType_name = map[int32]string + var PayloadType_value = map[string]int32 + var RequestTransactionType_name = map[int32]string + var RequestTransactionType_value = map[string]int32 + var SigAlgo_name = map[int32]string + var SigAlgo_value = map[string]int32 + var SyncState_name = map[int32]string + var SyncState_value = map[string]int32 + var WinnerType_name = map[int32]string + var WinnerType_value = map[string]int32 + func ComputeSignatureHash(lastRelayHash []byte, sigChainLen int, height uint32, leftShiftBit int) []byte + type AllowedBroadcastPullMessageType int32 + const AllowedBroadcastPullMessageType_ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE + func (AllowedBroadcastPullMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedBroadcastPullMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedBroadcastPullMessageType) Type() protoreflect.EnumType + func (x AllowedBroadcastPullMessageType) Enum() *AllowedBroadcastPullMessageType + func (x AllowedBroadcastPullMessageType) Number() protoreflect.EnumNumber + func (x AllowedBroadcastPullMessageType) String() string + type AllowedBroadcastPushMessageType int32 + const AllowedBroadcastPushMessageType_ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE + const AllowedBroadcastPushMessageType_ALLOW_BROADCAST_PUSH_TRANSACTIONS + func (AllowedBroadcastPushMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedBroadcastPushMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedBroadcastPushMessageType) Type() protoreflect.EnumType + func (x AllowedBroadcastPushMessageType) Enum() *AllowedBroadcastPushMessageType + func (x AllowedBroadcastPushMessageType) Number() protoreflect.EnumNumber + func (x AllowedBroadcastPushMessageType) String() string + type AllowedBroadcastTreeMessageType int32 + const AllowedBroadcastTreeMessageType_ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE + const AllowedBroadcastTreeMessageType_ALLOW_BROADCAST_TREE_TRANSACTIONS + func (AllowedBroadcastTreeMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedBroadcastTreeMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedBroadcastTreeMessageType) Type() protoreflect.EnumType + func (x AllowedBroadcastTreeMessageType) Enum() *AllowedBroadcastTreeMessageType + func (x AllowedBroadcastTreeMessageType) Number() protoreflect.EnumNumber + func (x AllowedBroadcastTreeMessageType) String() string + type AllowedDirectMessageType int32 + const AllowedDirectMessageType_ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN + const AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCKS + const AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCKS_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCK_HEADERS + const AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_GET_CONSENSUS_STATE + const AllowedDirectMessageType_ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_GET_STATES + const AllowedDirectMessageType_ALLOW_DIRECT_GET_STATES_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL + const AllowedDirectMessageType_ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION + const AllowedDirectMessageType_ALLOW_DIRECT_PIN_SIGNATURE_CHAIN + const AllowedDirectMessageType_ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE + const AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL + const AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_BLOCK_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS + const AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION + const AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY + const AllowedDirectMessageType_ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION + const AllowedDirectMessageType_ALLOW_DIRECT_VOTE + func (AllowedDirectMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedDirectMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedDirectMessageType) Type() protoreflect.EnumType + func (x AllowedDirectMessageType) Enum() *AllowedDirectMessageType + func (x AllowedDirectMessageType) Number() protoreflect.EnumNumber + func (x AllowedDirectMessageType) String() string + type AllowedRelayMessageType int32 + const AllowedRelayMessageType_ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE + const AllowedRelayMessageType_ALLOW_RELAY_RELAY + func (AllowedRelayMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedRelayMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedRelayMessageType) Type() protoreflect.EnumType + func (x AllowedRelayMessageType) Enum() *AllowedRelayMessageType + func (x AllowedRelayMessageType) Number() protoreflect.EnumNumber + func (x AllowedRelayMessageType) String() string + type AllowedSignedMessageType int32 + const AllowedSignedMessageType_ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE + func (AllowedSignedMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedSignedMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedSignedMessageType) Type() protoreflect.EnumType + func (x AllowedSignedMessageType) Enum() *AllowedSignedMessageType + func (x AllowedSignedMessageType) Number() protoreflect.EnumNumber + func (x AllowedSignedMessageType) String() string + type AllowedUnsignedMessageType int32 + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCKS + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCKS_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCK_HEADERS + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_CONSENSUS_STATE + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_STATES + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_STATES_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_RELAY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_TRANSACTIONS + const AllowedUnsignedMessageType_ALLOW_UNSIGNED_VOTE + func (AllowedUnsignedMessageType) Descriptor() protoreflect.EnumDescriptor + func (AllowedUnsignedMessageType) EnumDescriptor() ([]byte, []int) + func (AllowedUnsignedMessageType) Type() protoreflect.EnumType + func (x AllowedUnsignedMessageType) Enum() *AllowedUnsignedMessageType + func (x AllowedUnsignedMessageType) Number() protoreflect.EnumNumber + func (x AllowedUnsignedMessageType) String() string + type BacktrackSignatureChain struct + Hash []byte + SigChainElems []*SigChainElem + func (*BacktrackSignatureChain) Descriptor() ([]byte, []int) + func (*BacktrackSignatureChain) ProtoMessage() + func (x *BacktrackSignatureChain) GetHash() []byte + func (x *BacktrackSignatureChain) GetSigChainElems() []*SigChainElem + func (x *BacktrackSignatureChain) ProtoReflect() protoreflect.Message + func (x *BacktrackSignatureChain) Reset() + func (x *BacktrackSignatureChain) String() string + type Block struct + Header *Header + Transactions []*Transaction + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (x *Block) GetHeader() *Header + func (x *Block) GetTransactions() []*Transaction + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + type ClientMessage struct + CompressionType CompressionType + Message []byte + MessageType ClientMessageType + func (*ClientMessage) Descriptor() ([]byte, []int) + func (*ClientMessage) ProtoMessage() + func (x *ClientMessage) GetCompressionType() CompressionType + func (x *ClientMessage) GetMessage() []byte + func (x *ClientMessage) GetMessageType() ClientMessageType + func (x *ClientMessage) ProtoReflect() protoreflect.Message + func (x *ClientMessage) Reset() + func (x *ClientMessage) String() string + type ClientMessageType int32 + const ClientMessageType_INBOUND_MESSAGE + const ClientMessageType_OUTBOUND_MESSAGE + const ClientMessageType_RECEIPT + func (ClientMessageType) Descriptor() protoreflect.EnumDescriptor + func (ClientMessageType) EnumDescriptor() ([]byte, []int) + func (ClientMessageType) Type() protoreflect.EnumType + func (x ClientMessageType) Enum() *ClientMessageType + func (x ClientMessageType) Number() protoreflect.EnumNumber + func (x ClientMessageType) String() string + type Coinbase struct + Amount int64 + Amount_PoN_Compute_Utilization int64 + Amount_PoN_Connectivity_Utilization int64 + Amount_PoN_Storage_Utilization int64 + Amount_PoP_Challengers int64 + Amount_PoP_Challengess int64 + Amount_Revos_Token_Corporate_Treasury int64 + Amount_Revos_Token_Sales int64 + Recipient_PoN_Compute_Utilization []byte + Recipient_PoN_Connectivity_Utilization []byte + Recipient_PoN_Storage_Utilization []byte + Recipient_PoP_Challengers []byte + Recipient_PoP_Challengess []byte + Recipient_Revos_Token_Corporate_Treasury []byte + Recipient_Revos_Token_Sales []byte + Sender []byte + func (*Coinbase) Descriptor() ([]byte, []int) + func (*Coinbase) ProtoMessage() + func (m *Coinbase) ToMap() map[string]interface{} + 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 (x *Coinbase) ProtoReflect() protoreflect.Message + func (x *Coinbase) Reset() + func (x *Coinbase) String() string + type CompressionType int32 + const CompressionType_COMPRESSION_NONE + const CompressionType_COMPRESSION_ZLIB + func (CompressionType) Descriptor() protoreflect.EnumDescriptor + func (CompressionType) EnumDescriptor() ([]byte, []int) + func (CompressionType) Type() protoreflect.EnumType + func (x CompressionType) Enum() *CompressionType + func (x CompressionType) Number() protoreflect.EnumNumber + func (x CompressionType) String() string + type DeleteName struct + Name string + Registrant []byte + func (*DeleteName) Descriptor() ([]byte, []int) + func (*DeleteName) ProtoMessage() + func (x *DeleteName) GetName() string + func (x *DeleteName) GetRegistrant() []byte + func (x *DeleteName) ProtoReflect() protoreflect.Message + func (x *DeleteName) Reset() + func (x *DeleteName) String() string + type GenerateID struct + PublicKey []byte + RegistrationFee int64 + Sender []byte + Version int32 + func (*GenerateID) Descriptor() ([]byte, []int) + func (*GenerateID) ProtoMessage() + func (m *GenerateID) ToMap() map[string]interface{} + func (x *GenerateID) GetPublicKey() []byte + func (x *GenerateID) GetRegistrationFee() int64 + func (x *GenerateID) GetSender() []byte + func (x *GenerateID) GetVersion() int32 + func (x *GenerateID) ProtoReflect() protoreflect.Message + func (x *GenerateID) Reset() + func (x *GenerateID) String() string + type GetBlockHeaders struct + EndHeight uint32 + StartHeight uint32 + func (*GetBlockHeaders) Descriptor() ([]byte, []int) + func (*GetBlockHeaders) ProtoMessage() + func (x *GetBlockHeaders) GetEndHeight() uint32 + func (x *GetBlockHeaders) GetStartHeight() uint32 + func (x *GetBlockHeaders) ProtoReflect() protoreflect.Message + func (x *GetBlockHeaders) Reset() + func (x *GetBlockHeaders) String() string + type GetBlockHeadersReply struct + BlockHeaders []*Header + func (*GetBlockHeadersReply) Descriptor() ([]byte, []int) + func (*GetBlockHeadersReply) ProtoMessage() + func (x *GetBlockHeadersReply) GetBlockHeaders() []*Header + func (x *GetBlockHeadersReply) ProtoReflect() protoreflect.Message + func (x *GetBlockHeadersReply) Reset() + func (x *GetBlockHeadersReply) String() string + type GetBlocks struct + EndHeight uint32 + StartHeight uint32 + func (*GetBlocks) Descriptor() ([]byte, []int) + func (*GetBlocks) ProtoMessage() + func (x *GetBlocks) GetEndHeight() uint32 + func (x *GetBlocks) GetStartHeight() uint32 + func (x *GetBlocks) ProtoReflect() protoreflect.Message + func (x *GetBlocks) Reset() + func (x *GetBlocks) String() string + type GetBlocksReply struct + Blocks []*Block + func (*GetBlocksReply) Descriptor() ([]byte, []int) + func (*GetBlocksReply) ProtoMessage() + func (x *GetBlocksReply) GetBlocks() []*Block + func (x *GetBlocksReply) ProtoReflect() protoreflect.Message + func (x *GetBlocksReply) Reset() + func (x *GetBlocksReply) String() string + type GetConsensusState struct + func (*GetConsensusState) Descriptor() ([]byte, []int) + func (*GetConsensusState) ProtoMessage() + func (x *GetConsensusState) ProtoReflect() protoreflect.Message + func (x *GetConsensusState) Reset() + func (x *GetConsensusState) String() string + type GetConsensusStateReply struct + ConsensusHeight uint32 + LedgerBlockHash []byte + LedgerHeight uint32 + MinVerifiableHeight uint32 + SyncState SyncState + func (*GetConsensusStateReply) Descriptor() ([]byte, []int) + func (*GetConsensusStateReply) ProtoMessage() + 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 (x *GetConsensusStateReply) ProtoReflect() protoreflect.Message + func (x *GetConsensusStateReply) Reset() + func (x *GetConsensusStateReply) String() string + type GetStates struct + Reqs []*StateRequest + func (*GetStates) Descriptor() ([]byte, []int) + func (*GetStates) ProtoMessage() + func (x *GetStates) GetReqs() []*StateRequest + func (x *GetStates) ProtoReflect() protoreflect.Message + func (x *GetStates) Reset() + func (x *GetStates) String() string + type GetStatesReply struct + Nodes []*StateNode + func (*GetStatesReply) Descriptor() ([]byte, []int) + func (*GetStatesReply) ProtoMessage() + func (x *GetStatesReply) GetNodes() []*StateNode + func (x *GetStatesReply) ProtoReflect() protoreflect.Message + func (x *GetStatesReply) Reset() + func (x *GetStatesReply) String() string + type Header struct + Signature []byte + UnsignedHeader *UnsignedHeader + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (x *Header) GetSignature() []byte + func (x *Header) GetUnsignedHeader() *UnsignedHeader + func (x *Header) ProtoReflect() protoreflect.Message + func (x *Header) Reset() + func (x *Header) String() string + type IHaveBlockProposal struct + BlockHash []byte + Height uint32 + func (*IHaveBlockProposal) Descriptor() ([]byte, []int) + func (*IHaveBlockProposal) ProtoMessage() + func (x *IHaveBlockProposal) GetBlockHash() []byte + func (x *IHaveBlockProposal) GetHeight() uint32 + func (x *IHaveBlockProposal) ProtoReflect() protoreflect.Message + func (x *IHaveBlockProposal) Reset() + func (x *IHaveBlockProposal) String() string + type IHaveSignatureChainTransaction struct + Height uint32 + SignatureHash []byte + func (*IHaveSignatureChainTransaction) Descriptor() ([]byte, []int) + func (*IHaveSignatureChainTransaction) ProtoMessage() + func (x *IHaveSignatureChainTransaction) GetHeight() uint32 + func (x *IHaveSignatureChainTransaction) GetSignatureHash() []byte + func (x *IHaveSignatureChainTransaction) ProtoReflect() protoreflect.Message + func (x *IHaveSignatureChainTransaction) Reset() + func (x *IHaveSignatureChainTransaction) String() string + type InboundMessage struct + Payload []byte + PrevHash []byte + Src string + func (*InboundMessage) Descriptor() ([]byte, []int) + func (*InboundMessage) ProtoMessage() + func (x *InboundMessage) GetPayload() []byte + func (x *InboundMessage) GetPrevHash() []byte + func (x *InboundMessage) GetSrc() string + func (x *InboundMessage) ProtoReflect() protoreflect.Message + func (x *InboundMessage) Reset() + func (x *InboundMessage) String() string + type IssueAsset struct + Name string + Precision uint32 + Sender []byte + Symbol string + TotalSupply int64 + func (*IssueAsset) Descriptor() ([]byte, []int) + func (*IssueAsset) ProtoMessage() + 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 (x *IssueAsset) ProtoReflect() protoreflect.Message + func (x *IssueAsset) Reset() + func (x *IssueAsset) String() string + type MessageType int32 + const MessageType_BACKTRACK_SIGNATURE_CHAIN + const MessageType_GET_BLOCKS + const MessageType_GET_BLOCKS_REPLY + const MessageType_GET_BLOCK_HEADERS + const MessageType_GET_BLOCK_HEADERS_REPLY + const MessageType_GET_CONSENSUS_STATE + const MessageType_GET_CONSENSUS_STATE_REPLY + const MessageType_GET_STATES + const MessageType_GET_STATES_REPLY + const MessageType_I_HAVE_BLOCK_PROPOSAL + const MessageType_I_HAVE_SIGNATURE_CHAIN_TRANSACTION + const MessageType_MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE + const MessageType_PIN_SIGNATURE_CHAIN + const MessageType_RELAY + const MessageType_REQUEST_BLOCK_PROPOSAL + const MessageType_REQUEST_BLOCK_PROPOSAL_REPLY + const MessageType_REQUEST_PROPOSAL_TRANSACTIONS + const MessageType_REQUEST_PROPOSAL_TRANSACTIONS_REPLY + const MessageType_REQUEST_SIGNATURE_CHAIN_TRANSACTION + const MessageType_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY + const MessageType_SIGNATURE_CHAIN_OBJECTION + const MessageType_TRANSACTIONS + const MessageType_VOTE + func (MessageType) Descriptor() protoreflect.EnumDescriptor + func (MessageType) EnumDescriptor() ([]byte, []int) + func (MessageType) Type() protoreflect.EnumType + func (x MessageType) Enum() *MessageType + func (x MessageType) Number() protoreflect.EnumNumber + func (x MessageType) String() string + type NanoPay struct + Amount int64 + Id uint64 + NanoPayExpiration uint32 + Recipient []byte + Sender []byte + TxnExpiration uint32 + func (*NanoPay) Descriptor() ([]byte, []int) + func (*NanoPay) ProtoMessage() + func (m *NanoPay) ToMap() map[string]interface{} + 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 (x *NanoPay) ProtoReflect() protoreflect.Message + func (x *NanoPay) Reset() + func (x *NanoPay) String() string + type NodeData struct + JsonRpcPort uint32 + ProtocolVersion uint32 + PublicKey []byte + TlsJsonRpcDomain string + TlsJsonRpcPort uint32 + TlsWebsocketDomain string + TlsWebsocketPort uint32 + WebsocketPort uint32 + func (*NodeData) Descriptor() ([]byte, []int) + func (*NodeData) ProtoMessage() + 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 (x *NodeData) ProtoReflect() protoreflect.Message + func (x *NodeData) Reset() + func (x *NodeData) String() string + type OutboundMessage struct + BlockHash []byte + Dest string + Dests []string + MaxHoldingSeconds uint32 + Nonce uint32 + Payload []byte + Payloads [][]byte + Signatures [][]byte + func (*OutboundMessage) Descriptor() ([]byte, []int) + func (*OutboundMessage) ProtoMessage() + 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 (x *OutboundMessage) ProtoReflect() protoreflect.Message + func (x *OutboundMessage) Reset() + func (x *OutboundMessage) String() string + type Payload struct + Data []byte + Type PayloadType + func (*Payload) Descriptor() ([]byte, []int) + func (*Payload) ProtoMessage() + func (p *Payload) Deserialize(r io.Reader) error + func (p *Payload) Serialize(w io.Writer) error + func (x *Payload) GetData() []byte + func (x *Payload) GetType() PayloadType + func (x *Payload) ProtoReflect() protoreflect.Message + func (x *Payload) Reset() + func (x *Payload) String() string + type PayloadType int32 + const PayloadType_COINBASE_TYPE + const PayloadType_DELETE_NAME_TYPE + const PayloadType_GENERATE_ID_2_TYPE + const PayloadType_GENERATE_ID_TYPE + const PayloadType_ISSUE_ASSET_TYPE + const PayloadType_NANO_PAY_TYPE + const PayloadType_REGISTER_NAME_TYPE + const PayloadType_SIG_CHAIN_TXN_TYPE + const PayloadType_SUBSCRIBE_TYPE + const PayloadType_SWAP_ASSET_TYPE + const PayloadType_SWAP_RDC_ASSET_TYPE + const PayloadType_TRANSFER_ASSET_TYPE + const PayloadType_TRANSFER_NAME_TYPE + const PayloadType_TRANSFER_RDC_ASSET_TYPE + const PayloadType_UNSUBSCRIBE_TYPE + func (PayloadType) Descriptor() protoreflect.EnumDescriptor + func (PayloadType) EnumDescriptor() ([]byte, []int) + func (PayloadType) Type() protoreflect.EnumType + func (x PayloadType) Enum() *PayloadType + func (x PayloadType) Number() protoreflect.EnumNumber + func (x PayloadType) String() string + type PinSignatureChain struct + Hash []byte + func (*PinSignatureChain) Descriptor() ([]byte, []int) + func (*PinSignatureChain) ProtoMessage() + func (x *PinSignatureChain) GetHash() []byte + func (x *PinSignatureChain) ProtoReflect() protoreflect.Message + func (x *PinSignatureChain) Reset() + func (x *PinSignatureChain) String() string + type Program struct + Code []byte + Parameter []byte + func (*Program) Descriptor() ([]byte, []int) + func (*Program) ProtoMessage() + func (p *Program) Deserialize(w io.Reader) error + func (p *Program) MarshalJson() ([]byte, error) + func (p *Program) Serialize(w io.Writer) error + func (p *Program) UnmarshalJson(data []byte) error + func (x *Program) GetCode() []byte + func (x *Program) GetParameter() []byte + func (x *Program) ProtoReflect() protoreflect.Message + func (x *Program) Reset() + func (x *Program) String() string + type Receipt struct + PrevHash []byte + Signature []byte + func (*Receipt) Descriptor() ([]byte, []int) + func (*Receipt) ProtoMessage() + func (x *Receipt) GetPrevHash() []byte + func (x *Receipt) GetSignature() []byte + func (x *Receipt) ProtoReflect() protoreflect.Message + func (x *Receipt) Reset() + func (x *Receipt) String() string + type RegisterName struct + Name string + Registrant []byte + RegistrationFee int64 + func (*RegisterName) Descriptor() ([]byte, []int) + func (*RegisterName) ProtoMessage() + func (m *RegisterName) ToMap() map[string]interface{} + func (x *RegisterName) GetName() string + func (x *RegisterName) GetRegistrant() []byte + func (x *RegisterName) GetRegistrationFee() int64 + func (x *RegisterName) ProtoReflect() protoreflect.Message + func (x *RegisterName) Reset() + func (x *RegisterName) String() string + type Relay struct + BlockHash []byte + DestId []byte + LastHash []byte + MaxHoldingSeconds uint32 + Payload []byte + SigChainLen uint32 + SrcIdentifier string + SrcPubkey []byte + func (*Relay) Descriptor() ([]byte, []int) + func (*Relay) ProtoMessage() + 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 (x *Relay) ProtoReflect() protoreflect.Message + func (x *Relay) Reset() + func (x *Relay) String() string + type RequestBlockProposal struct + BlockHash []byte + ShortHashSalt []byte + ShortHashSize uint32 + Type RequestTransactionType + func (*RequestBlockProposal) Descriptor() ([]byte, []int) + func (*RequestBlockProposal) ProtoMessage() + func (x *RequestBlockProposal) GetBlockHash() []byte + func (x *RequestBlockProposal) GetShortHashSalt() []byte + func (x *RequestBlockProposal) GetShortHashSize() uint32 + func (x *RequestBlockProposal) GetType() RequestTransactionType + func (x *RequestBlockProposal) ProtoReflect() protoreflect.Message + func (x *RequestBlockProposal) Reset() + func (x *RequestBlockProposal) String() string + type RequestBlockProposalReply struct + Block *Block + TransactionsHash [][]byte + func (*RequestBlockProposalReply) Descriptor() ([]byte, []int) + func (*RequestBlockProposalReply) ProtoMessage() + func (x *RequestBlockProposalReply) GetBlock() *Block + func (x *RequestBlockProposalReply) GetTransactionsHash() [][]byte + func (x *RequestBlockProposalReply) ProtoReflect() protoreflect.Message + func (x *RequestBlockProposalReply) Reset() + func (x *RequestBlockProposalReply) String() string + type RequestProposalTransactions struct + BlockHash []byte + ShortHashSalt []byte + ShortHashSize uint32 + TransactionsHash [][]byte + Type RequestTransactionType + func (*RequestProposalTransactions) Descriptor() ([]byte, []int) + func (*RequestProposalTransactions) ProtoMessage() + 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 (x *RequestProposalTransactions) ProtoReflect() protoreflect.Message + func (x *RequestProposalTransactions) Reset() + func (x *RequestProposalTransactions) String() string + type RequestProposalTransactionsReply struct + Transactions []*Transaction + func (*RequestProposalTransactionsReply) Descriptor() ([]byte, []int) + func (*RequestProposalTransactionsReply) ProtoMessage() + func (x *RequestProposalTransactionsReply) GetTransactions() []*Transaction + func (x *RequestProposalTransactionsReply) ProtoReflect() protoreflect.Message + func (x *RequestProposalTransactionsReply) Reset() + func (x *RequestProposalTransactionsReply) String() string + type RequestSignatureChainTransaction struct + SignatureHash []byte + func (*RequestSignatureChainTransaction) Descriptor() ([]byte, []int) + func (*RequestSignatureChainTransaction) ProtoMessage() + func (x *RequestSignatureChainTransaction) GetSignatureHash() []byte + func (x *RequestSignatureChainTransaction) ProtoReflect() protoreflect.Message + func (x *RequestSignatureChainTransaction) Reset() + func (x *RequestSignatureChainTransaction) String() string + type RequestSignatureChainTransactionReply struct + Transaction *Transaction + func (*RequestSignatureChainTransactionReply) Descriptor() ([]byte, []int) + func (*RequestSignatureChainTransactionReply) ProtoMessage() + func (x *RequestSignatureChainTransactionReply) GetTransaction() *Transaction + func (x *RequestSignatureChainTransactionReply) ProtoReflect() protoreflect.Message + func (x *RequestSignatureChainTransactionReply) Reset() + func (x *RequestSignatureChainTransactionReply) String() string + type RequestTransactionType int32 + const RequestTransactionType_REQUEST_FULL_TRANSACTION + const RequestTransactionType_REQUEST_TRANSACTION_HASH + const RequestTransactionType_REQUEST_TRANSACTION_SHORT_HASH + func (RequestTransactionType) Descriptor() protoreflect.EnumDescriptor + func (RequestTransactionType) EnumDescriptor() ([]byte, []int) + func (RequestTransactionType) Type() protoreflect.EnumType + func (x RequestTransactionType) Enum() *RequestTransactionType + func (x RequestTransactionType) Number() protoreflect.EnumNumber + func (x RequestTransactionType) String() string + type SigAlgo int32 + const SigAlgo_HASH + const SigAlgo_SIGNATURE + func (SigAlgo) Descriptor() protoreflect.EnumDescriptor + func (SigAlgo) EnumDescriptor() ([]byte, []int) + func (SigAlgo) Type() protoreflect.EnumType + func (x SigAlgo) Enum() *SigAlgo + func (x SigAlgo) Number() protoreflect.EnumNumber + func (x SigAlgo) String() string + type SigChain struct + BlockHash []byte + DataSize uint32 + DestId []byte + DestPubkey []byte + Elems []*SigChainElem + Nonce uint32 + SrcId []byte + SrcPubkey []byte + func NewSigChain(nonce, dataSize uint32, ...) (*SigChain, error) + func (*SigChain) Descriptor() ([]byte, []int) + func (*SigChain) ProtoMessage() + func (sc *SigChain) GetMiner(height uint32, randomBeacon []byte) ([]byte, []byte, error) + func (sc *SigChain) GetSignerIndex(pubkey []byte) (int, error) + func (sc *SigChain) IsComplete() bool + func (sc *SigChain) LastRelayHash() ([]byte, error) + func (sc *SigChain) Length() int + func (sc *SigChain) SerializationMetadata(w io.Writer) error + func (sc *SigChain) SignatureHash(height uint32, leftShiftBit int) ([]byte, error) + func (sc *SigChain) ToMap() map[string]interface{} + 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 (x *SigChain) GetNonce() uint32 + func (x *SigChain) GetSrcId() []byte + func (x *SigChain) GetSrcPubkey() []byte + func (x *SigChain) ProtoReflect() protoreflect.Message + func (x *SigChain) Reset() + func (x *SigChain) String() string + type SigChainElem struct + Id []byte + Mining bool + NextPubkey []byte + Proof []byte + SigAlgo SigAlgo + Signature []byte + Vrf []byte + func NewSigChainElem(id, nextPubkey, signature, vrf, proof []byte, mining bool, sigAlgo SigAlgo) *SigChainElem + func (*SigChainElem) Descriptor() ([]byte, []int) + func (*SigChainElem) ProtoMessage() + func (sce *SigChainElem) Hash(prevHash []byte) ([]byte, error) + func (sce *SigChainElem) SerializationUnsigned(w io.Writer) error + func (sce *SigChainElem) ToMap() map[string]interface{} + 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 (x *SigChainElem) ProtoReflect() protoreflect.Message + func (x *SigChainElem) Reset() + func (x *SigChainElem) String() string + type SigChainTxn struct + SigChain []byte + Submitter []byte + func (*SigChainTxn) Descriptor() ([]byte, []int) + func (*SigChainTxn) ProtoMessage() + func (m *SigChainTxn) ToMap() map[string]interface{} + func (x *SigChainTxn) GetSigChain() []byte + func (x *SigChainTxn) GetSubmitter() []byte + func (x *SigChainTxn) ProtoReflect() protoreflect.Message + func (x *SigChainTxn) Reset() + func (x *SigChainTxn) String() string + type SignatureChainObjectionSigned struct + Message []byte + Signature []byte + func (*SignatureChainObjectionSigned) Descriptor() ([]byte, []int) + func (*SignatureChainObjectionSigned) ProtoMessage() + func (x *SignatureChainObjectionSigned) GetMessage() []byte + func (x *SignatureChainObjectionSigned) GetSignature() []byte + func (x *SignatureChainObjectionSigned) ProtoReflect() protoreflect.Message + func (x *SignatureChainObjectionSigned) Reset() + func (x *SignatureChainObjectionSigned) String() string + type SignatureChainObjectionUnsigned struct + Height uint32 + ReporterPubkey []byte + SignatureHash []byte + func (*SignatureChainObjectionUnsigned) Descriptor() ([]byte, []int) + func (*SignatureChainObjectionUnsigned) ProtoMessage() + func (x *SignatureChainObjectionUnsigned) GetHeight() uint32 + func (x *SignatureChainObjectionUnsigned) GetReporterPubkey() []byte + func (x *SignatureChainObjectionUnsigned) GetSignatureHash() []byte + func (x *SignatureChainObjectionUnsigned) ProtoReflect() protoreflect.Message + func (x *SignatureChainObjectionUnsigned) Reset() + func (x *SignatureChainObjectionUnsigned) String() string + type SignedMessage struct + Message []byte + Signature []byte + func (*SignedMessage) Descriptor() ([]byte, []int) + func (*SignedMessage) ProtoMessage() + func (x *SignedMessage) GetMessage() []byte + func (x *SignedMessage) GetSignature() []byte + func (x *SignedMessage) ProtoReflect() protoreflect.Message + func (x *SignedMessage) Reset() + func (x *SignedMessage) String() string + type StateNode struct + Node []byte + func (*StateNode) Descriptor() ([]byte, []int) + func (*StateNode) ProtoMessage() + func (x *StateNode) GetNode() []byte + func (x *StateNode) ProtoReflect() protoreflect.Message + func (x *StateNode) Reset() + func (x *StateNode) String() string + type StateRequest struct + Hash []byte + func (*StateRequest) Descriptor() ([]byte, []int) + func (*StateRequest) ProtoMessage() + func (x *StateRequest) GetHash() []byte + func (x *StateRequest) ProtoReflect() protoreflect.Message + func (x *StateRequest) Reset() + func (x *StateRequest) String() string + type Subscribe struct + Bucket uint32 + Duration uint32 + Identifier string + Meta []byte + Subscriber []byte + Topic string + func (*Subscribe) Descriptor() ([]byte, []int) + func (*Subscribe) ProtoMessage() + func (m *Subscribe) ToMap() map[string]interface{} + func (x *Subscribe) GetBucket() uint32 + 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 (x *Subscribe) ProtoReflect() protoreflect.Message + func (x *Subscribe) Reset() + func (x *Subscribe) String() string + type SwapAsset struct + Amount int64 + Recipient []byte + Sender []byte + func (*SwapAsset) Descriptor() ([]byte, []int) + func (*SwapAsset) ProtoMessage() + func (m *SwapAsset) ToMap() map[string]interface{} + func (x *SwapAsset) GetAmount() int64 + func (x *SwapAsset) GetRecipient() []byte + func (x *SwapAsset) GetSender() []byte + func (x *SwapAsset) ProtoReflect() protoreflect.Message + func (x *SwapAsset) Reset() + func (x *SwapAsset) String() string + type SyncState int32 + const SyncState_PERSIST_FINISHED + const SyncState_SYNC_FINISHED + const SyncState_SYNC_STARTED + const SyncState_WAIT_FOR_SYNCING + func (SyncState) Descriptor() protoreflect.EnumDescriptor + func (SyncState) EnumDescriptor() ([]byte, []int) + func (SyncState) Type() protoreflect.EnumType + func (x SyncState) Enum() *SyncState + func (x SyncState) Number() protoreflect.EnumNumber + func (x SyncState) String() string + type Transaction struct + Programs []*Program + UnsignedTx *UnsignedTx + func (*Transaction) Descriptor() ([]byte, []int) + func (*Transaction) ProtoMessage() + func (x *Transaction) GetPrograms() []*Program + func (x *Transaction) GetUnsignedTx() *UnsignedTx + func (x *Transaction) ProtoReflect() protoreflect.Message + func (x *Transaction) Reset() + func (x *Transaction) String() string + type Transactions struct + Transactions []*Transaction + func (*Transactions) Descriptor() ([]byte, []int) + func (*Transactions) ProtoMessage() + func (x *Transactions) GetTransactions() []*Transaction + func (x *Transactions) ProtoReflect() protoreflect.Message + func (x *Transactions) Reset() + func (x *Transactions) String() string + type TransferAsset struct + Amount int64 + Recipient []byte + Sender []byte + func (*TransferAsset) Descriptor() ([]byte, []int) + func (*TransferAsset) ProtoMessage() + func (m *TransferAsset) ToMap() map[string]interface{} + func (x *TransferAsset) GetAmount() int64 + func (x *TransferAsset) GetRecipient() []byte + func (x *TransferAsset) GetSender() []byte + func (x *TransferAsset) ProtoReflect() protoreflect.Message + func (x *TransferAsset) Reset() + func (x *TransferAsset) String() string + type TransferName struct + Name string + Recipient []byte + Registrant []byte + func (*TransferName) Descriptor() ([]byte, []int) + func (*TransferName) ProtoMessage() + func (x *TransferName) GetName() string + func (x *TransferName) GetRecipient() []byte + func (x *TransferName) GetRegistrant() []byte + func (x *TransferName) ProtoReflect() protoreflect.Message + func (x *TransferName) Reset() + func (x *TransferName) String() string + type UnsignedHeader struct + Height uint32 + PrevBlockHash []byte + RandomBeacon []byte + SignerId []byte + SignerPk []byte + StateRoot []byte + Timestamp int64 + TransactionsRoot []byte + Version uint32 + WinnerHash []byte + WinnerType WinnerType + func (*UnsignedHeader) Descriptor() ([]byte, []int) + func (*UnsignedHeader) ProtoMessage() + 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 (x *UnsignedHeader) ProtoReflect() protoreflect.Message + func (x *UnsignedHeader) Reset() + func (x *UnsignedHeader) String() string + type UnsignedMessage struct + Message []byte + MessageType MessageType + func (*UnsignedMessage) Descriptor() ([]byte, []int) + func (*UnsignedMessage) ProtoMessage() + func (x *UnsignedMessage) GetMessage() []byte + func (x *UnsignedMessage) GetMessageType() MessageType + func (x *UnsignedMessage) ProtoReflect() protoreflect.Message + func (x *UnsignedMessage) Reset() + func (x *UnsignedMessage) String() string + type UnsignedTx struct + Attributes []byte + Fee int64 + Nonce uint64 + Payload *Payload + func (*UnsignedTx) Descriptor() ([]byte, []int) + func (*UnsignedTx) ProtoMessage() + func (x *UnsignedTx) GetAttributes() []byte + func (x *UnsignedTx) GetFee() int64 + func (x *UnsignedTx) GetNonce() uint64 + func (x *UnsignedTx) GetPayload() *Payload + func (x *UnsignedTx) ProtoReflect() protoreflect.Message + func (x *UnsignedTx) Reset() + func (x *UnsignedTx) String() string + type Unsubscribe struct + Identifier string + Subscriber []byte + Topic string + func (*Unsubscribe) Descriptor() ([]byte, []int) + func (*Unsubscribe) ProtoMessage() + func (m *Unsubscribe) ToMap() map[string]interface{} + func (x *Unsubscribe) GetIdentifier() string + func (x *Unsubscribe) GetSubscriber() []byte + func (x *Unsubscribe) GetTopic() string + func (x *Unsubscribe) ProtoReflect() protoreflect.Message + func (x *Unsubscribe) Reset() + func (x *Unsubscribe) String() string + type Vote struct + BlockHash []byte + Height uint32 + func (*Vote) Descriptor() ([]byte, []int) + func (*Vote) ProtoMessage() + func (x *Vote) GetBlockHash() []byte + func (x *Vote) GetHeight() uint32 + func (x *Vote) ProtoReflect() protoreflect.Message + func (x *Vote) Reset() + func (x *Vote) String() string + type WinnerType int32 + const WinnerType_BLOCK_SIGNER + const WinnerType_GENESIS_SIGNER + const WinnerType_TXN_SIGNER + func (WinnerType) Descriptor() protoreflect.EnumDescriptor + func (WinnerType) EnumDescriptor() ([]byte, []int) + func (WinnerType) Type() protoreflect.EnumType + func (x WinnerType) Enum() *WinnerType + func (x WinnerType) Number() protoreflect.EnumNumber + func (x WinnerType) String() string