Node configuration auto updater (#4579) This pull request introduces a new command line feature --update_config , which updates the nodes current configuration by merging custom settings into the latest configuration template. Custom settings will be uncommented in the new configuration, while default values will be commented. This feature simplifies the process for node operators to maintain an up-to-date configuration without manually merging the current configuration with the new one. Features: Updates config file with new entries, tables and documentation Removes entries that are no longer referenced in code Preserves custom values from current configuration Formatted output Limitations: Currently only works with node configuration file but could easily be extended to rpc an log configs
__________
Type: commit
Hash: 401d61c24cae89e94d62c5580523d5d3f814616b
Created: 289 day(s) ago
__________
gr0v1ty/nano-node:401d61c24cae89e94d62c5580523d5d3f814616b
Test Case | Status | Duration | Median Deviation | Log | Graph |
---|---|---|---|---|---|
5n4pr_conf_10k_bintree | PASS | 149 s | 40.0 s | - | Show |
5n4pr_conf_10k_change | PASS | 200 s | 67.0 s | - | Show |
5n4pr_conf_change_dependant | PASS | 138 s | 12.0 s | - | - |
5n4pr_conf_change_independant | PASS | 195 s | 71.0 s | - | - |
5n4pr_conf_send_dependant | PASS | 132 s | 13.0 s | - | - |
5n4pr_conf_send_independant | PASS | 141 s | 20.0 s | - | - |