The handle to a PoW calculation. More...
Data Fields | |
struct BestPow | best [POW_COUNT] |
Current set of found PoWs. More... | |
struct GNUNET_GNSRECORD_PowP * | pow |
The final PoW result data structure. More... | |
uint64_t | current_pow |
The current nonce to try. More... | |
unsigned int | epochs |
Epochs how long the PoW should be valid. More... | |
unsigned int | difficulty |
The difficulty (leading zeros) to achieve. More... | |
The handle to a PoW calculation.
Used in iterative PoW rounds.
Definition at line 54 of file gnsrecord_pow.c.
Current set of found PoWs.
Definition at line 59 of file gnsrecord_pow.c.
Referenced by calculate_score().
struct GNUNET_GNSRECORD_PowP* GNUNET_GNSRECORD_PowCalculationHandle::pow |
The final PoW result data structure.
Definition at line 64 of file gnsrecord_pow.c.
uint64_t GNUNET_GNSRECORD_PowCalculationHandle::current_pow |
The current nonce to try.
Definition at line 69 of file gnsrecord_pow.c.
unsigned int GNUNET_GNSRECORD_PowCalculationHandle::epochs |
Epochs how long the PoW should be valid.
This is added on top of the difficulty in the PoW.
Definition at line 75 of file gnsrecord_pow.c.
unsigned int GNUNET_GNSRECORD_PowCalculationHandle::difficulty |
The difficulty (leading zeros) to achieve.
Definition at line 80 of file gnsrecord_pow.c.