Hashes
data class Hashes(val piecesRoot: ByteArray, val baseLayer: Int, val index: Int, val length: Int, val proofLayers: Int, val hashes: List<ByteArray>) : PeerMessage
hashes (id 22, BEP-52): the response to a HashRequest, carrying the requested range of 32-byte SHA-256 Merkle hashes. The payload is the same 48-byte header as HashRequest followed by N concatenated 32-byte hashes. On the wire: [len=49+32*N][22][header][hash...]. Mirrors write_hashes / on_hashes.