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

Format Cleanup #280

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Format Cleanup #280

wants to merge 2 commits into from

Conversation

samholmes
Copy link
Contributor

No description provided.

@samholmes samholmes marked this pull request as draft January 21, 2022 02:08
This implements a single algorithm responsible for getting a wallet's
primaryFormat.
This function uses the existing algorithm for publicKeys and is
now also used in `createPrivateKey`.
This change should be an idempotent, but guarantees our future changes
(about how we select the primary key) is couple to the appropriate
routines.
The goal is to future-proof our existing implementation for when we
enable new wallet formats.

We do not introduce any side-effects to existing wallets (wallets
already persisted prior to any change).
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.

1 participant