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

feat(wallet-lib): rework storage for multiple key chains #231

Merged
merged 3 commits into from
Feb 7, 2022

Conversation

Alex-Werner
Copy link
Contributor

Issue being fixed or feature implemented

In dashevo/wallet-lib#351, we introduced multiple features that couldn't be managed as is due to their size.
This PR only adds two new types allowing future registration of derivation path via the introduction of DerivableKeyChain and its KeyChainStore manager.
It does not modify the current state (similar insertion to with ChainStore and WalletStore).

What was done?

  • feat: introduce KeyChainStore
  • feat: introduce DerivableKeyChain

How Has This Been Tested?

  • Added test coverage

Breaking Changes

N/A

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shumkov
Copy link
Member

shumkov commented Jan 31, 2022

We decided to do not to merge it yet to v0.22. We probably should merge it to v0.22.x-dev?

@markin-io markin-io self-requested a review February 7, 2022 05:46
@markin-io markin-io changed the base branch from v0.22-dev to v0.23-dev February 7, 2022 10:47
@markin-io markin-io changed the title feat: introduce KeyChainStore and DerivableKeyChain feat(wallet-lib): rework storage for multiple key chains Feb 7, 2022
@markin-io markin-io modified the milestones: v0.22.0, v0.23.0 Feb 7, 2022
@markin-io markin-io merged commit 778bfce into v0.23-dev Feb 7, 2022
@markin-io markin-io deleted the feat/KeyChainStore branch February 7, 2022 11:10
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