MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetCKey

Method GetCKey

src/entities/keystore.cpp:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117bool CKeyCombi::GetCKey(CKey& keyOut, bool fMiner) const {
118 keyOut = fMiner ? mMinerCkey : mMainCkey;
119
120 return keyOut.IsValid();
121}
122
123bool CKeyCombi::CreateANewKey() {
124 CleanAll();

Callers 3

AddKeyCombiMethod · 0.80
EncryptKeysMethod · 0.80
GetKeyMethod · 0.80

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected