MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ECC_InitSanityCheck

Function ECC_InitSanityCheck

src/key.cpp:442–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442bool ECC_InitSanityCheck() {
443 CKey key = GenerateRandomKey();
444 CPubKey pubkey = key.GetPubKey();
445 return key.VerifyPubKey(pubkey);
446}
447
448secp256k1_context* GetSecp256k1SignContext()
449{

Callers 2

AppInitSanityChecksFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

GenerateRandomKeyFunction · 0.85
VerifyPubKeyMethod · 0.80
GetPubKeyMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68