Update documentation for GenerateNewSeed.

This commit is contained in:
Kris Nuttycombe 2021-11-06 11:10:40 -05:00
parent 7860d6ede3
commit f31b3c2190
1 changed files with 5 additions and 3 deletions

View File

@ -1296,9 +1296,11 @@ public:
bool IsHDFullyEnabled() const; bool IsHDFullyEnabled() const;
/* Generates a new HD seed (will reset the chain child index counters) /* Generates a new HD seed (will reset the chain child index counters)
Sets the seed's version based on the current wallet version (so the * by randomly generating a mnemonic phrase that can be used for wallet
caller must ensure the current wallet version is correct before calling * recovery, and deriving the HD seed from that phrase in accordance with
this function). */ * BIP 39 / ZIP 339. Sets the seed's version based on the current wallet
* version (the caller must ensure the current wallet version is correct
* before calling this function). */
void GenerateNewSeed(Language language = English); void GenerateNewSeed(Language language = English);
bool SetMnemonicSeed(const MnemonicSeed& seed); bool SetMnemonicSeed(const MnemonicSeed& seed);