Private Key import result with 3 Address generation. #26979

issue tunerji openend this issue on January 27, 2023
  1. tunerji commented at 7:03 pm on January 27, 2023: none

    Private Key import result with 3 Address generation.

    Expected behavior Therefore, it seems a bug but also future request assumes that as bitcoin address generation has choice of version like segwit or leacy, the private key import should result within the setup.

    Actual behavior Generates 3 types wallet like Legacy, Segwit and P2PKH

    To reproduce

    System information

  2. tunerji added the label Bug on Jan 27, 2023
  3. sipa commented at 7:06 pm on January 27, 2023: member
    I don’t understand in what way the actual behavior is not expected.
  4. achow101 commented at 7:59 pm on January 27, 2023: member
    This is expected behavior for legacy wallets as the wallet is watching for all three address types and is capable of spending from them.
  5. achow101 closed this on Jan 27, 2023

  6. tunerji commented at 8:50 pm on January 27, 2023: none

    I don’t understand in what way the actual behavior is not expected.

    Sorry for confusion, I do generate my addresses using Vanity methods outside Bitcoin Core and import them using import key function. Therefore, As I realized, as soon as private key imported, it generates version 3 types of addresses for one private key. However the idea of using hundreds of address makes it unnecessary crowd in the wallet and confusing.

  7. bitcoin locked this on Jan 27, 2024

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: 2024-12-21 15:12 UTC

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