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

Create wallet data migration process #1606

Open
notmandatory opened this issue Sep 12, 2024 · 0 comments
Open

Create wallet data migration process #1606

notmandatory opened this issue Sep 12, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@notmandatory
Copy link
Member

notmandatory commented Sep 12, 2024

Describe the enhancement

Create code and/or documentation to help pre-1.0 bdk wallet users migrate wallet data to a new 1.0 bdk_wallet. The essential information that needs to be migrated are the descriptors and their corresponding revealed indexes. Transaction and other wallet data does not need to be migrated, it can be re-loaded from a blockchain client.

The migration process should be database agnostic. Example docs should at least show how to do it with a SQLite database.

Use case

This is needed to help existing pre-1.0 bdk users upgrade to bdk_wallet 1.0+.

Additional context

This was requested by @tnull but other users will also need this feature to be able to easily upgrade their projects to the bdk_wallet 1.0+ releases.

One option is to enhance the existing wallet wallet::export code to export and import descriptors with their revealed index info.

@notmandatory notmandatory added the new feature New feature or request label Sep 12, 2024
@notmandatory notmandatory added this to the 1.0.0-beta milestone Sep 12, 2024
@notmandatory notmandatory changed the title Create migration process for moving pre-1.0 to 1.0 database Create wallet data migration process Sep 12, 2024
@notmandatory notmandatory added documentation Improvements or additions to documentation and removed new feature New feature or request labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Todo
Development

No branches or pull requests

1 participant