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

Method SetMinerKey

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

Source from the content-addressed store, hash-verified

141}
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

Callers 1

importprivkeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected