GNUnet 0.22.0
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 37 of file gnsrecord_pow.c.

Field Documentation

◆ pow

uint64_t BestPow::pow

PoW nonce.

Definition at line 42 of file gnsrecord_pow.c.

◆ bits

unsigned int BestPow::bits

Corresponding zero bits in hash.

Definition at line 47 of file gnsrecord_pow.c.

Referenced by calculate_score().


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