Browse Source
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.miguelfreitas
Pieter Wuille
12 years ago
2 changed files with 28 additions and 3 deletions
Loading…
Reference in new issue