Crates.io | unc-dyn-configs |
lib.rs | unc-dyn-configs |
version | 0.12.2 |
source | src |
created_at | 2024-03-06 07:47:20.916494 |
updated_at | 2024-05-30 09:23:02.48658 |
description | Dynamic configure helpers for the unc codebase |
homepage | |
repository | https://github.com/utnet-org/utility |
max_upload_size | |
id | 1164458 |
size | 42,005 |
Dynamic config helpers for the UNC codebase.
This crate contains utilities that allow to reconfigure the node while it is running.
Make changes to log_config.json
and send SIGHUP
signal to the unc-node
process.
Makes changes to config.json
and send SIGHUP
signal to the unc-node
process.
expected_shutdown
: the specified block height unc-node will gracefully shutdown at.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.