HomePhabricator

Bugfix: remove conflicting transactions from memory pool
231b399952fdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Bugfix: remove conflicting transactions from memory pool

When a transaction A is in the memory pool, while a transaction B
(which shares an input with A) gets accepted into a block, A was
kept forever in the memory pool.

This commit adds a CTxMemPool::removeConflicts method, which
removes transactions that conflict with a given transaction, and
all their children.

This results in less transactions in the memory pool, and faster
construction of new blocks.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Nov 24 2012, 13:26
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGc07a1a6ee4d3: Merge pull request #1980 from sipa/noreorgsame
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGING231b399952fd: Bugfix: remove conflicting transactions from memory pool (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 25 2012, 10:50