multi: Add 12 and 24 word seed restoration. - #33
Merged
Conversation
JoeGruffins
force-pushed
the
moreseeds
branch
from
October 21, 2025 08:35
441540b to
fe6fc61
Compare
JoeGruffins
force-pushed
the
moreseeds
branch
from
October 21, 2025 08:43
fe6fc61 to
66d9239
Compare
JoeGruffins
commented
Oct 21, 2025
JoeGruffins
commented
Oct 21, 2025
JoeGruffins
force-pushed
the
moreseeds
branch
from
October 22, 2025 08:12
66d9239 to
07ce00b
Compare
JoeGruffins
marked this pull request as ready for review
October 22, 2025 08:19
JoeGruffins
force-pushed
the
moreseeds
branch
from
October 23, 2025 05:10
07ce00b to
bf9985b
Compare
Member
Author
|
Allowing for different length mnemonics and add more tests https://github.com/decred/libwallet/compare/07ce00bf6fe9e3378a8b41d69f176b9397e46a77..bf9985b286b73e4a6478cb994a9ab4e34dcb1a20 |
JoeGruffins
force-pushed
the
moreseeds
branch
from
October 23, 2025 05:28
bf9985b to
9525d9d
Compare
JoeGruffins
commented
Oct 23, 2025
| switch nWords { | ||
| case 15: | ||
| seed, birthday, err = dexmnemonic.DecodeMnemonic(cfg.Mnemonic) | ||
| seedType = dcr.STFifteenWords |
Member
Author
There was a problem hiding this comment.
Maybe doesn't even need the type... If this is how we tell in the beginning, can just always do this I guess
Member
Author
There was a problem hiding this comment.
Leaving the type for now. I guess could have more types in the future that are the same length as current. This also reads better later.
jrick
approved these changes
Oct 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #32