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

Function InsecureRandRange

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

Source from the content-addressed store, hash-verified

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(); }
77
78static constexpr CAmount CENT{1000000};

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.85
BuildSingleTestFunction · 0.85
BuildBigPriorityTestFunction · 0.85
DamageMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
Correct_Queue_rangeFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
RandomScriptFunction · 0.85
RandomTransactionFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

randrangeMethod · 0.80

Tested by

no test coverage detected