File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ void CTxMemPool::UpdateTransactionsFromBlock(const std::vector<uint256>& vHashes
145
145
// Iterate in reverse, so that whenever we are looking at a transaction
146
146
// we are sure that all in-mempool descendants have already been processed.
147
147
// This maximizes the benefit of the descendant cache and guarantees that
148
- // CTxMemPool ::m_children will be updated, an assumption made in
148
+ // CTxMemPoolEntry ::m_children will be updated, an assumption made in
149
149
// UpdateForDescendants.
150
150
for (const uint256 &hash : reverse_iterate (vHashesToUpdate)) {
151
151
// calculate children from mapNextTx
@@ -154,7 +154,7 @@ void CTxMemPool::UpdateTransactionsFromBlock(const std::vector<uint256>& vHashes
154
154
continue ;
155
155
}
156
156
auto iter = mapNextTx.lower_bound (COutPoint (hash, 0 ));
157
- // First calculate the children, and update CTxMemPool ::m_children to
157
+ // First calculate the children, and update CTxMemPoolEntry ::m_children to
158
158
// include them, and update their CTxMemPoolEntry::m_parents to include this tx.
159
159
// we cache the in-mempool children to avoid duplicate updates
160
160
{
Original file line number Diff line number Diff line change @@ -825,7 +825,7 @@ class CTxMemPool
825
825
* mempool but may have child transactions in the mempool, eg during a
826
826
* chain reorg.
827
827
*
828
- * @pre CTxMemPool ::m_children is correct for the given tx and all
828
+ * @pre CTxMemPoolEntry ::m_children is correct for the given tx and all
829
829
* descendants.
830
830
* @pre cachedDescendants is an accurate cache where each entry has all
831
831
* descendants of the corresponding key, including those that should
You can’t perform that action at this time.
0 commit comments