Make HD wallet compatible with wallets generated on https://bip32.org and bitcoin-cli
#228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request fixes issue #227 and makes the generation of private (in current BIP32 document named as "hardened") path components handling conform to BIP32. It allows also specifying start/end index with a
'
at the end to mark, that the index should be also private. Now it is possible to generate such paths:m/k'/0/i
- like default pah on BIP32m/0'/0'/i'
- these paths are usually generated in bitcoin core (visible when you dobitcoin-cli dumpwallet
)