improving readability with byte-swapping macros. Whenever we dump integers on other people we should be explicit about endianness. Fortunately, most of cpus (x86, arm) are little-endian, so Satoshi can get away without any swapping. But I myself feel uncomfortable about implicit assumptions.