GNUnet 0.22.2
BestPow Struct Reference

API for proof of work. More...

Data Fields

uint64_t pow
 PoW nonce. More...
 
unsigned int bits
 Corresponding zero bits in hash. More...
 

Detailed Description

API for proof of work.

Author
Martin Schanzenbach Helper struct that holds a found pow nonce and the corresponding number of leading zeros.

Definition at line 36 of file gnsrecord_pow.c.

Field Documentation

◆ pow

uint64_t BestPow::pow

PoW nonce.

Definition at line 41 of file gnsrecord_pow.c.

◆ bits

unsigned int BestPow::bits

Corresponding zero bits in hash.

Definition at line 46 of file gnsrecord_pow.c.

Referenced by calculate_score().


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