MCPcopy Create free account
hub / github.com/ElementsProject/elements / LoadCryptedKey

Method LoadCryptedKey

src/wallet/scriptpubkeyman.cpp:829–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829bool LegacyScriptPubKeyMan::LoadCryptedKey(const CPubKey &vchPubKey, const std::vector<unsigned char> &vchCryptedSecret, bool checksum_valid)
830{
831 // Set fDecryptionThoroughlyChecked to false when the checksum is invalid
832 if (!checksum_valid) {
833 fDecryptionThoroughlyChecked = false;
834 }
835
836 return AddCryptedKeyInner(vchPubKey, vchCryptedSecret);
837}
838
839bool LegacyScriptPubKeyMan::AddCryptedKeyInner(const CPubKey &vchPubKey, const std::vector<unsigned char> &vchCryptedSecret)
840{

Callers 1

walletdb.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected