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

Method GetKey

src/entities/keystore.h:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 bool GetKey(const CKeyID &keyid, CKey &keyOut, bool fMiner = false) const {
125 LOCK(cs_KeyStore);
126
127 KeyMap::const_iterator mi = mapKeys.find(keyid);
128 if (mi != mapKeys.end())
129 return mi->second.GetCKey(keyOut, fMiner);
130
131 return false;
132 }
133
134 virtual bool GetKeyCombi(const CKeyID &address, CKeyCombi &keyCombiOut) const;
135

Callers

nothing calls this directly

Calls 3

GetCKeyMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected