Skip to content

Conversation

@RolandSherwin
Copy link
Member

@RolandSherwin RolandSherwin commented Oct 24, 2025

  • Split the async fn Bootstrap::new method into two methods, where the new is made a "sync" method and async fn new_with_preloaded_addrs retains the same functionality as the old new method.
  • The new_with_preloaded_addrs method is only required inside clients which tries to pre-populate its RT before starting the libp2p driver.
  • Introduces is_addr_queue_empty, as it will be used by the reachability check implementation
  • Deprecate try_next_dial_addr as it is just a copy of next_addr

@RolandSherwin RolandSherwin force-pushed the reach/1_bootstrap_changes branch 2 times, most recently from 3039575 to 233f482 Compare October 24, 2025 08:42
integration
- Split the `async fn Bootstrap::new` method into two methods, where the `new`
  is made a "sync" method and `async fn new_with_preloaded_addrs` retains the
  same functionality as the old new method.
- The `new_with_preloaded_addrs` method is only required inside clients which
  tries to pre-populate its RT before starting the libp2p driver.
- Introduces `is_addr_queue_empty`, as it will be used by the reachability
  check implementation
- Deprecate `try_next_dial_addr` as it is just a copy of `next_addr`
@RolandSherwin RolandSherwin force-pushed the reach/1_bootstrap_changes branch from 233f482 to c4f5a73 Compare October 28, 2025 03:31
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

devskim found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant