bitcoin/bitcoin — pull request #2796 by gmaxwell (2013-06-25 19:10:09+00:00)
Title: Make the rand tests determinstic.

This avoids spurious errors with the old tests but still tests
enough that if the rng is replaced with a totally broken one
it should still fail.