@@ -33,7 +33,7 @@ BOOST_AUTO_TEST_SUITE(cuckoocache_tests);
3333 */
3434BOOST_AUTO_TEST_CASE (test_cuckoocache_no_fakes)
3535{
36- SeedInsecureRand (true );
36+ SeedInsecureRand (SeedRand::ZEROS );
3737 CuckooCache::cache<uint256, SignatureCacheHasher> cc{};
3838 size_t megabytes = 4 ;
3939 cc.setup_bytes (megabytes << 20 );
@@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(test_cuckoocache_no_fakes)
5252template <typename Cache>
5353double test_cache (size_t megabytes, double load)
5454{
55- SeedInsecureRand (true );
55+ SeedInsecureRand (SeedRand::ZEROS );
5656 std::vector<uint256> hashes;
5757 Cache set{};
5858 size_t bytes = megabytes * (1 << 20 );
@@ -123,7 +123,7 @@ template <typename Cache>
123123void test_cache_erase (size_t megabytes)
124124{
125125 double load = 1 ;
126- SeedInsecureRand (true );
126+ SeedInsecureRand (SeedRand::ZEROS );
127127 std::vector<uint256> hashes;
128128 Cache set{};
129129 size_t bytes = megabytes * (1 << 20 );
@@ -186,7 +186,7 @@ template <typename Cache>
186186void test_cache_erase_parallel (size_t megabytes)
187187{
188188 double load = 1 ;
189- SeedInsecureRand (true );
189+ SeedInsecureRand (SeedRand::ZEROS );
190190 std::vector<uint256> hashes;
191191 Cache set{};
192192 size_t bytes = megabytes * (1 << 20 );
@@ -288,7 +288,7 @@ void test_cache_generations()
288288 // iterations with non-deterministic values, so it isn't "overfit" to the
289289 // specific entropy in FastRandomContext(true) and implementation of the
290290 // cache.
291- SeedInsecureRand (true );
291+ SeedInsecureRand (SeedRand::ZEROS );
292292
293293 // block_activity models a chunk of network activity. n_insert elements are
294294 // adde to the cache. The first and last n/4 are stored for removal later
0 commit comments