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

Method SetMainKey

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

Source from the content-addressed store, hash-verified

140 }
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(); }

Callers 2

GetKeyCombiMethod · 0.80
importprivkeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected