bitcoin/bitcoin — pull request #5433 by TheBlueMatt (2014-12-06 08:32:34+00:00)
Title: Mempoolconflict

Based on #5267. The conflicted transaction tracking during mempool remove is actually critical for balance stability, as @dgenr8 and @morcos pointed out in previously...but for a very subtle reason. When we called SyncTransaction, it was doing a ton of work...just to uncache the balance. Instead, this pull replaces the SyncTransaction call with a new wallet signal, which only provides the transaction hash, making the removed tracking a bit lighter weight.