示例#1
0
        private IList <IPaymentRound> GetPaymentRounds(IEnumerable <IPersistedBlock> blocks)
        {
            var rounds = new List <IPaymentRound>();

            foreach (var block in blocks)
            {
                var round = new PaymentRound(block);
                rounds.Add(round);
            }

            return(rounds);
        }
        private IList<IPaymentRound> GetPaymentRounds(IEnumerable<IFinalizedBlock> blocks)
        {
            var rounds = new List<IPaymentRound>();

            foreach (var block in blocks)
            {
                var round = new PaymentRound(block);
                rounds.Add(round);
            }

            return rounds;
        }