GNUnet  0.20.0
GNUNET_REVOCATION_PowCalculationHandle Struct Reference

The handle to a PoW calculation. More...

Collaboration diagram for GNUNET_REVOCATION_PowCalculationHandle:
[legend]

Data Fields

struct BestPow best [POW_COUNT]
 Current set of found PoWs. More...
 
struct GNUNET_REVOCATION_PowPpow
 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...
 

Detailed Description

The handle to a PoW calculation.

Used in iterative PoW rounds.

Definition at line 76 of file revocation_api.c.

Field Documentation

◆ best

struct BestPow GNUNET_REVOCATION_PowCalculationHandle::best[POW_COUNT]

Current set of found PoWs.

Definition at line 68 of file revocation_api.c.

◆ pow

struct GNUNET_REVOCATION_PowP* GNUNET_REVOCATION_PowCalculationHandle::pow

The final PoW result data structure.

Definition at line 86 of file revocation_api.c.

◆ current_pow

uint64_t GNUNET_REVOCATION_PowCalculationHandle::current_pow

The current nonce to try.

Definition at line 91 of file revocation_api.c.

◆ epochs

unsigned int GNUNET_REVOCATION_PowCalculationHandle::epochs

Epochs how long the PoW should be valid.

This is added on top of the difficulty in the PoW.

Definition at line 97 of file revocation_api.c.

◆ difficulty

unsigned int GNUNET_REVOCATION_PowCalculationHandle::difficulty

The difficulty (leading zeros) to achieve.

Definition at line 102 of file revocation_api.c.


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