bitcoin/bitcoin — pull request #1575 by laanwj (2012-07-10 13:31:35+00:00)
Title: (UI) Persistently poll for balance change when number of blocks changed

Fixes #1452.

Until we can make the logic water-tight *and* are notified in every case the balance might have changed (either due to blocks maturing, or outputs spent), remove the premature optimization and simply recompute the balance every half a second when the number of blocks changed.

Shouldn't make any impact on performance in practice.