Open Einliterflasche opened 6 days ago
Oh boy. It looks like we'll have to upgrade bitcoin
as well, since bdk_wallet@1.0.0
uses bitcoin@0.32
but we use bitcoin@0.29
. I did that and instantly received ~500 compile errors. This upgrade is not at all trivial.
Oh boy. It looks like we'll have to upgrade
bitcoin
as well, sincebdk_wallet@1.0.0
usesbitcoin@0.32
but we usebitcoin@0.29
. I did that and instantly received ~500 compile errors. This upgrade is not at all trivial.
That's a bummer but I'd assume it's mostly a few API changes that propogate through the codebase. The Bitcoin protocol hasn't changed.
Probably. The changelog isn't very clear on that, sadly.
We also have to consider that this upgrade could be a breaking network upgrade if the serde serialization structures have changed.
I haven't looked too much what you are doing here but fyi you do not really need to do any backwards compatability stuff. Our descriptor is derived from our seed.pem
which does not change, and we can just re-scan our wallet at first startup.
The docs recommended that we get the revelation indices of the wallet to speed up the migration, so that's why I kept some of the old wallet code around
This closes #98.