pub fn version_from_hash(hash: &Hash) -> u16