Enum Message.MessageType
Enum represents the type of the Message.
Namespace: Libplanet.Net.Messages
Assembly: Libplanet.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. |
| 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. |
| 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. |