Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
336
bool ECC_InitSanityCheck() {
337
CKey key;
338
key.MakeNewKey(true);
339
CPubKey pubkey = key.GetPubKey();
340
return key.VerifyPubKey(pubkey);
341
}
342
343
void ECC_Start() {
344
assert(secp256k1_context_sign == nullptr);
Callers
2
InitSanityCheck
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
Calls
3
MakeNewKey
Method · 0.80
VerifyPubKey
Method · 0.80
GetPubKey
Method · 0.45
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.68