Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove json config code #3655

Merged
merged 3 commits into from
Jan 12, 2022

Conversation

cryptocode
Copy link
Contributor

This improves compile/test times a bit and removes unnecessary code.

The json->toml upgrade paths are removed as well. In the unlikely case someone needs to upgrade from v19.x and earlier, the solution is to run a v2x node (prior to this change) to perform the upgrade.

Closes #3530

This improves compile/test times a bit. The json->toml upgrade paths are removed as well. In the unlikely case someone needs to upgrade from v19.x and earlier, the solution is to run a v2x node (prior to this change) to perform the upgrade.

Closes nanocurrency#3530
@cryptocode cryptocode added the removal Indicates functionality is being removed label Jan 6, 2022
@cryptocode cryptocode self-assigned this Jan 6, 2022
@clemahieu clemahieu requested a review from theohax January 7, 2022 12:42
@zhyatt zhyatt added this to the V24.0 milestone Jan 7, 2022
clemahieu
clemahieu previously approved these changes Jan 11, 2022
@dsiganos
Copy link
Contributor

Should we remove nano::stat_config::deserialize_json also?

theohax
theohax previously approved these changes Jan 11, 2022
@cryptocode
Copy link
Contributor Author

Should we remove nano::stat_config::deserialize_json also?

Yeah good point, will push an update.

@cryptocode cryptocode dismissed stale reviews from theohax and clemahieu via 0757e41 January 11, 2022 18:27
@dsiganos
Copy link
Contributor

And I think we can also remove jsonconfig::read_and_update().

@dsiganos
Copy link
Contributor

Looks good to me! Thank you for doing the amendments!

Copy link
Contributor

@clemahieu clemahieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice cleanup. Thank you for pushing this through!

@clemahieu clemahieu merged commit 016f15b into nanocurrency:develop Jan 12, 2022
@cryptocode cryptocode deleted the cc-remove-json-config branch January 13, 2022 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
removal Indicates functionality is being removed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove unnecessary json serializing of config files
5 participants