Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward to current with Syscoin chainges #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

tomatoskittles
Copy link

This commit contains all of the changes made to syscoin/HWI merged with the latest master of bitcoin/HWI. This effectively brings the repo up to date, and applies our custom changes.

Additional changes have been made to .cirrus.yml, this build still needs to be tested, but I'm creating the PR for review purposes. Updates will be applied for changes needed to make it work.

This commit contains all of the changes made to syscoin/HWI merged with the latest master of bitcoin/HWI. This effectively brings the repo up to date, and applies our custom changes.
Changed occurrences of bitcoin to syscoin. This still needs to be tested.
hwilib/_cli.py Outdated
getkeypool_parser.add_argument('--internal', action='store_true', help='Indicates that the keys are change keys')
kp_type_group = getkeypool_parser.add_mutually_exclusive_group()
kp_type_group.add_argument("--addr-type", help="The address type (and default derivation path) to produce descriptors for", type=AddressType.argparse, choices=list(AddressType), default=AddressType.WIT) # type: ignore
kp_type_group.add_argument('--all', action='store_true', help='Generate addresses for all standard address types (default paths: ``m/{44,49,84}h/0h/0h/[0,1]/*)``')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for bip32 paths we should be type 57 coin not 0, this should be reflective everywhere in the repo

hwilib/key.py Outdated

:param chain: The chain
"""
if chain == Chain.MAIN:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be 57

…the file was renamed. Also removed other files that are no longer in the repo
This change was applied to a part of the file that was later removed in the main repo. Mistake in merging. Syncing the files up.
Looking for more instances where the chain id 57 needs to be used.
Descriptor wallets are only in 4.3, but hardware wallets are supported as of 4.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants