Skip to content

Conversation

achingbrain
Copy link
Member

Updates the bootstrap module to only discover the bootstrap nodes but not dial them.

Invidiual protocols that require bootstrapping (e.g. KAD-DHT) can then react to the disovery and choose to dial the peers.

This cuts down on unecessary dials for lightweight nodes and brings the bootstrap module in line with other peer discovery mechanisms.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

Updates the bootstrap module to only discover the bootstrap nodes
but not dial them.

Invidiual protocols that require bootstrapping (e.g. KAD-DHT) can
then react to the disovery and choose to dial the peers.

This cuts down on unecessary dials for lightweight nodes and brings
the bootstrap module in line with other peer discovery mechanisms.
@achingbrain achingbrain force-pushed the fix/do-not-dial-bootstrap-nodes branch from 052da78 to fb73ed4 Compare April 17, 2025 10:22
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.

1 participant