-
Notifications
You must be signed in to change notification settings - Fork 10
Add bip32 support #58
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
base: develop
Are you sure you want to change the base?
Conversation
|
|
||
| HDNode* node = fsm_getDerivedNode(SECP256K1_NAME); | ||
| HDNode addressNode; | ||
| size_t size_address = 36; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to add this constant to bitcoin_constants.h
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which one? SECP256K1_NAME constant is defined in secp256k1.h. The only option to do is to create a new constant in bitcoin_constants.h, such as:
#define BITCOIN_CURVE SECP256K1_NAME
Is it a big need to do that?
| ; | ||
|
|
||
| if (*b58sz <= zcount + size - j) { | ||
| if (*b58sz < zcount + size - j) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure, that it should be in that way ? It is part of original trezor code
Fixes #
Changes:
Does this change need to mentioned in CHANGELOG.md?
yes
Requires testing
no
Comments about testing , should you have some