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

Method HaveMinerKey

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

Source from the content-addressed store, hash-verified

142void CKeyCombi::SetMainKey(CKey& mainKey) { mMainCkey = mainKey; }
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 {

Callers 5

GetKeysMethod · 0.80
IsReadyForColdMiningMethod · 0.80
GetKeysMethod · 0.80
listaddrFunction · 0.80
importwalletFunction · 0.80

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected