-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mnemonic support #400
Mnemonic support #400
Conversation
cACK, will test this when I have spare time |
} | ||
|
||
|
||
//long_hash decode_mnemonic(const word_list& mnemonic, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we need to leave this code in?
@@ -150,13 +150,13 @@ NavCoinGUI::NavCoinGUI(const PlatformStyle *platformStyle, const NetworkStyle *n | |||
prevBlocks(0), | |||
spinnerFrame(0), | |||
fDontShowAgain(false), | |||
lastDialogShown(0), | |||
unlockWalletAction(0), | |||
lockWalletAction(0), | |||
toggleStakingAction(0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this code for?
@@ -25,7 +25,6 @@ NavTechInit::~NavTechInit() | |||
void NavTechInit::ShowNavtechIntro(bool exitAfter) | |||
{ | |||
NavTechInit navtechinit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this code for?
@matt-auckland going to evaluate functionality and report back |
I manually tested Just wondering, why not add support for the remaining languages that are already in dictionary.cpp? I also think 8051262 maybe should be moved out to a separate commit. |
This reverts commit 1bdd883.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pending Travis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested with English and Japanese.
Seems to work fine ✅
I checked if it would fail if I mixed languages ✅
I checked if it would fail if I used an incorrect spelling in the mnemonic ✅
I checked if it would work if I used the wrong number of words ✅
This PR adds a new RPC command to export the existing master private key encoded as a mnemonic:
dumpmnemonic
It admits an argument specifying the language.
Support for two new wallet options (-importmnemonic and -mnemoniclanguage) have also been added to allow to create a new wallet from the specified mnemonic.
Testing needed.