2 min read
Add as a preferred source on Google

Bitcoin Core Disables encryptwallet RPC by Default in Development Builds

First-time encryption creates a new seed and active address descriptors, leaving older backups unable to recover funds sent to addresses derived from that seed.

Mentioned assets
Hardware wallet and offline drive arranged inside a metal security case / TokenPost.ai
Hardware wallet and offline drive arranged inside a metal security case / TokenPost.ai

Bitcoin Core has disabled the encryptwallet RPC by default in development builds containing a Nov. 20 change, while warning users to replace backups after first-time wallet encryption.

First-time use of encryptwallet encrypts an existing wallet and generates a new seed along with active descriptors, the rules used to derive wallet addresses and keys. A backup created before that process does not include the new seed.

The older backup can still recover funds controlled by keys it already contains or can derive. That includes later payments sent to previously covered addresses. It may not recover Bitcoin (BTC) sent to addresses derived from the new seed.

Bitcoin Core directs users who still have access to an encrypted wallet to create a fresh copy with backupwallet. The wallet guide recommends storing backups on reliable offline devices.

If the live wallet and all usable copies containing the new key material are lost, restoring only the older backup will not recover funds held at addresses derived from the new seed. Older unencrypted backup files may retain private key material and should be protected.

The change affects automation that creates an unencrypted wallet and encrypts it in a separate RPC call. Scripts using that workflow must start bitcoind with -deprecatedrpc=encryptwallet during the deprecation period.

For new wallets, automation can provide a passphrase to createwallet at creation. Existing encrypted wallets remain supported, and users can update their passphrases with walletpassphrasechange.

Bitcoin Core plans to remove the encryptwallet RPC in a future major release, but the development note does not specify which version will remove it.

Simon Yoon

Reporter

Simon Yoon reports on blockchain technology for TokenPost. Send corrections or tips to info@tokenpost.com.

Loading…