Package nxt.peer

Class NetworkMessage.GetNextBlockIdsMessage

java.lang.Object
nxt.peer.NetworkMessage
nxt.peer.NetworkMessage.GetNextBlockIdsMessage
Enclosing class:
NetworkMessage

public static class NetworkMessage.GetNextBlockIdsMessage extends NetworkMessage
The GetNextBlockIds message is sent when a peer is downloading the blockchain. The BlockIds message is returned in response.
  • Message identifier (long)
  • Start block identifier (long)
  • Maximum number of blocks (integer)
  • Constructor Details

    • GetNextBlockIdsMessage

      public GetNextBlockIdsMessage(long blockId, int limit)
      Construct a GetNextBlockIds message
      Parameters:
      blockId - Start block identifier
      limit - Maximum number of blocks
  • Method Details