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

client/asset: use compatible wallet dir and rework moveWalletData #2018

Merged
merged 1 commit into from Jan 11, 2023

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Dec 30, 2022

Resolves #2014

This reverts the BTC SPV wallet data directory so that there is no trailing "spv" folder. This allows existing native BTC wallets created with 0.5 to be usable with 0.6, otherwise 0.6/master does not find them.

This also reworks how the wallet backups are done so that all files in the native wallet directory are moved one at a time, skipping the "logs" folder so that the log rotator used by the package-level loggers is not interrupted. There is no longer an "spvlogs" folder; it is back to the "logs" folder adjacent to the other neutrino and wallet db files.

Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

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

Can confirm that v0.5.8 -> master does not find spv wallets and this pr does.

@chappjc chappjc added this to the 0.6 milestone Jan 4, 2023
@chappjc chappjc added wallet Client wallet backends bug bug or bugfix labels Jan 4, 2023
@chappjc chappjc merged commit 572a8d6 into decred:master Jan 11, 2023
@chappjc chappjc deleted the spv-dir-logs-path branch January 11, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug or bugfix wallet Client wallet backends
Projects
None yet
Development

Successfully merging this pull request may close these issues.

legacy native spv wallets cannot upgrade
3 participants