This guide explains Bitcoin Core dumpwallet RPC in plain English. It shows what the command does, what its result means and what it cannot prove.
TL;DR
- What it is: Bitcoin Core 0.16.0 dumpwallet wrote wallet keys and scripts in a human-readable server-side file and returned its full absolute path. It refused to overwrite an existing file.
- Why it matters: dumpwallet can preserve keys and scripts a seed alone misses, but it creates an exceptionally sensitive recovery artefact. Its value depends on protected storage, explicit script context and a complete isolated import and rescan test.
- Current position: Bitcoin Core 0.16.0 dumpwallet wrote wallet keys and scripts in a human-readable server-side file and returned its full absolute path.
Bitcoin Core dumpwallet RPC in simple English
Bitcoin Core dumpwallet RPC: Core 0.16 included imported scripts in dump files, but importwallet might not automatically add corresponding BIP 173 addresses and could require a manual rescan.
Simple example
A miner is checking Bitcoin Core dumpwallet RPC. Preserve the exact scripts, network and intended address type in a separate recovery manifest, then compare receive and change scripts after import rather than relying on displayed address counts.
Key terms in plain English
- BIP:
- Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
- Bitcoin Core:
- Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
- RPC:
- A command that software sends to a node to request information or a local action.
- Node:
- A computer running Bitcoin software that checks data and communicates with other peers.
Server-side path
The filename is interpreted by bitcoind and can be absolute or relative to its process environment. Resolve the returned absolute path and confirm it is outside web roots, shared directories and the active wallet location. Create a restrictive destination before export and reject symbolic links or mount paths not covered by the recovery policy.
No-overwrite guard
The historical call refused to overwrite an existing file, reducing accidental destruction. Use unique immutable names instead of deleting a prior dump to make a job pass. Verify failures visibly and retain several encrypted generations; a no-overwrite error is not proof that the existing file is current or complete.
Imported key coverage
A seed covers only keys derived under its wallet scheme. Independently imported keys must be preserved through a wallet backup or dump and cannot be recreated from the HD seed. Inventory imported-key presence without exposing secrets, and test that restoration finds known historical outputs before declaring seed-only recovery enough.
Imported scripts and Bech32 gap
Core 0.16 included imported scripts in dump files, but importwallet might not automatically add corresponding BIP 173 addresses and could require a manual rescan. Preserve the exact scripts, network and intended address type in a separate recovery manifest, then compare receive and change scripts after import rather than relying on displayed address counts.
Plaintext secret handling
The dump contains material capable of spending funds. Encrypt it immediately under an approved recovery key, restrict ownership and remove unencrypted temporary copies through a verified process. Do not attach it to support systems, sync it through consumer storage or include its content in checksums, logs or evidence reports.
Integrity and restoration
Record encrypted artefact size, authenticated digest, wallet version, export time and chain height. In an isolated environment, import into compatible software, rescan from a conservative point and compare known keys, scripts and transactions. Prove a disposable signature or regtest spend without broadcasting production funds.
Rotation and incident response
Run exports under a controlled schedule after imported material or script policy changes and retain older verified generations. If the file location, permissions or transport were exposed, treat every contained key as potentially compromised and plan a wallet-wide migration, not a single-address fix. Recovery evidence must never reveal the dump itself.
Frequently asked questions
What is the main point of Bitcoin Core dumpwallet RPC?
Bitcoin Core dumpwallet RPC: Core 0.16 included imported scripts in dump files, but importwallet might not automatically add corresponding BIP 173 addresses and could require a manual rescan.
For Bitcoin Core dumpwallet RPC, what should a beginner know about server-side path?
The filename is interpreted by bitcoind and can be absolute or relative to its process environment.
For Bitcoin Core dumpwallet RPC, what should a beginner know about no-overwrite guard?
The historical call refused to overwrite an existing file, reducing accidental destruction.
For Bitcoin Core dumpwallet RPC, what should a beginner know about imported key coverage?
A seed covers only keys derived under its wallet scheme. Independently imported keys must be preserved through a wallet backup or dump and cannot be recreated from the HD seed.
Conclusion
dumpwallet can preserve keys and scripts a seed alone misses, but it creates an exceptionally sensitive recovery artefact. Its value depends on protected storage, explicit script context and a complete isolated import and rescan test.
Primary sources
Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.
Join the ASIC Mining Discussion
Members can read and join the discussion
Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.
Membership helps us protect the discussion from spam and keep answers useful.