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

config: better way to specify custom hosts #6

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

dknopik
Copy link
Contributor

@dknopik dknopik commented Oct 22, 2024

Users can add their own hosts (e.g. attackers) via Shadow's host config.

As network_node_ids are unpredictable and generated by Ethshadow, the user has to specify the location and reliability for the custom host instead of a network_node_id.

Previously, this was done like this (replacing <location> and <reliablilty> as desired):

network_node_id: <location>-<reliability>

Now, it is done like this, which is nicer:

location: <location>
reliability: <reliability>

An error message instructs the correct usage. Documentation on this will follow soon.

@ppopth ppopth merged commit 676eee1 into ethereum:main Oct 27, 2024
3 checks passed
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.

2 participants