pull down to refresh

530 sats \ 2 replies \ @satsie 24 Jan
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!
reply
152 sats \ 0 replies \ @satsie 24 Jan
You're very welcome!
I know what Base58 class you are talking about and that lesson is great! It's where I first learned about endianness :)
reply