Data Fields
rend_service_descriptor_t Struct Reference

#include <rend_service_descriptor_st.h>

Data Fields

int version
time_t timestamp
int all_uploads_performed

Detailed Description

Information used to connect to a hidden service. Used on both the service side and the client side.

Definition at line 14 of file rend_service_descriptor_st.h.

Field Documentation

◆ all_uploads_performed

int rend_service_descriptor_t::all_uploads_performed

Has descriptor been uploaded to all hidden service directories?

Definition at line 25 of file rend_service_descriptor_st.h.

◆ intro_nodes

smartlist_t* rend_service_descriptor_t::intro_nodes

List of the service's introduction points. Elements are removed if introduction attempts fail.

Definition at line 23 of file rend_service_descriptor_st.h.

Referenced by rend_client_get_random_intro_impl(), and rend_parse_introduction_points().

◆ pk

crypto_pk_t* rend_service_descriptor_t::pk

This service's public key.

Definition at line 15 of file rend_service_descriptor_st.h.

Referenced by rend_cache_failure_remove(), and rend_service_descriptor_free_().

◆ protocols

unsigned rend_service_descriptor_t::protocols

Bitmask: which introduce/rendezvous protocols are supported? (We allow bits '0', '1', '2' and '3' to be set.)

Definition at line 20 of file rend_service_descriptor_st.h.

◆ successful_uploads

smartlist_t* rend_service_descriptor_t::successful_uploads

List of hidden service directories to which an upload request for this descriptor could be sent. Smartlist exists only when at least one of the previous upload requests failed (otherwise it's not important to know which uploads succeeded and which not).

Definition at line 30 of file rend_service_descriptor_st.h.

◆ timestamp

time_t rend_service_descriptor_t::timestamp

Time when the descriptor was generated.

Definition at line 17 of file rend_service_descriptor_st.h.

Referenced by rend_cache_clean_v2_descs_as_dir(), and rend_cache_store_v2_desc_as_dir().

◆ version

int rend_service_descriptor_t::version

Version of the descriptor format: 0 or 2.

Definition at line 16 of file rend_service_descriptor_st.h.

The documentation for this struct was generated from the following file: