Tor 0.4.9.0-alpha-dev
Data Fields
hs_pow_desc_params_t Struct Reference

#include <hs_pow.h>

Data Fields

hs_pow_desc_type_t type
 
uint8_t seed [HS_POW_SEED_LEN]
 
uint32_t suggested_effort
 
time_t expiration_time
 

Detailed Description

Proof-of-Work parameters for DoS defense located in a descriptor.

Definition at line 62 of file hs_pow.h.

Field Documentation

◆ expiration_time

time_t expiration_time

Timestamp after which the above seed expires.

Definition at line 74 of file hs_pow.h.

◆ seed

uint8_t seed[HS_POW_SEED_LEN]

Random 32-byte seed used as input the the PoW hash function

Definition at line 67 of file hs_pow.h.

◆ suggested_effort

uint32_t suggested_effort

Specifies effort value that clients should aim for when contacting the service.

Definition at line 71 of file hs_pow.h.

◆ type

Type of PoW system being used.

Definition at line 64 of file hs_pow.h.


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