2

What are the "paths" of keys from BitcoinCore 0.13 HDWallet? As is described in BIP32 , I consider a path to be the route from the root node to the key node. For example, m/0'/0'/1' stands for the second hardened child of the first hardened child of the first hardened child of the master root node.

I want to know that to be able to regenerate this chain myself using some bitcoin library in case gaps in my chain will exceed 20 keys (current default gap value of BitcoinCore 0.13).

1
  • 2
    You can just call getnewaddress to recreate you addresses after restoring a backup beyond what the keypool has, and possibly rescan to find old transactions to them. The Bitcoin Core HD wallet support does not currently have any gap detection. Commented Aug 31, 2016 at 13:35

1 Answer 1

1

It uses m/0'/0'/i' with i incrementing over time.

The dumpwallet RPC command will produce a text file with all private keys in it, including the BIP32 seed.

3
  • So the total key number is 2^31, right?
    – Yevhen
    Commented Aug 31, 2016 at 13:42
  • What does key number mean? Commented Aug 31, 2016 at 13:49
  • 1
    @Yevhen: right, maximal amount of keys (Bitcoin Core only use hardened keys) is 2^31. Commented Aug 31, 2016 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.