MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / RandomData

Function RandomData

src/test/bloom_tests.cpp:463–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static std::vector<unsigned char> RandomData()
464{
465 uint256 r = GetRandHash();
466 return std::vector<unsigned char>(r.begin(), r.end());
467}
468
469BOOST_AUTO_TEST_CASE(rolling_bloom)
470{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

GetRandHashFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected