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

Function ECC_InitSanityCheck

src/key.cpp:336–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336bool ECC_InitSanityCheck() {
337 CKey key;
338 key.MakeNewKey(true);
339 CPubKey pubkey = key.GetPubKey();
340 return key.VerifyPubKey(pubkey);
341}
342
343void ECC_Start() {
344 assert(secp256k1_context_sign == nullptr);

Callers 2

InitSanityCheckFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

MakeNewKeyMethod · 0.80
VerifyPubKeyMethod · 0.80
GetPubKeyMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68