monero-project/bitmonero — pull request #117 by rfree2monero (2014-09-04 19:11:25+00:00)
Title: Fix 514 tx bug: Fix tree-hash cnt n^2. Asserts, comment. Squash2

That should work, but please finish testing before merge.