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

Check network on start and reset db #8642

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

gconnect
Copy link
Contributor

@gconnect gconnect commented Sep 24, 2024

PR Description

  • Check if the network is Ephemery and due for an update then reset the db.

Fixed Issue(s)

fixes #8589

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
@gconnect
Copy link
Contributor Author

@rolfyone please review when you have the time. Thanks!

@gconnect gconnect changed the title Check network on start Check network on start and reset db Sep 24, 2024
@rolfyone
Copy link
Contributor

I'm not sure that's really at the right point currently, because we're leaking that deposit check in multiple places, and theres public functions that can delete folders etc, so i think we really need to think about how it all fits together... this feels very confused...

Are you able to have a look at how we might do this neatly? otherwise we can find a little time to get some design thought out so its relatively clean...

@gconnect
Copy link
Contributor Author

I'm not sure that's really at the right point currently, because we're leaking that deposit check in multiple places, and theres public functions that can delete folders etc, so i think we really need to think about how it all fits together... this feels very confused...

Are you able to have a look at how we might do this neatly? otherwise we can find a little time to get some design thought out so its relatively clean...

Thanks for reviewing. I will dive deeper and see how I can make the code better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants