cuprated: add system paths to --version
#420
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Adds system {data,cache,config} directory info to
./cuprated --version.{ "major_version": 0, "minor_version": 0, "patch_version": 1, "rpc_major_version": 3, "rpc_minor_version": 14, "rpc_version": 196622, "hardfork": 16, "blockchain_db_version": 0, "semantic_version": "0.0.1", "build": "debug", "commit": "5a8089a4a3f2bdf73be99bfaf9e6410475e5395a", "killswitch_timestamp": 1744761600, "cache_directory": "/home/hinto/.cache/cuprate", "config_directory": "/home/hinto/.config/cuprate", "data_directory": "/home/hinto/.local/share/cuprate" }Why
Useful info for debugging / sanity checking / users.