Skip to content

Conversation

@Macrosrider
Copy link
Collaborator

Fixes #

Changes:

  • Added BIP32 for Bitcoin

Does this change need to mentioned in CHANGELOG.md?
yes

Requires testing
no

Comments about testing , should you have some


HDNode* node = fsm_getDerivedNode(SECP256K1_NAME);
HDNode addressNode;
size_t size_address = 36;
Copy link
Contributor

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

Copy link
Collaborator Author

@Macrosrider Macrosrider Jul 1, 2020

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) {
Copy link
Contributor

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

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