public static ScoredCandidateDelta GetScoredCandidateDelta(IHashProvider hashProvider,
                                                                   CandidateDeltaBroadcast candidate = default,
                                                                   int score = 0)
        {
            var candidateDelta = candidate ?? DeltaHelper.GetCandidateDelta(hashProvider);

            return(new ScoredCandidateDelta(candidateDelta, score));
        }
        public static ScoredCandidateDelta GetScoredCandidateDelta(IHashProvider hashProvider,
                                                                   Cid previousDeltaHash = null,
                                                                   Cid hash          = null,
                                                                   PeerId producerId = null,
                                                                   int score         = 0)
        {
            var candidateDelta = DeltaHelper.GetCandidateDelta(hashProvider, hash: hash, producerId: producerId,
                                                               previousDeltaHash: previousDeltaHash);

            return(new ScoredCandidateDelta(candidateDelta, score));
        }