Question : What is blockchain Endianness?
When a new transaction is signed, it is broadcasted on the Bitcoin network. It will then be collected and recorded in a block. Each block, once constituted, will in turn be broadcasted.
All these messages are public and verifiable.
They make it possible to notify and therefore take to witness all the participants of the Bitcoin network on any new information that enriches the blockchain.
Messages are transferred over the network in a binary format, encoding numbers on 32 bits or 256 bits using the Little-Endian convention.
The Little-Endian convention sets the bytes from the lowest weight to the strongest weight, the Big-Endian convention sets the bytes from the strongest weight to the lowest weight.
For example the number 1 is represented in hexadecimal on 32 bits by 00000001 with the Big-Endian convention and 01000000 with the Little-Endian convention.
The number 1 on 32 bits with the Big-Endian convention:
Byte 3 | Byte 2 | Byte 1 | Byte 0
--------+---------+---------+--------
00 | 00 | 00 | 01
The number 1 on 32 bits with the Little-Endian convention:
Byte 0 | Byte 1 | Byte 2 | Byte 3
--------+---------+---------+--------
01 | 00 | 00 | 00