Original implementation used [32]byte to represent hashes. go-header library defines Hash which is an alias for []byte.
#685 changes only selected fields to new type, to ensure compatibility with go-header. We should refactor all the other Hash related fields. It might also be reasonable to alias header.Hash in types package, to use type.Hash instead of header.Hash.
Original implementation used
[32]byteto represent hashes. go-header library definesHashwhich is an alias for[]byte.#685 changes only selected fields to new type, to ensure compatibility with go-header. We should refactor all the other
Hashrelated fields. It might also be reasonable to aliasheader.Hashintypespackage, to usetype.Hashinstead ofheader.Hash.