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

Method GetPubKey

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

Source from the content-addressed store, hash-verified

91}
92
93bool CKeyCombi::GetPubKey(CPubKey& mOutKey, bool IsMine) const {
94 if (IsMine) {
95 if (mMinerCkey.IsValid()) {
96 mOutKey = mMinerCkey.GetPubKey();
97 return true;
98 }
99 return false;
100 }
101 mOutKey = mMainCkey.GetPubKey();
102 return true;
103}
104
105string CKeyCombi::ToString() const {
106 string str("");

Callers 4

ToJsonObjMethod · 0.45
CKeyCombiMethod · 0.45
ToStringMethod · 0.45
GetCKeyIDMethod · 0.45

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected