GNUNET_REVOCATION_PowCalculationHandle Struct Reference

The handle to a PoW calculation. More...

Collaboration diagram for GNUNET_REVOCATION_PowCalculationHandle:

## Data Fields | |

struct BestPow | best [POW_COUNT] |

Current set of found PoWs. More... | |

struct GNUNET_REVOCATION_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 76 of file revocation_api.c.

Current set of found PoWs.

Definition at line 68 of file revocation_api.c.

struct GNUNET_REVOCATION_PowP* GNUNET_REVOCATION_PowCalculationHandle::pow |

The final PoW result data structure.

Definition at line 86 of file revocation_api.c.

uint64_t GNUNET_REVOCATION_PowCalculationHandle::current_pow |

The current nonce to try.

Definition at line 91 of file revocation_api.c.

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.

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:

- src/revocation/revocation_api.c