Skip to content

fix(kademlia, reacher): various connection fixes - #4412

Merged
istae merged 13 commits into
masterfrom
connection-fixes
Oct 24, 2023
Merged

fix(kademlia, reacher): various connection fixes#4412
istae merged 13 commits into
masterfrom
connection-fixes

Conversation

@istae

@istae istae commented Oct 19, 2023

Copy link
Copy Markdown
Contributor

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

  • Reacher now periodically tests a peer's reachability, instead of doing it only once after the initial connection
  • All of the neighbor peers are broadcasted to the neighbor after a connection
  • Kademlia will prediocally (hive) broadcast to each neighbor about other neighbors
  • Neighbor max connect attempt increased.
  • Hive will re-add a peer if the underlay has changed.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@istae istae changed the title Connection fixes fix(kademlia, reacher): various connection fixes Oct 20, 2023
@istae
istae requested review from acha-bill and mrekucci October 23, 2023 12:31
@istae
istae marked this pull request as ready for review October 23, 2023 12:31
@istae
istae requested a review from mrekucci October 23, 2023 17:30
Comment thread pkg/hive/hive.go Outdated
@istae
istae merged commit a3decde into master Oct 24, 2023
@istae
istae deleted the connection-fixes branch October 24, 2023 23:42
@istae istae self-assigned this Oct 26, 2023
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