MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / KeyData

Method KeyData

src/test/checkdatasig_tests.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 CPubKey pubkey, pubkeyC, pubkeyH;
29
30 KeyData() {
31 privkey.Set(vchPrivkey, vchPrivkey + 32, false);
32 privkeyC.Set(vchPrivkey, vchPrivkey + 32, true);
33 pubkey = privkey.GetPubKey();
34 pubkeyH = privkey.GetPubKey();
35 pubkeyC = privkeyC.GetPubKey();
36 *const_cast<uint8_t *>(&pubkeyH[0]) = 0x06 | (pubkeyH[64] & 1);
37 }
38};
39
40static void CheckError(uint32_t flags, const stacktype &original_stack,

Callers

nothing calls this directly

Calls 2

SetMethod · 0.45
GetPubKeyMethod · 0.45

Tested by

no test coverage detected