bitcoin/bitcoin — pull request #1045 by sipa (2012-04-05 18:32:11+00:00)
Title: Flush on log size instead of transaction count

Simplification/improvement of #1010.