def previous_hashes(self) -> Optional[Iterable[Hash32]]:
        """
        Convenience API for accessing the previous 255 block hashes.
        """
        return self.get_prev_hashes(self.header.parent_hash, self.chaindb)
Convenience API for accessing the previous 255 block hashes.