unc-dyn-configs 0.1.0

Dynamic configure helpers for the near codebase
docs.rs failed to build unc-dyn-configs-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: unc-dyn-configs-0.12.2

Dynamic config helpers for the NEAR codebase.

This crate contains utilities that allow to reconfigure the node while it is running.

How to:

Logging and tracing

Make changes to log_config.json and send SIGHUP signal to the uncd process.

Other config values

Makes changes to config.json and send SIGHUP signal to the uncd process.

Fields of config that can be changed while the node is running:

  • expected_shutdown: the specified block height uncd will gracefully shutdown at.

Changing other fields of config.json

The changes to other fields of config.json will be silently ignored as long as config.json remains a valid json object and passes internal validation.

Please be careful about making changes to config.json because when a node starts (or restarts), it checks the validity of the config files and crashes if detects any issues.