Hi David, just realized that we probably don't have a tracking ticket for our lack of v3 HSFETCH support. Your recent spec update made reference to #20699 (moved) but that's no longer open so filing another one for this.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Unparenting, this has nothing to do with v2 deprecation roadmap. We might need it or not in the future. But if we do, lets provide a rationale instead of flat parenting. (And if it is about OnionBalance v3 support, please make sure with the maintainer that it is in fact needed.)
So hmmm this is quite simpler than I expected but this lack the support of SERVER= as well as DescId but that is fine because we don't have such a thing.
I don't think supporting SERVER= would be that complicated, it would basically mean add a new public API call to fetch v3 descriptor that takes an hsdir and then call directory_launch_v3_desc_fetch.
I've left comment on the PRs as well. Thanks neel!
I added SERVER= support and pushed it. I also updated my torspec to add your changes. Same PRs for both tor and torspec.
So fast! Thanks!
Ok another round of comments. This one is more about where to put things that I think would be better in terms of API correctness. I've tried to describe it a bit clearer what I think is the ideal path.
Also, SERVER= can be specified more than once so it is very important to follow what v2 does that is a list of HSDirs, not just an rs node.
So basically, we need the entry point to be within hs_control.h API, and then calls the new function you added (hs client) but that one should take a list of HSDirs. Having the closest to the v2 behavior is desirable here and not much complexity added.
Great thanks! We can go and merge this imo! Just tested it, works well! Reminder where the code and spec are. Quickly neel, can you push a quick fix on the spec comment I left. I made a mistake and it got into the spec so we just need to remove one sentence :).