MCPcopy Create free account
hub / github.com/LUX-Core/lux / InitSanityCheck

Function InitSanityCheck

src/init.cpp:720–731  ·  view source on GitHub ↗

Sanity checks * Ensure that LUX is running in a usable environment with all * necessary library support. */

Source from the content-addressed store, hash-verified

718 * necessary library support.
719 */
720bool InitSanityCheck(void)
721{
722 if (!ECC_InitSanityCheck()) {
723 InitError("OpenSSL appears to lack support for elliptic curve cryptography. For more "
724 "information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries");
725 return false;
726 }
727 if (!glibc_sanity_test() || !glibcxx_sanity_test())
728 return false;
729
730 return true;
731}
732
733bool AppInitServers()
734{

Callers 1

AppInit2Function · 0.85

Calls 4

ECC_InitSanityCheckFunction · 0.85
InitErrorFunction · 0.85
glibc_sanity_testFunction · 0.85
glibcxx_sanity_testFunction · 0.50

Tested by

no test coverage detected