feat: SubscribeNodeGroupStatus RPC for per-node-group chain status - #166
Open
l0gun0v wants to merge 1 commit into
Open
feat: SubscribeNodeGroupStatus RPC for per-node-group chain status#166l0gun0v wants to merge 1 commit into
l0gun0v wants to merge 1 commit into
Conversation
a10zn8
approved these changes
Aug 6, 2026
A dedicated RPC streams ChainDescription events per node group (tagged with node_group_id); SubscribeChainStatus keeps the merged view and is untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
l0gun0v
force-pushed
the
separation-nodecore
branch
from
August 19, 2026 09:38
eb2594d to
cd4025c
Compare
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.
Adds a dedicated RPC for per-node-group chain status:
rpc SubscribeNodeGroupStatus (SubscribeNodeGroupStatusRequest) returns (stream SubscribeChainStatusResponse) {} message SubscribeNodeGroupStatusRequest { } message ChainDescription { ChainRef chain = 1; // unchanged repeated ChainEvent chain_event = 2; // unchanged string node_group_id = 3; // set on node-group streams }SubscribeChainStatusResponse, so consumers parse exactly the events they already know — the difference is that eachChainDescriptiondescribes one node group instead of the merged per-network view.node_group_idis an opaque"<client_type>:<methods_hash8>"string (e.g.erigon:3fa9c21b); clients must not parse it. It is always empty onSubscribeChainStatus.ChainStatusgoingAVAIL_UNAVAILABLEis its removal signal.SubscribeChainStatusis untouched: existing consumers see no change, the two views never mix in one stream, and rollback is "stop calling the new RPC".Consumers: drpcorg/nodecore#316 (server), drpcorg/dproxy#2804 (aggregator) — both pin their submodule to this branch and need this merged first.