Searching blocks by index or hash.