Revert "Breaking change to remove RRID from CORES packages (#740)" #742
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 reverts commit a151e96.
Note
Reintroduces return-route IDs into routes/CORES and plumbs them through Neighborhood and ProxyServer, updates message schemas (hostname optional, sequence/reception fields), DNS/impersonation handling, and tests.
Route(encrypted hop) withRoute::id(); changeRoute::round_trip(...)to accept RRID.ExpectedServices::RoundTripnow carries RRID;Neighborhoodgenerates/increments RRIDs (zero-hop too) and composes responses with RRID.RouteQueryMessagenow useshostname_opt;Hostmoved toproxy_server/protocol_pack.AddReturnRouteMessage; store RRID→return-route metadata inTtlHashMap; attach on requests; on responses/DNS failures, extract RRID from route and use stored metadata to report services and errors.ClientRequestPayload_0v1.target_hostnameisOption<String>; factories default ports; server impersonators accept optional hostname.reception_port_opt→reception_port,sequence_number_opt→sequence_number; propagate acrossTransmitDataMsg,InboundClientData, readers/pools.TtlHashMap; remove packet "describe" helpers; extensive test updates and API adjustments throughout.Written by Cursor Bugbot for commit 820eeb5. This will update automatically on new commits. Configure here.