doc, wallet: Add wallet corruption recovery guidance to managing-wallets.md #35944

pull pablomartin4btc wants to merge 1 commits into bitcoin:master from pablomartin4btc:doc/wallet-corruption-recovery changing 1 files +19 −0
  1. pablomartin4btc commented at 2:08 PM on August 10, 2026: member

    Adds section 1.7 "Recovering from a Corrupted Wallet" to doc/managing-wallets.md. Documents that restoring from a known-good backup is the only supported recovery path for corrupted wallet databases, and that there is no safe in-place repair mechanism.

    Motivated by achow101's conclusion in #35605:

    we should make the only supported corruption recovery mechanism be to restore a backup and not do any of this stuff with maybe being able to recover.

    Note: the error message at walletdb.cpp:1050 currently says "This can be fixed by removing transactions from wallet and rescanning." — that message is inconsistent with this guidance and should be updated as a follow-up (or in #35605 or #35760, both of which are touching the related code paths).

  2. doc: add wallet corruption recovery guidance to managing-wallets.md
    Adds section 1.7 "Recovering from a Corrupted Wallet" to
    doc/managing-wallets.md. The section documents that restoring from a
    known-good backup is the only supported recovery path for corrupted
    wallet databases, and that there is no safe in-place repair mechanism.
    
    Motivated by achow101's conclusion in #35605: "we should make the only
    supported corruption recovery mechanism be to restore a backup and not
    do any of this stuff with maybe being able to recover."
    4b5c6b140c
  3. DrahtBot added the label Docs on Aug 10, 2026
  4. DrahtBot commented at 2:08 PM on August 10, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35944.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. pablomartin4btc renamed this:
    doc: Add wallet corruption recovery guidance to managing-wallets.md
    doc, wallet: Add wallet corruption recovery guidance to managing-wallets.md
    on Aug 10, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-08-17 05:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me