net: add experimental HNS node rendezvous and relay - #960
Draft
denuoweb wants to merge 5 commits into
Draft
Conversation
This was referenced Jul 21, 2026
denuoweb
marked this pull request as ready for review
July 22, 2026 04:35
denuoweb
marked this pull request as draft
July 23, 2026 00:31
This was referenced Jul 23, 2026
Author
|
@nodech — requesting review of the node-rendezvous layer, especially route admission, reservation lifecycle, circuit flow control, and interaction with ordinary peer traffic. Named-service and web layers have been removed from this PR. |
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
HNS_NODE_V1hsdpeers, 1,000 pings, and a real mined block over the inner relayed connectionDeliberate split
The earlier version of this PR combined node rendezvous, named-service authorization, a web profile, and later routing hardening. This draft now stops before the named-service commit so the node transport can be reviewed independently.
Named-service authorization and browser/web transport will be proposed separately only after the node-rendezvous layer receives review.
Scope and safety
The experiment is opt-in, disabled outside regtest, and does not forward to a requester-selected host or port. A circuit terminates only at the live peer connection bound to its signed reservation. Private values
0x04000000,0x08000000, and0xf3are collision-prone test values, not requests for permanent assignments.Validation
hsdpeer session carrying 1,000 pings and a real blockProgram relationship
See the canonical program architecture and review order.