MCPcopy Create free account
hub / github.com/LUX-Core/lux / SetMnemonic

Method SetMnemonic

src/hdchain.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool CHDChain::SetMnemonic(const SecureVector& vchMnemonic, const SecureVector& vchMnemonicPassphrase, bool fUpdateID)
76{
77 return SetMnemonic(SecureString(vchMnemonic.begin(), vchMnemonic.end()), SecureString(vchMnemonicPassphrase.begin(), vchMnemonicPassphrase.end()), fUpdateID);
78}
79
80bool CHDChain::SetMnemonic(const SecureString& ssMnemonic, const SecureString& ssMnemonicPassphrase, bool fUpdateID)
81{

Callers 3

EncryptHDChainMethod · 0.80
DecryptHDChainMethod · 0.80
GenerateNewHDChainMethod · 0.80

Calls 4

CheckFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected