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

Extract epoch upgrader out of node #4078

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

pwojcikdev
Copy link
Contributor

There was a huge chunk of code inside node class meant for epoch upgrading. This PR extracts it to a dedicated epoch_upgrader class. It is definitely possible to further refactor it, hoverer this work is only concerned with moving it out of the node, preserving the existing logic.

@dsiganos
Copy link
Contributor

Assuming it is just code movement then it looks good to me.

@pwojcikdev pwojcikdev merged commit 081ba95 into nanocurrency:develop Jan 27, 2023
@pwojcikdev pwojcikdev deleted the extract-epoch-upgrader branch January 27, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants