[0.13] [Wallet] Ensure <0.13 clients can't open HD wallets #8366

pull jonasschnelli wants to merge 1 commits into bitcoin:0.13 from jonasschnelli:2016/07/hd_minversion changing 3 files +7 −1
  1. jonasschnelli commented at 8:53 PM on July 18, 2016: contributor

    0.13 backport of #8343


    In current master, you could run a 0.13 HD wallet in a non HD compatible 0.12 client, resulting in a mix of HD and non HD key. You could even refill the wallets keypool running a 0.12 client and use it on 0.13 which would lead to a getnewaddress call in 0.13 responding a non HD address.

    This PR ensures that HD wallets will at least require version 0.12.990.13.

    This only affects newly created wallets and only if the user had not passed -usehd=0 (old <0.13 created wallets will still run on <0.13 clients once they where opened in 0.13).


  2. [Wallet] Ensure <0.13 clients can't open HD wallets 3b38a6a96a
  3. jonasschnelli added the label Wallet on Jul 18, 2016
  4. jonasschnelli renamed this:
    [Wallet] Ensure <0.13 clients can't open HD wallets
    [0.13] [Wallet] Ensure <0.13 clients can't open HD wallets
    on Jul 18, 2016
  5. MarcoFalke added the label Backport on Jul 19, 2016
  6. MarcoFalke added this to the milestone 0.13.0 on Jul 19, 2016
  7. laanwj merged this on Jul 19, 2016
  8. laanwj closed this on Jul 19, 2016

  9. laanwj referenced this in commit 24f117ef05 on Jul 19, 2016
  10. codablock referenced this in commit de04fa8d4b on Sep 18, 2017
  11. MarcoFalke 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-21 15:15 UTC

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