Skip to content
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

perf: optimize seed creation #648

Merged
merged 4 commits into from
Oct 18, 2023
Merged

perf: optimize seed creation #648

merged 4 commits into from
Oct 18, 2023

Conversation

0xApotheosis
Copy link
Contributor

@0xApotheosis 0xApotheosis commented Oct 18, 2023

Use a better pbkdf2 implementation in bip39 seed creation to significantly improve performance.

Related issue: shapeshift/web#5467

Before:

Screenshot 2023-10-18 at 11 01 23 am

After:

Screenshot 2023-10-18 at 11 01 32 am

@vercel
Copy link

vercel bot commented Oct 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hdwallet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 8:35pm

gomesalexandre
gomesalexandre previously approved these changes Oct 18, 2023
Copy link
Contributor

@gomesalexandre gomesalexandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested locally and didn't find any regression in wallet import / unlock on refresh

FYI @0xApotheosis , re-tagged the latest commit with v1.52.3 to ensure we get the no carets version published - https://github.com/shapeshift/hdwallet/releases/tag/v1.52.3

@0xApotheosis 0xApotheosis merged commit 6805444 into master Oct 18, 2023
6 checks passed
@0xApotheosis 0xApotheosis deleted the optimise-seed-creation branch October 18, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants