Skip to content

Remove json config code#3655

Merged
clemahieu merged 3 commits intonanocurrency:developfrom
cryptocode:cc-remove-json-config
Jan 12, 2022
Merged

Remove json config code#3655
clemahieu merged 3 commits intonanocurrency:developfrom
cryptocode:cc-remove-json-config

Conversation

@cryptocode
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

theohax
theohax previously approved these changes Jan 11, 2022
@cryptocode
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@dsiganos
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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