Try to migrate Bitcoin Core wallet to an HD wallet but get "St13runtime" exception

0

I am trying to follow these steps to migrate my wallet to an HD wallet. But it failed, the debug log has errors like this:

EXCEPTION: St13runtime_error
DeriveNewSeed: AddKeyPubKey failed
bitcoin in AppInit()

After some quick search, I found the #issue14422 of bitcoin is related to this issue, which says the upgradewallet option does not work when the wallet is encrypted. The issue is still open and no solution is given. So how can I upgrade my wallet to the HD wallet?

TRX

Posted 2019-10-13T05:10:35.700

Reputation: 1

Answers

0

The answer you linked explains how to migrate without using upgradewallet in the section "Versions of Bitcoin Core prior to 0.17`. You will need to follow those steps instead.

Andrew Chow

Posted 2019-10-13T05:10:35.700

Reputation: 40 910

I am using the latest v0.18.1, is it safe to follow these pre-0.17 steps?TRX 2019-10-14T02:43:07.697

Yes it is safe.Andrew Chow 2019-10-14T04:34:59.597

I see, one more question, can I reduce the transaction fee to 0? And can I import my old BTC address to the new wallet so I can continue use it?TRX 2019-10-14T12:00:30.023

No, you cannot reduce the transaction fee to 0. Yes, you can import your old private keys into the new wallet to continue to use them. However this is not recommended as it is address reuse (which is not recommended for privacy reasons).Andrew Chow 2019-10-14T14:53:46.913

Thanks. My old address is published on the web for a while, so I want to monitor it in case of any income coming in the future.TRX 2019-10-15T02:08:40.490