EIP-7594: add custody settings config#3766
Merged
hwwhww merged 5 commits intoethereum:devfrom May 15, 2024
Merged
Conversation
hwwhww
reviewed
May 15, 2024
Co-authored-by: Hsiao-Wei Wang <[email protected]>
AgeManning
reviewed
May 15, 2024
| MAX_REQUEST_DATA_COLUMN_SIDECARS: 16384 | ||
| SAMPLES_PER_SLOT: 8 | ||
| CUSTODY_REQUIREMENT: 1 | ||
| TARGET_NUMBER_OF_PEERS: 70 |
Contributor
There was a problem hiding this comment.
Do we need the target number of peers in the config?
Currently I think most clients expose this via a CLI flag. Each client sets their own defaults based on node-resources and misc tradeoffs with performance. I think we probably still want to leave this up to client implementations to set
dapplion
reviewed
May 15, 2024
Member
dapplion
left a comment
There was a problem hiding this comment.
Re including this values in the spec:
SAMPLES_PER_SLOT: As of today sampling is only used for a node to influence its own view on what's safe. This is subjective and different users may have different safety requirements. I would exclude this value from the configCUSTODY_REQUIREMENT: Only makes sense to add to the spec if this is the minimum custody per NodeID, enforceable with peer scoring.TARGET_NUMBER_OF_PEERS: Clients allow to customize peer counts. Clients may choose to show warnings if the user selects a value less than this. Then I'm not sure of the usefulness of having this parameter in the spec. Unless we expect different networks to have widely different peers needs and it being convenient to standardized those warning messages
Contributor
For the spec format, we just need to put them into either presets or configurations 😅 |
hwwhww
approved these changes
May 15, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.