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

Function InsecureRandBool

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

Source from the content-addressed store, hash-verified

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};
79

Callers 13

NewGTxidMethod · 0.85
BuildPriorityTestFunction · 0.85
BuildBigPriorityTestFunction · 0.85
BuildWtxidTestFunction · 0.85
BuildTimeBackwardsTestFunction · 0.85
BuildWeirdRequestsTestFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
RandomTransactionFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
GetCoinMethod · 0.85
SimulationTestFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

randboolMethod · 0.80

Tested by

no test coverage detected