diff options
author | KevinMusgrave <tkm45@cornell.edu> | 2022-04-20 20:43:18 -0400 |
---|---|---|
committer | KevinMusgrave <tkm45@cornell.edu> | 2022-04-22 19:52:15 -0400 |
commit | 7036cf52aa080d2a63993c2298555252d507dd2f (patch) | |
tree | b8f2a60d32b079e1097153b948a057116fc2b2a0 /src/node/miner.cpp | |
parent | 094d9fda5ccee7d78a2e3d8b1eec17b8b6a33466 (diff) |
Delete UpdatePackagesForAdded at beginning of addPackageTxs.
As described in commit 9cea7e37158aa85119de2c81e93901da9e476ee5, this is no longer needed because priority transaction selection (addPriorityTxs) was removed in commit 272b25a6a99057fdcd5db5bce70b49625e973080.
Diffstat (limited to 'src/node/miner.cpp')
-rw-r--r-- | src/node/miner.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/node/miner.cpp b/src/node/miner.cpp index be5d58527b..01e4b81ed4 100644 --- a/src/node/miner.cpp +++ b/src/node/miner.cpp @@ -310,10 +310,6 @@ void BlockAssembler::addPackageTxs(int& nPackagesSelected, int& nDescendantsUpda // Keep track of entries that failed inclusion, to avoid duplicate work CTxMemPool::setEntries failedTx; - // Start by adding all descendants of previously added txs to mapModifiedTx - // and modifying them for their already included ancestors - UpdatePackagesForAdded(inBlock, mapModifiedTx); - CTxMemPool::indexed_transaction_set::index<ancestor_score>::type::iterator mi = m_mempool.mapTx.get<ancestor_score>().begin(); CTxMemPool::txiter iter; |