Show / Hide Table of Contents

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.

ConsensusProposal

Consensus proposal message.

ConsensusVote

Consensus vote message.

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium