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

Method HasMainKey

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

Source from the content-addressed store, hash-verified

143void CKeyCombi::SetMinerKey(CKey& minerKey) { mMinerCkey = minerKey; }
144bool CKeyCombi::HaveMinerKey() const { return mMinerCkey.IsValid(); }
145bool CKeyCombi::HasMainKey() const { return mMainCkey.IsValid(); }
146
147bool CKeyStore::GetPubKey(const CKeyID& address, CPubKey& vchPubKeyOut, bool IsMine) const {
148 CKey key;

Callers 4

GetKeysMethod · 0.45
AddKeyMethod · 0.45
ReadKeyValueFunction · 0.45
importwalletFunction · 0.45

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected