Class UnwantedBlockAlert

All Implemented Interfaces:
Alert<unwanted_block_alert>

public final class UnwantedBlockAlert extends PeerAlert<unwanted_block_alert>
This alert is generated when a block is received that was not requested or whose request timed out.
  • Method Details

    • blockIndex

      public int blockIndex()
      Returns:
      block index
    • pieceIndex

      public int pieceIndex()
      Returns:
      piece index