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

Function GetRandInt

src/random.cpp:593–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593int GetRandInt(int nMax) noexcept
594{
595 return GetRand(nMax);
596}
597
598uint256 GetRandHash() noexcept
599{

Callers 6

ThreadOpenConnectionsMethod · 0.85
spend.cppFile · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
issueasset_baseFunction · 0.85
reissueasset_baseFunction · 0.85

Calls 1

GetRandFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68