@@ -29,7 +29,7 @@ class CTxMemPool;
2929 * included in blocks before transactions of lower fee/priority. So for
3030 * example if you wanted to know what fee you should put on a transaction to
3131 * be included in a block within the next 5 blocks, you would start by looking
32- * at the bucket with with the highest fee transactions and verifying that a
32+ * at the bucket with the highest fee transactions and verifying that a
3333 * sufficiently high percentage of them were confirmed within 5 blocks and
3434 * then you would look at the next highest fee bucket, and so on, stopping at
3535 * the last bucket to pass the test. The average fee of transactions in this
@@ -87,13 +87,13 @@ class TxConfirmStats
8787 // Count the total # of txs in each bucket
8888 // Track the historical moving average of this total over blocks
8989 std::vector<double > txCtAvg;
90- // and calcuate the total for the current block to update the moving average
90+ // and calculate the total for the current block to update the moving average
9191 std::vector<int > curBlockTxCt;
9292
9393 // Count the total # of txs confirmed within Y blocks in each bucket
9494 // Track the historical moving average of theses totals over blocks
9595 std::vector<std::vector<double > > confAvg; // confAvg[Y][X]
96- // and calcuate the totals for the current block to update the moving averages
96+ // and calculate the totals for the current block to update the moving averages
9797 std::vector<std::vector<int > > curBlockConf; // curBlockConf[Y][X]
9898
9999 // Sum the total priority/fee of all tx's in each bucket
0 commit comments