MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / LoadCryptedKey

Method LoadCryptedKey

src/wallet/scriptpubkeyman.cpp:321–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321bool LegacyDataSPKM::LoadCryptedKey(const CPubKey &vchPubKey, const std::vector<unsigned char> &vchCryptedSecret, bool checksum_valid)
322{
323 // Set fDecryptionThoroughlyChecked to false when the checksum is invalid
324 if (!checksum_valid) {
325 fDecryptionThoroughlyChecked = false;
326 }
327
328 return AddCryptedKeyInner(vchPubKey, vchCryptedSecret);
329}
330
331bool LegacyDataSPKM::AddCryptedKeyInner(const CPubKey &vchPubKey, const std::vector<unsigned char> &vchCryptedSecret)
332{

Callers 1

LoadCryptedKeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected