Skip to content

When update bitcoinlib version, can't use previous database #409

Answered by mccwdev
b0r1ngx asked this question in Q&A
Discussion options

You must be logged in to vote

When migrating between major version, for example from a 0.6.x version to 0.7.x you cannot use the same database.

You have to create a new database, import master keys from previous database and rescan all wallets.

The database files can be found at ~/.bitcoinlib/database

And an example of a way to import an old database can be found at bitcoinlib/tools/import_database.py

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mccwdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #407 on July 19, 2024 11:45.