Bitcoin-core restored HD wallet reusing payment address #9741

issue possientis opened this issue on February 11, 2017
  1. possientis commented at 7:45 AM on February 11, 2017: none

    As I was testing my new bitcoin core HD wallet through the bitcoin-qt interface (v0.13.2), when using Receive > Request payment I realized that I was presented with the a payment address which had already been used (despite the checkbox Reuse an existing address not being checked). Looking more closely into this, it seems that this happens if you restore your HD wallet from a backup file (specifically delete your wallet.dat file and replace it by the wallet.dat which you had saved just after creating your new wallet and encrypting it). So it seems if you need to restore an HD wallet from an old backup file, it will be reusing prior addresses (unless you are being careful and click on Request payment several times until you obtain a brand new address).

    $ uname -a
    Linux front 4.8.0-1-amd64 [#1](/bitcoin-bitcoin/1/) SMP Debian 4.8.7-1 (2016-11-13) x86_64 GNU/Linux
  2. MarcoFalke added the label Wallet on Feb 11, 2017
  3. ghost commented at 12:55 PM on February 11, 2017: none

    As far as I understand they will not be valid and the network will not accept them But the load on the network this creates

  4. MarcoFalke commented at 1:06 PM on February 11, 2017: member

    This is a known issue filed as #8689

  5. possientis commented at 4:39 PM on February 11, 2017: none

    As this issue has been filed already, am I expected to close this?

  6. sipa commented at 9:06 PM on February 11, 2017: member

    @DATSEC I don't know why you think this. Multiple payments to the same address are perfectly valid (though discouraged for privacy reasons). @possientis I'm closing this as a duplicate, indeed.

  7. sipa closed this on Feb 11, 2017

  8. 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-13 21:15 UTC

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