Fail to load wallet if it contains unknown keys. #378

pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:encprep changing 4 files +29 −9
  1. TheBlueMatt commented at 12:28 PM on July 4, 2011: member

    The motivation here is that if a wallet is encrypted, old versions should simply fail to load the wallet. Additionally, if a wallet gets corrupted, the client should always fail to load the wallet to give the user a chance for manual recovery.

    This needs to go into 0.3.24, so that users who downgrade don't mess up their wallet by adding unencrypted keys to an encrypted wallet, making all versions unable to use the wallet.

  2. TheBlueMatt commented at 12:41 PM on July 4, 2011: member

    Just to clear up the motivation here: why should bitcoin not refuse to load wallets that appear incompatible?

  3. Fail to load wallet if it contains unknown keys.
    The motivation here is that if a wallet is encrypted, old versions
    should simply fail to load the wallet.  Additionally, if a wallet
    gets corrupted, the client should always fail to load the wallet
    to give the user a chance for manual recovery.
    b67a60eb68
  4. TheBlueMatt commented at 12:17 PM on July 13, 2011: member

    Superseded.

  5. TheBlueMatt closed this on Jul 13, 2011

  6. laanwj referenced this in commit 0ffb3bd95f on Aug 4, 2016
  7. laanwj referenced this in commit b2135359b3 on Aug 16, 2016
  8. MarcoFalke referenced this in commit 64dfdde0aa on Dec 13, 2016
  9. deadalnix referenced this in commit 0b3e618a1c on Jan 19, 2017
  10. rajarshimaitra referenced this in commit 7bced58597 on Aug 5, 2021
  11. DrahtBot locked this on Sep 8, 2021

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-04-24 15:16 UTC

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