Incidentally, fix feature_addrman.py on big-endian systems by making endianness explicit when serializing the addrdb
This is a backport of core#29401 and core#27529[[https://github.com/bitcoin/bitcoin/pull/29401 | core#29401]] and [[https://github.com/bitcoin/bitcoin/pull/27529 | core#27529]]
Depends on D20613