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

[Merged by Bors] - Release candidate v1.2.0-rc.0 #2248

Closed
wants to merge 3 commits into from

Conversation

michaelsproul
Copy link
Member

Prepare for v1.2.0 with this release candidate.

To be merged after #2247 and #2246

michaelsproul and others added 3 commits March 8, 2021 04:48
## Proposed Changes

Supranational just made a `blst` 0.3.3 release, so I figure we may as well include it for v1.2.0
…#2247)

This is a small PR which prevents unwanted bootnodes from being added to the DHT and being dialed when the `--disable-discovery` flag is set. 

The main reason one would want to disable discovery is to connect to a fix set of peers. Currently, regardless of what the user does, Lighthouse will populate its DHT with previously known peers and also fill it with the spec's bootnodes. It will then dial the bootnodes that are capable of being dialed. This prevents testing with a fixed peer list.

This PR prevents these excess nodes from being added and dialed if the user has set `--disable-discovery`.
@michaelsproul michaelsproul added blocked ready-for-review The code is ready for review and removed blocked labels Mar 8, 2021
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

LGTM!

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Mar 8, 2021
@michaelsproul
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Mar 8, 2021
Prepare for v1.2.0 with this release candidate.

To be merged after #2247 and #2246

Co-authored-by: Age Manning <[email protected]>
@bors bors bot changed the title Release candidate v1.2.0-rc.0 [Merged by Bors] - Release candidate v1.2.0-rc.0 Mar 8, 2021
@bors bors bot closed this Mar 8, 2021
@michaelsproul michaelsproul deleted the cut-1.2.0-rc.0 branch March 8, 2021 07:33
michaelsproul added a commit that referenced this pull request Mar 10, 2021
Prepare for v1.2.0 with this release candidate.

To be merged after #2247 and #2246

Co-authored-by: Age Manning <[email protected]>
michaelsproul added a commit that referenced this pull request Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants