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

Function InsecureRand256

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

Source from the content-addressed store, hash-verified

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); }
76static inline bool InsecureRandBool() { return g_insecure_rand_ctx.randbool(); }

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.85
create_placeholder_txFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
NewTxHashMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
RandomTransactionFunction · 0.85
SimulationTestFunction · 0.85
FindRandomFromFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BuildBlockTestCaseFunction · 0.85

Calls 1

rand256Method · 0.80

Tested by

no test coverage detected