Add SHA256 dispatcher

This commit is contained in:
Pieter Wuille
2017-07-13 23:26:04 -07:00
parent 4d50f38fe0
commit 2991c91d88
5 changed files with 23 additions and 2 deletions

View File

@@ -1161,6 +1161,8 @@ bool AppInitSanityChecks()
// ********************************************************* Step 4: sanity checks
// Initialize elliptic curve code
std::string sha256_algo = SHA256AutoDetect();
LogPrintf("Using the '%s' SHA256 implementation\n", sha256_algo);
RandomInit();
ECC_Start();
globalVerifyHandle.reset(new ECCVerifyHandle());