Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
442
bool ECC_InitSanityCheck() {
443
CKey key = GenerateRandomKey();
444
CPubKey pubkey = key.GetPubKey();
445
return key.VerifyPubKey(pubkey);
446
}
447
448
secp256k1_context* GetSecp256k1SignContext()
449
{
Callers
2
AppInitSanityChecks
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
Calls
3
GenerateRandomKey
Function · 0.85
VerifyPubKey
Method · 0.80
GetPubKey
Method · 0.45
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.68