Byte / hex utilities. All chain-internal 32-byte hashes in this codebase are
passed around in INTERNAL byte order (little-endian, as serialized on the wire).
Human-facing hex (txids, block hashes, inscription IDs) is DISPLAY order
(byte-reversed). Conversion happens only at the edges via displayToInternal
/ internalToDisplay so the orientation of any given value is always explicit.
Byte / hex utilities. All chain-internal 32-byte hashes in this codebase are passed around in INTERNAL byte order (little-endian, as serialized on the wire). Human-facing hex (txids, block hashes, inscription IDs) is DISPLAY order (byte-reversed). Conversion happens only at the edges via
displayToInternal/internalToDisplayso the orientation of any given value is always explicit.