pull down to refresh
0 sats \ 5 replies \ @BlokchainB 21 Jan \ on: ❓How Bitcoin Stores/Read Data (Endianness) bitcoin
Why?
why we use little endian? that's your question ?
reply
Yes
reply
Most modern CPUs work in little-endian, so it was likely chosen as a performance optimization. According to this site, Learn Me a Bitcoin (https://learnmeabitcoin.com/technical/general/little-endian/#why-does-bitcoin-use-little-endian), it's because Satoshi developed bitcoin on a computer with little-endian architecture.
reply
Thanks! I just learned about this from the base58 class but didn’t the answer why little over big. Now I do!