class SyncProcessor implements SyncEventsHandler {

    public void processStatus(MessageChannel sender, Status status) {
        logger.trace("Receiving syncState from node {} block {} {}", sender.getPeerNodeID(), status.getBestBlockNumber(), HashUtil.shortHash(status.getBestBlockHash()));
        peerStatuses.registerPeer(sender.getPeerNodeID()).setStatus(status);
        syncState.newPeerStatus();
    }

    public  SyncProcessor(Blockchain blockchain,
                         BlockSyncService blockSyncService,
                         PeerScoringManager peerScoringManager,
                         ChannelManager channelManager,
                         SyncConfiguration syncConfiguration,
                         BlockHeaderValidationRule blockHeaderValidationRule,
                         DifficultyCalculator difficultyCalculator);

}