Skip to content

Conversation

@dplusplus1024
Copy link
Contributor

@dplusplus1024 dplusplus1024 commented Jul 20, 2025

Typo fixup: Align the first field in the serialization table with the rest, which use plural “bytes” (e.g., “4 bytes: child number”) for consistency.

…nvention

Aligns the first field in the serialization table with the rest, which use plural “bytes” (e.g., “4 bytes: child number”) for consistency.
@jonatack jonatack changed the title Fix: Use plural “bytes” in serialization table to match field size co… BIP32: Use plural “bytes” Jul 20, 2025
Noxcheborz

This comment was marked as spam.


Extended public and private keys are serialized as follows:
* 4 byte: version bytes (mainnet: 0x0488B21E public, 0x0488ADE4 private; testnet: 0x043587CF public, 0x04358394 private)
* 4 bytes: version bytes (mainnet: 0x0488B21E public, 0x0488ADE4 private; testnet: 0x043587CF public, 0x04358394 private)
Copy link
Member

@jonatack jonatack Jul 23, 2025

Choose a reason for hiding this comment

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

Generally, we collect all the typos at the end of the month into one pull request. At the moment, the only other typo fix this month is #1892 (comment).

@murchandamus murchandamus merged commit 7f13f8f into bitcoin:master Jul 28, 2025
4 checks passed
@murchandamus
Copy link
Contributor

I decided to merge this, since it seemed like less work after having looked at this PR a few times already.

@jonatack
Copy link
Member

#1905 was just opened 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants