Tor 0.4.9.3-alpha-dev
Loading...
Searching...
No Matches
Data Fields
hsdir_index_t Struct Reference

#include <hsdir_index_st.h>

Data Fields

uint8_t fetch [DIGEST256_LEN]
 
uint8_t store_first [DIGEST256_LEN]
 
uint8_t store_second [DIGEST256_LEN]
 

Detailed Description

Hidden service directory index used in a node_t which is set once we set the consensus.

Definition at line 17 of file hsdir_index_st.h.

Field Documentation

◆ fetch

uint8_t fetch[DIGEST256_LEN]

HSDir index to use when fetching a descriptor.

Definition at line 19 of file hsdir_index_st.h.

Referenced by compare_digest_to_fetch_hsdir_index(), compare_node_fetch_hsdir_index(), hs_control_desc_event_requested(), and node_has_hsdir_index().

◆ store_first

uint8_t store_first[DIGEST256_LEN]

HSDir index used by services to store their first and second descriptor. The first descriptor is chronologically older than the second one and uses older TP and SRV values.

Definition at line 24 of file hsdir_index_st.h.

Referenced by compare_digest_to_store_first_hsdir_index(), compare_node_store_first_hsdir_index(), node_has_hsdir_index(), and upload_descriptor_to_hsdir().

◆ store_second

uint8_t store_second[DIGEST256_LEN]

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