feat(rpc): per-request HL compliance multiplexing#123
Merged
sprites0 merged 1 commit intonode-builderfrom Mar 16, 2026
Merged
Conversation
77d29d6 to
a4b0856
Compare
…eter Split hl_node_compliance into submodules and add HTTP middleware that reads the `?hl=true` or `?hl=false` query parameter per request. This allows a single RPC endpoint to serve both filtered (HL-compliant) and unfiltered responses based on the caller's preference. - Add tower Layer/Service that injects the `hl` flag into http::Extensions - Add server_restart module to replace the default RPC servers with the compliance-aware middleware - Add --hl-node-compliant-multiplexed CLI flag - Add deps: http, tower, tower-http, reth-rpc-builder, reth-ipc, reth-rpc-layer Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
a4b0856 to
0615602
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.
Summary
hl_node_complianceinto submodules (layer, rpc, server_restart)?hl=true/?hl=falsequery parameter per request--hl-node-compliant-multiplexedCLI flag to enable per-request modeTest plan
--hl-node-compliant-multiplexed --hl-node-compliant(default filtered)--hl-node-compliant-multiplexedonly (default unfiltered)?hl=truereturns filtered responses?hl=falsereturns unfiltered responsesResolves #113
🤖 Generated with Claude Code