MCPcopy Create free account
hub / github.com/LUX-Core/lux / HaveKey

Method HaveKey

src/wallet.cpp:287–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287bool CWallet::HaveKey(const CKeyID &address) const
288{
289 LOCK(cs_wallet);
290 if (mapHdPubKeys.count(address) > 0)
291 return true;
292 return CCryptoKeyStore::HaveKey(address);
293}
294
295bool CWallet::LoadHDPubKey(const CHDPubKey &hdPubKey)
296{

Callers 8

HaveKeysFunction · 0.45
IsMineFunction · 0.45
importprivkeyFunction · 0.45
importwalletFunction · 0.45
bip38decryptFunction · 0.45
operator()Method · 0.45
havePrivKeyMethod · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected