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

global updates to constants #162

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

edtubbs
Copy link
Collaborator

@edtubbs edtubbs commented Oct 10, 2023

PUBKEYLEN to P2PKHLEN (for addresses)
wif_master_privkey to hd_master_privkey (for b58-encoded private keys) 35, 53, 100, 112, 128, 200 magic numbers to constants HD_MASTERKEY_STRINGLEN to HDKEYLEN
P2PKH_ADDR_STRINGLEN to P2PKHLEN
WIF_UNCOMPRESSED_PRIVKEY_STRINGLEN to PRIVKEYWIFLEN

tool: added PRIVKEYHEXLEN for ecc private key (in hex), updated gen_privatekey and genPrivkey
address: updated generateHDMasterPubKeypair, hd_privkey_master local to hd_privkey_master_local
wallet: removed ifdef from dogecoin_wallet_init, SEED type is visible

PUBKEYLEN to P2PKHLEN (for addresses)
wif_master_privkey to hd_master_privkey (for b58-encoded private keys)
35, 53, 100, 112, 128, 200 magic numbers to constants
HD_MASTERKEY_STRINGLEN to HDKEYLEN
P2PKH_ADDR_STRINGLEN to P2PKHLEN
WIF_UNCOMPRESSED_PRIVKEY_STRINGLEN to PRIVKEYWIFLEN

tool: added PRIVKEYHEXLEN for ecc private key (in hex), updated gen_privatekey and genPrivkey
address: updated generateHDMasterPubKeypair, hd_privkey_master local to hd_privkey_master_local
wallet: removed ifdef from dogecoin_wallet_init, SEED type is visible
@michilumin michilumin self-requested a review October 26, 2023 20:31
Copy link
Member

@xanimo xanimo left a comment

Choose a reason for hiding this comment

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

ACK. tested on x86_64-pc-linux-gnu.

@xanimo xanimo merged commit afce1ab into dogecoinfoundation:0.1.3-dev Nov 1, 2023
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