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

Function SetGlobals

src/init/common.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25namespace init {
26void SetGlobals()
27{
28 std::string sha256_algo = SHA256AutoDetect();
29 LogPrintf("Using the '%s' SHA256 implementation\n", sha256_algo);
30 RandomInit();
31 ECC_Start();
32 globalVerifyHandle.reset(new ECCVerifyHandle());
33}
34
35void UnsetGlobals()
36{

Callers 1

AppInitSanityChecksFunction · 0.85

Calls 4

SHA256AutoDetectFunction · 0.85
RandomInitFunction · 0.85
ECC_StartFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected