Skip to content

Commit e4ce314

Browse files
authored
Merge pull request #78 from bitcoin-dev-project/fix/endianness-confusion
Fix Endianness Confusion
2 parents c524e1f + d1b2da1 commit e4ce314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decoding/endianness.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ If you were decoding raw Bitcoin transaction data, you'd need to reverse the byt
141141
Bitcoin uses **little-endian** because Satoshi developed it on a little-endian computer.
142142

143143
Most modern CPUs are little-endian and the network protocols typically use big-endian, which can create a mismatch:
144-
- **Big-endian** is used for network communication (called **network byte order**).
144+
- **Big-endian** is mainly seen when searching for transactions in block explorers or making RPC calls to Bitcoin Core.
145145
- **Little-endian** is used for internal storage in Bitcoin.
146146

147147
This duality requires developers to frequently convert between the two formats when working with Bitcoin data.

0 commit comments

Comments
 (0)