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

Method SetMasterBlindingKey

src/wallet/wallet.cpp:4113–4121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4111}
4112
4113bool CWallet::SetMasterBlindingKey(const uint256& key)
4114{
4115 AssertLockHeld(cs_wallet);
4116 if (!WalletBatch(GetDatabase()).WriteBlindingDerivationKey(key)) {
4117 return false;
4118 }
4119 blinding_derivation_key = key;
4120 return true;
4121}
4122
4123// END ELEMENTS
4124//

Callers 2

LoadWalletMethod · 0.80
importmasterblindingkeyFunction · 0.80

Calls 2

WalletBatchClass · 0.85

Tested by

no test coverage detected