mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-08 21:20:41 +02:00
Eliminate unnecessary call to UpdatePackagesForAdded
This is unnecessary now that priority transaction selection is gone.
This commit is contained in:
@@ -351,10 +351,6 @@ void BlockAssembler::addPackageTxs(int &nPackagesSelected, int &nDescendantsUpda
|
|||||||
// Keep track of entries that failed inclusion, to avoid duplicate work
|
// Keep track of entries that failed inclusion, to avoid duplicate work
|
||||||
CTxMemPool::setEntries failedTx;
|
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 = mempool.mapTx.get<ancestor_score>().begin();
|
CTxMemPool::indexed_transaction_set::index<ancestor_score>::type::iterator mi = mempool.mapTx.get<ancestor_score>().begin();
|
||||||
CTxMemPool::txiter iter;
|
CTxMemPool::txiter iter;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user