Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,190 Lines • ▼ Show 20 Lines | static void ThreadImport(const Config &config, | ||||
} | } | ||||
g_is_mempool_loaded = !fRequestShutdown; | g_is_mempool_loaded = !fRequestShutdown; | ||||
} | } | ||||
/** Sanity checks | /** Sanity checks | ||||
* Ensure that Bitcoin is running in a usable environment with all | * Ensure that Bitcoin is running in a usable environment with all | ||||
* necessary library support. | * necessary library support. | ||||
*/ | */ | ||||
static bool InitSanityCheck(void) { | static bool InitSanityCheck() { | ||||
if (!ECC_InitSanityCheck()) { | if (!ECC_InitSanityCheck()) { | ||||
InitError( | InitError( | ||||
"Elliptic curve cryptography sanity check failure. Aborting."); | "Elliptic curve cryptography sanity check failure. Aborting."); | ||||
return false; | return false; | ||||
} | } | ||||
if (!glibc_sanity_test() || !glibcxx_sanity_test()) { | if (!glibc_sanity_test() || !glibcxx_sanity_test()) { | ||||
return false; | return false; | ||||
▲ Show 20 Lines • Show All 1,273 Lines • Show Last 20 Lines |