MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / InitSanityCheck

Function InitSanityCheck

src/init.cpp:714–730  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

712 * necessary library support.
713 */
714static bool InitSanityCheck(void)
715{
716 if(!ECC_InitSanityCheck()) {
717 InitError("Elliptic curve cryptography sanity check failure. Aborting.");
718 return false;
719 }
720
721 if (!glibc_sanity_test() || !glibcxx_sanity_test())
722 return false;
723
724 if (!Random_SanityCheck()) {
725 InitError("OS cryptographic RNG sanity check failure. Aborting.");
726 return false;
727 }
728
729 return true;
730}
731
732static bool AppInitServers()
733{

Callers 1

AppInitSanityChecksFunction · 0.85

Calls 5

ECC_InitSanityCheckFunction · 0.85
InitErrorFunction · 0.85
glibc_sanity_testFunction · 0.85
glibcxx_sanity_testFunction · 0.85
Random_SanityCheckFunction · 0.85

Tested by

no test coverage detected