class DecidingSyncState extends BaseSyncState {

    @Override
    public void tick(Duration duration) {
        knownPeers.cleanExpired();
        timeElapsed = timeElapsed.plus(duration);
        if (knownPeers.count() > 0 &&
                timeElapsed.compareTo(syncConfiguration.getTimeoutWaitingPeers()) >= 0) {

            tryStartSyncing();
        }
    }

    public  DecidingSyncState(SyncConfiguration syncConfiguration, SyncEventsHandler syncEventsHandler, SyncInformation syncInformation, PeersInformation knownPeers);

}