feat(ethstats): add ethstats CLI subcommand with per-node credential forwarding#719
Open
feat(ethstats): add ethstats CLI subcommand with per-node credential forwarding#719
Conversation
mattevans
approved these changes
Dec 18, 2025
66e4e46 to
7b860c6
Compare
…forwarding Add a new ethstats mode that acts as an ethstats server, receiving data from execution clients and forwarding it to configured output sinks. Key features: - WebSocket server compatible with standard ethstats protocol - Per-node credential forwarding: nodes connect with nodename:base64(user:pass) allowing multiple nodes to share credentials with unique display names - GeoIP enrichment support - Authorization system with user/group filtering - Protobuf event types for blocks, stats, pending, latency, and new payloads Also refactors auth and geoip packages to be shared across server components.
7b860c6 to
b113047
Compare
- Resolved proto conflicts by merging both ExecutionEngine and Ethstats events - Renumbered Ethstats event enum values to avoid conflicts (84-90) - Added RPC_SNOOPER=10, ETHSTATS=11 to module enum - Regenerated proto files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Resolved conflicts in event_ingester.proto - Integrated BEACON_API_ETH_V1_BEACON_BLOB (84) from master - Renumbered ETHSTATS_* event types to 85-91 - Renumbered ethstats data fields to 207-213 (sequential after 206) - Regenerated proto files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Restores 088_transactions_structlog_call_to migration that was accidentally deleted in a previous merge. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Add a new ethstats mode that acts as an ethstats server, receiving data from
execution clients and forwarding it to configured output sinks.
Key features:
allowing multiple nodes to share credentials with unique display names
Also refactors auth and geoip packages to be shared across server components.