File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ class MiniMiner
137
137
*/
138
138
MiniMiner (const CTxMemPool& mempool, const std::vector<COutPoint>& outpoints);
139
139
140
- /* * Constructor in which the MiniMinerMempoolEntry entries have been constructed manually,
141
- * presumably because these transactions are not in the mempool (yet). It is assumed that all
142
- * entries are unique and their values are correct, otherwise results computed by MiniMiner may
143
- * be incorrect. Callers should check IsReadyToCalculate() after construction.
140
+ /* * Constructor in which the MiniMinerMempoolEntry entries have been constructed manually.
141
+ * It is assumed that all entries are unique and their values are correct, otherwise results
142
+ * computed by MiniMiner may be incorrect. Callers should check IsReadyToCalculate() after
143
+ * construction.
144
144
* @param[in] descendant_caches A map from each transaction to the set of txids of this
145
145
* transaction's descendant set, including itself. Each tx in
146
146
* manual_entries must have a corresponding entry in this map, and
Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup)
646
646
CTxMemPool& pool = *Assert (m_node.mempool );
647
647
LOCK2 (cs_main, pool.cs );
648
648
{
649
- // 3 pairs of fee-bumping grandparent + parent, plus 1 low-feerate child.
649
+ // 3 pairs of grandparent + fee-bumping parent, plus 1 low-feerate child.
650
650
// 0 fee + high fee
651
651
auto grandparent_zero_fee = make_tx ({{m_coinbase_txns.at (0 )->GetHash (), 0 }}, 1 );
652
652
auto parent_high_feerate = make_tx ({{grandparent_zero_fee->GetHash (), 0 }}, 1 );
@@ -692,7 +692,7 @@ BOOST_FIXTURE_TEST_CASE(manual_ctor, TestChain100Setup)
692
692
BOOST_CHECK_EQUAL (sequences.at (grandparent_double_low_feerate->GetHash ()), 1 );
693
693
BOOST_CHECK_EQUAL (sequences.at (parent_med_feerate->GetHash ()), 1 );
694
694
695
- // CPFP low + med
695
+ // CPFP low + double low
696
696
BOOST_CHECK_EQUAL (sequences.at (grandparent_low_feerate->GetHash ()), 2 );
697
697
BOOST_CHECK_EQUAL (sequences.at (parent_double_low_feerate->GetHash ()), 2 );
698
698
You can’t perform that action at this time.
0 commit comments