3 ms·
All instances of BE are due to openssl bignum math. When serialized in bitcoin messages, ordinary ints are LE because it's just simpler (all popular CPUs are LE
by oleganza 13y ago
All instances of BE are due to openssl bignum math. When serialized in bitcoin messages, ordinary ints are LE because it's just simpler (all popular CPUs are LE today). So it's a bit of a mess with endianness, but entirely possible to be done by a single guy, just because of the openssl and CPUs.
Author of CoreBitcoin, objc implementation of bitcoin.