diff options
author | David Goulet <dgoulet@torproject.org> | 2022-06-29 11:56:05 -0400 |
---|---|---|
committer | Micah Elizabeth Scott <beth@torproject.org> | 2023-05-10 07:37:11 -0700 |
commit | 4eb783e97b20c830a1a4dff91cef13bcfd4f713f (patch) | |
tree | c65643762e8150db623a1bd11c5ca2ed77238cd5 /src/test | |
parent | f0b63ca242a66cb5172e6b11a9f068ed348f601b (diff) | |
download | tor-4eb783e97b20c830a1a4dff91cef13bcfd4f713f.tar.gz tor-4eb783e97b20c830a1a4dff91cef13bcfd4f713f.zip |
hs: Priority queue for rendezvous requests
If PoW are enabled, use a priority queue by effort for the rendezvous
requests hooked into the mainloop.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_hs_service.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 4a8a758b3f..eb905714c1 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -2279,12 +2279,14 @@ mock_build_state_get_exit_node(cpath_build_state_t *state) static void mock_launch_rendezvous_point_circuit(const hs_service_t *service, - const hs_service_intro_point_t *ip, - const hs_cell_introduce2_data_t *data) + const ed25519_public_key_t *ip_auth_pubkey, + const curve25519_keypair_t *ip_enc_key_kp, + const hs_cell_intro_rdv_data_t *rdv_data) { (void) service; - (void) ip; - (void) data; + (void) ip_auth_pubkey; + (void) ip_enc_key_kp; + (void) rdv_data; return; } |