mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Revert "Relay double-spends, subject to anti-DOS"
This reverts commit d640a3ceab.
This commit is contained in:
parent
3015e0bca6
commit
98e84aae7a
6 changed files with 15 additions and 109 deletions
|
|
@ -420,6 +420,7 @@ void CTxMemPool::remove(const CTransaction &tx, std::list<CTransaction>& removed
|
|||
void CTxMemPool::removeConflicts(const CTransaction &tx, std::list<CTransaction>& removed)
|
||||
{
|
||||
// Remove transactions which depend on inputs of tx, recursively
|
||||
list<CTransaction> result;
|
||||
LOCK(cs);
|
||||
BOOST_FOREACH(const CTxIn &txin, tx.vin) {
|
||||
std::map<COutPoint, CInPoint>::iterator it = mapNextTx.find(txin.prevout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue