Exemple #1
0
 private List <Transaction> ChooseTxs()
 {
     if (MemPool.Count < 4200)
     {
         return(MemPool.ToList());
     }
     else
     {
         var newPool = MemPool.OrderBy(CalculateFee).Take(4000);
         return(newPool.ToList());
     }
 }