pull down to refresh
89 sats \ 4 replies \ @bitcoin_devs OP 22 Jan \ parent \ on: ❓How Bitcoin Stores/Read Data (Endianness) bitcoin
why we use little endian? that's your question ?
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!