-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #472: Have getmasterxpub account for BIP 44 things
645636b Have getmasterxpub account for address type, chain, and account (Andrew Chow) 5092788 Add BIP 44 path helper functions (Andrew Chow) Pull request description: BIP 44 specifies some additional arguments that are used in the derivation path; these are the address type (purpose), the chain type, and account number. Previously `getmasterxpub` would only output the xpub at the fixed path `m/44'/0'/0'`. This PR adds parameters to `getmasterxpub` to specify the purpose (via `--addr-type`), and the account (via `--account`). Additionally, the chain type will also be taken into account when determining the path to use. Fixes #309 Based on #470 for the addrtype rename. Top commit has no ACKs. Tree-SHA512: e02f88f3050f9ac57be4e63a7974e90ef187442fc52310f39d5d999c5179603db2f02111355138fea23071b1ad28ff14b73d4ea007d15a44f2ded02c2a3d6f97
- Loading branch information
Showing
7 changed files
with
62 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters