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

Upgrade bdk library #98

Open
binarybaron opened this issue Sep 23, 2024 · 2 comments
Open

Upgrade bdk library #98

binarybaron opened this issue Sep 23, 2024 · 2 comments
Labels
crate: swap Related to the "swap" crate

Comments

@binarybaron
Copy link

binarybaron commented Sep 23, 2024

According to a core developer of the bdk library comit-network#1772 can probably be fixed by upgrading to the latest version of the crate. They added a bunch of improvements to the syncing logic.

@binarybaron binarybaron added the crate: swap Related to the "swap" crate label Sep 23, 2024
@binarybaron
Copy link
Author

This is currently blocked by bitcoindevkit/bdk#1606. We need a way to migrate the wallet data.

@binarybaron
Copy link
Author

Turns out the issue is not really blocking our migration. We can just switch to 1.0.0-alpha version of bdk. The descriptors and keys are derived from our seed. The first sync post-upgrade will take a while but all data currently stored in the sled wallet database can be derived from the blockchain state. We won't loose any data aside from caches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: swap Related to the "swap" crate
Projects
None yet
Development

No branches or pull requests

1 participant