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

Function RandomData

src/test/bloom_tests.cpp:443–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443static std::vector<unsigned char> RandomData()
444{
445 uint256 r = InsecureRand256();
446 return std::vector<unsigned char>(r.begin(), r.end());
447}
448
449BOOST_AUTO_TEST_CASE(rolling_bloom)
450{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

InsecureRand256Function · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected