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

Method SetSeed

src/hdchain.cpp:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool CHDChain::SetSeed(const SecureVector& vchSeedIn, bool fUpdateID)
134{
135 vchSeed = vchSeedIn;
136
137 if (fUpdateID) {
138 id = GetSeedHash();
139 }
140
141 return !IsNull();
142}
143
144SecureVector CHDChain::GetSeed() const
145{

Callers 3

EncryptHDChainMethod · 0.80
DecryptHDChainMethod · 0.80
GenerateNewHDChainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected