MCPcopy Create free account
hub / github.com/ElementsProject/elements / InsecureRand32

Function InsecureRand32

src/test/util/setup_common.h:72–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static inline uint32_t InsecureRand32() { return g_insecure_rand_ctx.rand32(); }
73static inline uint256 InsecureRand256() { return g_insecure_rand_ctx.rand256(); }
74static inline uint64_t InsecureRandBits(int bits) { return g_insecure_rand_ctx.randbits(bits); }
75static inline uint64_t InsecureRandRange(uint64_t range) { return g_insecure_rand_ctx.randrange(range); }

Callers 14

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
RandomTransactionFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
SimulationTestFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
test_cacheFunction · 0.85
test_cache_eraseFunction · 0.85

Calls 1

rand32Method · 0.80

Tested by

no test coverage detected