| 4102 | } |
| 4103 | |
| 4104 | bool 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 | |
| 4113 | bool CWallet::SetMasterBlindingKey(const uint256& key) |
| 4114 | { |
no test coverage detected