Expand description

Contains utilities to score Proof of Work.

Structs

Encapsulates the different steps that are used for scoring Proof of Work.

Functions

Computes the Proof of Work score of given bytes. Panic: expects at least 8 bytes.

Returns the number of trailing zeros of a Proof of Work hash.

pow_hashDeprecated

Returns the Proof of Work hash of given bytes. Panic: expects at least 8 bytes.

Returns the Proof of Work score of a Proof of Work hash.