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

Method AddSpecificBlindingKey

src/wallet/wallet.cpp:4104–4111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4102}
4103
4104bool CWallet::AddSpecificBlindingKey(const CScriptID& scriptid, const uint256& key)
4105{
4106 AssertLockHeld(cs_wallet); // mapSpecificBlindingKeys
4107 if (!LoadSpecificBlindingKey(scriptid, key))
4108 return false;
4109
4110 return WalletBatch(GetDatabase()).WriteSpecificBlindingKey(scriptid, key);
4111}
4112
4113bool CWallet::SetMasterBlindingKey(const uint256& key)
4114{

Callers 3

backup.cppFile · 0.80
importblindingkeyFunction · 0.80

Calls 2

WalletBatchClass · 0.85

Tested by

no test coverage detected