-
- Downloads
hs: Add service-side circuitmap API.
Now we have separate getters and setters for service-side and relay-side. I
took this approach over adding arguments to the already existing methods to
have more explicit type-checking, and also because some functions would grow
too large and dirty.
This commit also fixes every callsite to use the new function names which
modifies the legacy HS (v2) and the prop224 (v3) code.
Signed-off-by:
David Goulet <dgoulet@torproject.org>
Showing
- src/or/hs_circuitmap.c 196 additions, 54 deletionssrc/or/hs_circuitmap.c
- src/or/hs_circuitmap.h 49 additions, 16 deletionssrc/or/hs_circuitmap.h
- src/or/hs_intropoint.c 2 additions, 2 deletionssrc/or/hs_intropoint.c
- src/or/rendmid.c 8 additions, 6 deletionssrc/or/rendmid.c
- src/test/test_circuitlist.c 102 additions, 24 deletionssrc/test/test_circuitlist.c
- src/test/test_hs_intropoint.c 6 additions, 5 deletionssrc/test/test_hs_intropoint.c
Loading
Please register or sign in to comment