adding an option to boostrapcmd to pull candidate access nodes in addition to proposed nodes #6489
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The bootstrapcmd is used to download all the partner node info during a network upgrade. It downloads all the nodes in the proposed table.
For the upcoming mainnet upgrade, the access nodes that have staked but have not yet been chosen and included in the proposed table must also be included. They are in the candidate table.
This PR adds an option to the bootstrap command to include those candidate access nodes.
Before we would run:
With this change we would run the same command with the additional flag
include-candidate-access-nodes
,Example Output by running the command without the flag: Total partner nodes = 359
Example Output by running the command with the flag: Total partner nodes = 359 proposed + 5 candidate = 364