pub(super) fn cached_managed_zcashd_binary_is_present(
state_cache_dir: &Path,
) -> Option<bool>Expand description
Returns whether a cached managed zcashd binary exists for this target with
a provenance marker recording the manifest-pinned archive digest, or None
when managed downloads are unsupported for this target.
Preflight uses this to decide whether a download is likely needed, so it
compares the marker’s recorded archive digest (a cheap string check that
catches a bumped release pin) but deliberately skips re-hashing the whole
binary: the security-critical digest verification happens in
resolve_managed_zcashd_binary before the binary is used.
Only called from Linux-gated preflight code, so it is dead code on other targets.