Skip to main content

Module zcashd_compat

Module zcashd_compat 

Source
Expand description

zcashd-compat mode configuration and zcashd child-process supervision.

Modulesยง

config ๐Ÿ”’
datadir ๐Ÿ”’
zcashd datadir and config-file bootstrap for zcashd-compat mode.
managed ๐Ÿ”’
manifest ๐Ÿ”’
Embedded zcashd compatibility release manifest.
preflight ๐Ÿ”’
Linux hardware preflight checks for zcashd-compat mode.
supervisor ๐Ÿ”’

Structsยง

Config
Configuration for Zebra zcashd-compat mode.
SupervisorConfig
The full configuration used by the zcashd-compat supervisor task.
ZcashdReleaseArtifact
One released zcashd compatibility artifact.
ZcashdReleaseManifest
Embedded zcashd compatibility release manifest.

Enumsยง

ConfigZcashdBinarySource
Source selector for supervised zcashd execution.
ZcashdBinarySource
Effective zcashd source after local-path overrides are applied.

Constantsยง

EMBEDDED_MANIFEST_SCHEMA_VERSION
Embedded manifest schema version.

Staticsยง

EMBEDDED_ZCASHD_RELEASE_MANIFEST
Embedded manifest used by managed zcashd downloads.

Functionsยง

effective_zcashd_datadir
Returns the effective datadir used by supervised zcashd.
effective_zcashd_source
Resolves the effective source for zcashd.
ensure_zcashd_datadir
Ensures the supervised zcashd datadir and effective config file are ready.
is_command_resolvable
Returns true if the given command path is resolvable as an executable.
reject_peer_selection_extra_args
Rejects zcashd_extra_args entries that would change which peers the supervised zcashd talks to.
resolve_managed_zcashd_binary
Resolves the managed zcashd binary from the embedded release manifest.
resolve_zcashd_binary_path
Resolves and validates the zcashd executable path.
resolve_zcashd_datadir_path
Applies the last valid -datadir=<path> command-line override, like zcashd.
run_preflight
Runs zcashd-compat hardware preflight checks.
run_supervisor
Runs the zcashd-compat zcashd supervisor until shutdown.
set_supervision_config_disabled_metrics
Sets metrics for zcashd-compat mode when zcashd supervision is intentionally disabled.
set_supervision_unexpectedly_disabled_metrics
Sets metrics for zcashd-compat mode when supervision has unexpectedly stopped.
terminate_abandoned_zcashd
Terminates a supervised zcashd child that the supervisor task never got to shut down, blocking the calling thread.
zcashd_target_triple
Returns the current platform target triple used for managed release lookups.