Expand description
zcashd-compat mode configuration and zcashd child-process supervision.
Modulesยง
- config ๐
- datadir ๐
zcashddatadir 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.
- Supervisor
Config - The full configuration used by the zcashd-compat supervisor task.
- Zcashd
Release Artifact - One released zcashd compatibility artifact.
- Zcashd
Release Manifest - Embedded zcashd compatibility release manifest.
Enumsยง
- Config
Zcashd Binary Source - Source selector for supervised
zcashdexecution. - Zcashd
Binary Source - Effective
zcashdsource 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
zcashddatadir and effective config file are ready. - is_
command_ resolvable - Returns
trueif the given command path is resolvable as an executable. - reject_
peer_ selection_ extra_ args - Rejects
zcashd_extra_argsentries 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
zcashdexecutable 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.