12 unstable releases (5 breaking)

0.21.2 Mar 14, 2024
0.21.1 Mar 11, 2024
0.20.1 Jan 23, 2024
0.19.0 Dec 21, 2023
0.15.0 Nov 5, 2022

#1614 in Magic Beans

Download history 10/week @ 2023-12-20 7/week @ 2024-01-10 9/week @ 2024-01-17 2/week @ 2024-01-24 10/week @ 2024-02-14 17/week @ 2024-02-21 10/week @ 2024-02-28 258/week @ 2024-03-06 235/week @ 2024-03-13 9/week @ 2024-03-20 26/week @ 2024-03-27 48/week @ 2024-04-03

357 downloads per month

MIT/Apache

775KB
16K SLoC

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 neard process.

Other config values

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

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

  • expected_shutdown: the specified block height neard 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.

Dependencies

~34–50MB
~785K SLoC