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
Nano is a digital payment protocol designed to be accessible and lightweight, with a focus on removing inefficiencies present in other cryptocurrencies. With ultrafast transactions and zero fees on a secure, green and decentralized network, this makes Nano ideal for everyday transactions.
We want to hear about any trouble, success, delight, or pain you experience when
using Nano. Let us know by filing an issue, joining us on Reddit, or joining us on Discord.