Bitcoin Core v0.16.0. Master Private key (hdkeypath=m) not same as into Extended Private Key (xprv) #12669

issue bigbrain opened this issue on March 11, 2018
  1. bigbrain commented at 4:24 PM on March 11, 2018: none

    Hello, I think I found error in last version Bitcoin Core (v0.16.0 windows). In the v0.14.2 was all OK Master Private key (hdkeypath=m) not same as into Extended Private Key (xprv).

    For example:

    Extended Private Key: xprv9s21ZrQH143K3tpWBHWe31sLoXNRQ9AvRYJgitkKxQ4ATFQMwvr7hHNqYRUnS7PsjzB7aK1VxqHLuNQjj1sckJ2Jwo2qxmsvejwECSpFMfC

    Contains Master Private key: L4Msh6UhbJibMKMGn3N6tewH6YJmYRiiv93idbwbwnzAvGEzLuFR

    But Bitcoin Core v0.16.0 set and use Master Key: L2kkvUrxC6FM8vKnKWpeRUH275oSDYi8ThP96htz88LLw95feHoP

    in Hex:

    Extended Private Key: 0488ade4000000000000000000b85def23bdc9db3791d9b8b3e47978c91e4acb7a9d3e3936c8df928323c4638d00d50fc580278e6a9429b41eee1df72ce021c3a67073df94258ab98cf6058d7fd880e46377

    Contains Master Private key: d50fc580278e6a9429b41eee1df72ce021c3a67073df94258ab98cf6058d7fd8

    But Bitcoin Core v0.16.0 set and use Master Key: a528aa10067b45aad858eee62341097643f4d7fa9aca92cae8a2862618558400

    See: Example Wallet Dump

    This leads to problems with Bip32 compatibility, problems with xprv import, problems with keys and addresses derivation.

  2. MarcoFalke commented at 5:40 PM on March 11, 2018: member

    Related: #12084

  3. bigbrain commented at 5:53 PM on March 11, 2018: none

    Sorry guys. I'm stupid. My program failed. Please remove it. Thank you, MarcoFalke

  4. MarcoFalke closed this on Mar 11, 2018

  5. bitcoin 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-05-20 06:55 UTC