Skip to main content

Module managed

Module managed 

Source

Structsยง

InstallLock ๐Ÿ”’

Enumsยง

ZcashdBinarySource
Effective zcashd source after local-path overrides are applied.

Constantsยง

INSTALL_LOCK_RETRY_DELAY ๐Ÿ”’
INSTALL_LOCK_WAIT_TIMEOUT ๐Ÿ”’
Maximum time a process waits for another live process to finish a managed install.
LEGACY_INSTALL_LOCK_STALE_AFTER ๐Ÿ”’
Stale age for legacy lock files that do not contain owner metadata.
MANAGED_DOWNLOAD_MAX_BYTES ๐Ÿ”’
Upper bound on a managed zcashd archive download, in bytes.
MANAGED_DOWNLOAD_TIMEOUT ๐Ÿ”’
Maximum time a managed archive download is allowed to take.

Functionsยง

acquire_lock ๐Ÿ”’
Acquires an exclusive lock file, retrying until timeout.
cached_managed_zcashd_binary_is_present ๐Ÿ”’
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.
download_archive ๐Ÿ”’
Downloads one managed release archive to out.
effective_zcashd_source
Resolves the effective source for zcashd.
extract_archive_member_to_path ๐Ÿ”’
Extracts a single archive member into destination.
lock_file_is_older_than ๐Ÿ”’
lock_owner_pid ๐Ÿ”’
make_executable ๐Ÿ”’
Makes path executable on Unix targets.
managed_zcashd_binary_path ๐Ÿ”’
Returns the managed zcashd binary cache path without creating directories, or None when managed downloads are unsupported for this target.
managed_zcashd_cache_dir ๐Ÿ”’
normalize_member_path ๐Ÿ”’
Normalizes archive entry paths for stable matching.
process_is_running ๐Ÿ”’
provenance_content ๐Ÿ”’
Returns the provenance marker content for a verified extraction: the manifest-pinned archive digest and the digest of the extracted binary.
provenance_matches ๐Ÿ”’
Returns true if the provenance marker at path records exactly the manifest-pinned expected_archive_sha256, and the binary at binary_path still hashes to the recorded binary digest.
remove_stale_lock ๐Ÿ”’
resolve_managed_zcashd_binary
Resolves the managed zcashd binary from the embedded release manifest.
resolve_managed_zcashd_binary_from_manifest ๐Ÿ”’
resolve_zcashd_binary_path
Resolves and validates the zcashd executable path.
sha256_hex_file ๐Ÿ”’
Computes the lowercase hex SHA256 digest for path.
write_install_lock_owner ๐Ÿ”’
zcashd_target_triple
Returns the current platform target triple used for managed release lookups.