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

Add flag to allow reading bootstrap nodes from a file #6351

Merged
merged 47 commits into from
Jun 26, 2020

Conversation

dv8silencer
Copy link
Contributor

What type of PR is this?

Feature

What does this PR do? Why is it needed?
It adds a new flag:

--bootstrap-node-file value Path to a YAML file that lists bootstrap nodes that the beacon node will connect for peer discovery via DHT. Setting this flag will cause the bootstrap-node flag to be ignored. One line per node in YAML list format.

Which issues(s) does this PR fix?

Fixes #6316

Other notes for review

author dv8silencer <dv8silencer+github@gmail.com> 1592805180 -0500
committer dv8silencer <dv8silencer+github@gmail.com> 1592855989 -0500
Create a bootstrap-node-file flag which reads nodes from a YAML file and make the flag mutually exclusive to the bootstrap-node flag
@dv8silencer dv8silencer requested a review from a team as a code owner June 22, 2020 20:59
@CLAassistant
Copy link

CLAassistant commented Jun 22, 2020

CLA assistant check
All committers have signed the CLA.

@dv8silencer dv8silencer changed the title PR for issue #6316 Add a flag that allows bootstrap nodes to be read from a file (issue#6316) Jun 22, 2020
@0xKiwi 0xKiwi changed the title Add a flag that allows bootstrap nodes to be read from a file (issue#6316) Add a flag that allows bootstrap nodes to be read from a file Jun 22, 2020
@0xKiwi 0xKiwi changed the title Add a flag that allows bootstrap nodes to be read from a file Add flag to allow reading bootstrap nodes from a file Jun 22, 2020
@dv8silencer dv8silencer requested a review from terencechain June 23, 2020 00:14
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Nishant Das <nish1993@hotmail.com>
@dv8silencer dv8silencer marked this pull request as draft June 23, 2020 05:59
@codecov
Copy link

codecov bot commented Jun 26, 2020

Codecov Report

Merging #6351 into master will decrease coverage by 0.06%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master    #6351      +/-   ##
==========================================
- Coverage   61.35%   61.28%   -0.07%     
==========================================
  Files         349      348       -1     
  Lines       28791    28920     +129     
==========================================
+ Hits        17664    17724      +60     
- Misses       8764     8818      +54     
- Partials     2363     2378      +15     

Copy link
Member

@prestonvanloon prestonvanloon left a comment

Choose a reason for hiding this comment

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

One minor comment, otherwise LGTM

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
@prylabs-bulldozer prylabs-bulldozer bot merged commit 812a663 into prysmaticlabs:master Jun 26, 2020
@dv8silencer dv8silencer deleted the dv8s-iss6316 branch July 3, 2020 21:59
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.

Add a Bootstrap File Flag
5 participants