# Package nxt.peer

- Interface Summary
  Interface | Description
  --- | ---
  Peer | Peer network node

- Class Summary
  Class | Description
  --- | ---
  BundlerRate |
  NetworkHandler | The network handler creates outbound connections and adds them to the network selector.
  NetworkMessage | NetworkMessage represents the messages exchanged between peers.
  NetworkMessage.AddPeersMessage | The AddPeers message is sent to a peer to update its peer list and it is also returned as an asynchronous response to the GetPeers message Peer list
  NetworkMessage.BlockchainStateMessage | The BlockchainState message is sent when blockchain state changes.
  NetworkMessage.BlockIdsMessage | The BlockIds message is returned in response to the GetNextBlockIds message.
  NetworkMessage.BlockInventoryMessage | The BlockInventory message is sent when a peer has received a new block.
  NetworkMessage.BlocksMessage | The Blocks message is returned in response to the GetBlock and GetNextBlocks message.
  NetworkMessage.BundlerRateMessage | The BundlerRate message is periodically broadcast when the peer has one or more active bundlers.
  NetworkMessage.CumulativeDifficultyMessage | The CumulativeDifficulty message is returned in response to the GetCumulativeDifficulty message.
  NetworkMessage.ErrorMessage | The Error message is returned when a error is detected while processing a request.
  NetworkMessage.GetBlockMessage | The GetBlock message is sent when a peer is notified that a new block is available.
  NetworkMessage.GetCumulativeDifficultyMessage | The GetCumulativeDifficulty message is sent to a peer to get the current blockchain status.
  NetworkMessage.GetInfoMessage | The GetInfo message is exchanged when a peer connection is established.
  NetworkMessage.GetMilestoneBlockIdsMessage | The GetMilestoneBlockIds message is sent when a peer is downloading the blockchain.
  NetworkMessage.GetNextBlockIdsMessage | The GetNextBlockIds message is sent when a peer is downloading the blockchain.
  NetworkMessage.GetNextBlocksMessage | The GetNextBlocks message is sent when a peer is downloading the blockchain.
  NetworkMessage.GetPeersMessage | The GetPeers message is sent to a peer to request a list of connected peers.
  NetworkMessage.GetTransactionsMessage | The GetTransactions message is sent to retrieve one or more transactions.
  NetworkMessage.GetUnconfirmedTransactionsMessage | The GetUnconfirmedTransactions message is sent to retrieve the current set of unconfirmed transactions.
  NetworkMessage.MilestoneBlockIdsMessage | The MilestoneBlockIds message is returned in response to the GetMilestoneBlockIds message.
  NetworkMessage.TransactionsInventoryMessage | The TransactionsInventory message is sent when a peer has received new transactions.
  NetworkMessage.TransactionsMessage | The Transactions message is returned in response to the GetTransactions and GetUnconfirmedTransactions messages.
  Peers |
  TransactionsInventory |

- Enum Summary
  Enum | Description
  --- | ---
  Peer.BlockchainState |
  Peer.Service | Peer services
  Peer.State | Peer state
  Peers.Event |