mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-19 19:29:45 +02:00
rpc: Add testmempoolaccept
This commit is contained in:
@@ -447,7 +447,7 @@ void CTxMemPool::removeUnchecked(txiter it, MemPoolRemovalReason reason)
|
||||
// Also assumes that if an entry is in setDescendants already, then all
|
||||
// in-mempool descendants of it are already in setDescendants as well, so that we
|
||||
// can save time by not iterating over those entries.
|
||||
void CTxMemPool::CalculateDescendants(txiter entryit, setEntries &setDescendants)
|
||||
void CTxMemPool::CalculateDescendants(txiter entryit, setEntries& setDescendants) const
|
||||
{
|
||||
setEntries stage;
|
||||
if (setDescendants.count(entryit) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user