Enum MessageContent.MessageType
Enum
represents the type of the MessageContent.
Namespace: Libplanet.Net.Messages
Assembly: Libplanet.Net.dll
Syntax
public enum MessageType : byte
Fields
Name | Description |
---|---|
BlockHashes | Message containing demand block hashes with their index numbers. |
BlockHeaderMessage | Message containing a single BlockHeader. |
Blocks | Message containing serialized blocks. |
ChainStatus | A reply to GetChainStatus. Contains the chain status of the peer at the moment. |
ConsensusCommit | Consensus commit message. |
ConsensusMaj23Msg | Consensus message that informs other peer that the peer has a vote of majority 2/3. |
ConsensusProposal | Consensus proposal message. |
ConsensusProposalClaimMsg | Consensus message that informs vote sets that the peer received new maj23 block. |
ConsensusVote | Consensus vote message. |
ConsensusVoteSetBitsMsg | Consensus message that informs vote sets that the peer have to other peer. |
DifferentVersion | A reply to any messages with different AppProtocolVersion. Contains the expected and actual AppProtocolVersion value of the message. |
FindNeighbors | Message containing request for nearby peers. |
GetBlockHashes | Request to query block hashes. |
GetBlocks | Request to query blocks. |
GetChainStatus | Request current chain status of the peer. |
GetTxs | Request to query transactions. |
HaveMessage | List of message IDs that the peer seen recently. |
Neighbors | Message containing nearby peers. |
Ping | Check message to determine peer is alive. |
Pong | A reply to Ping. |
Tx | Message containing serialized transaction. |
TxIds | Inventory to transfer transactions. |
WantMessage | List of message IDs that the peer want to have. |