class BlocksByRangeListenerWrapper implements ResponseStreamListener<SignedBeaconBlock> {

  private boolean blockSlotGreaterThanPreviousBlockSlot(UInt64 blockSlot) {
    if (maybeSlotOfLastBlock.isEmpty()) {
      return true;
    }

    UInt64 lastBlockSlot = maybeSlotOfLastBlock.get();
    return blockSlot.isGreaterThan(lastBlockSlot);
  }

  public  BlocksByRangeListenerWrapper(
      Peer peer,
      ResponseStreamListener<SignedBeaconBlock> blockResponseListener,
      UInt64 startSlot,
      UInt64 count,
      UInt64 step);

}