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

Fix shutdown save peers utreexo #280

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

Conversation

lucadg911
Copy link
Contributor

Added code to save good utreexo peers to a anchors.json file

@lucadg911
Copy link
Contributor Author

I have seen the errors on linting and build_docker. I am looking into it.

@JoseSK999
Copy link
Contributor

I think the build docker error is unrelated, cc @Davidson-Souza

@lucadg911
Copy link
Contributor Author

To fix linting, do I need to use the nightly rust?

@JoseSK999
Copy link
Contributor

Yes, you can run just fmt

@lucadg911 lucadg911 marked this pull request as ready for review November 19, 2024 13:29
@lucadg911
Copy link
Contributor Author

A doubt that I had when writting the code was if I needed to save every utreexo peers or just "good" peers. I opted for just the "good" ones.

@Davidson-Souza
Copy link
Collaborator

A doubt that I had when writting the code was if I needed to save every utreexo peers or just "good" peers. I opted for just the "good" ones.

The idea is to save only the ones we are connected to, so they are by definition good

@lucadg911
Copy link
Contributor Author

Is there anything I should improve/modify before merging?

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.

4 participants