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