Tor 0.4.9.0-alpha-dev
Data Fields
pow_worker_job_t Struct Reference

Data Fields

hs_pow_solver_inputs_t pow_inputs
 
uint32_t intro_circ_identifier
 
uint8_t rend_circ_cookie [HS_REND_COOKIE_LEN]
 
hs_pow_solution_tpow_solution_out
 

Detailed Description

An object passed to a worker thread that will try to solve the pow.

Definition at line 423 of file hs_pow.c.

Field Documentation

◆ intro_circ_identifier

uint32_t intro_circ_identifier

State: we'll look these up to figure out how to proceed after.

Definition at line 429 of file hs_pow.c.

Referenced by pow_worker_replyfn().

◆ pow_inputs

Inputs for the PoW solver (seed, chosen effort)

Definition at line 426 of file hs_pow.c.

◆ pow_solution_out

hs_pow_solution_t* pow_solution_out

Output: The worker thread will malloc and write its answer here, or set it to NULL if it produced no useful answer.

Definition at line 434 of file hs_pow.c.

Referenced by pow_worker_job_free(), pow_worker_replyfn(), and pow_worker_threadfn().

◆ rend_circ_cookie

uint8_t rend_circ_cookie[HS_REND_COOKIE_LEN]

Definition at line 430 of file hs_pow.c.


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