cache merkle hashes