docs: document missing config sections and fields #19996
Merged
+69
−0
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.
This change updates the configuration reference to align with the current configuration schema in code. It adds missing sections for the stages.era and stages.prune configurations, includes the optional dir field for stages.etl, extends the sessions section with pending_session_timeout and the limits subtable, and documents additional peers options including max_backoff_count, trusted_nodes_resolution_interval, incoming_ip_throttle_duration, and connection_info.max_concurrent_outbound_dials, as well as reputation_weights.bad_announcement. It also introduces the static_files section for per-segment block partitioning. These updates are grounded in the definitions in
crates/config/src/config.rs
crates/net/network-types/src/peers/config.rs
crates/net/network-types/src/session/config.rs
crates/net/network-types/src/peers/reputation.rs
ensuring flag names and defaults match the implementation. The ip_filter field in PeersConfig is intentionally omitted because it is not deserializable from TOML (#[serde(skip)]) and therefore cannot be configured via reth.toml.