-
Couldn't load subscription status.
- Fork 70
wire: Some small hardening and bugfixes on connection logic #454
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CACK fa3a0b2
everything running fine locally
|
Updated with @JoseSK999 comments. I've also fixed a few more things I've found running this code. It seems to work well now |
We should timeout connection request faster, because they can clog up our inflight requests and get us stuck. I'm also improving readability by adding empty lines between the consts inside the trait
The function that saves the anchors was called after all peers were disconnected. This could cause the function to never see utreexo peers to save
40bb37e to
600c317
Compare
|
Rebased with master to make sure linting will pass |
600c317 to
5e8d3e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions
5e8d3e6 to
03defdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 03defdb
03defdb to
25300bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-ACK 25300bb
What is the purpose of this pull request?
Which crates are being modified?
Description
This PR bundles some small fixes on how we select and keep our peers, specially on
sync-node. It solves some situations I've found when running floresta for days or weeks non-stop.Checklist
just lintcargo test