Structs§
Constants§
- PROGPOW_
CACHE_ BYTES - Total number of bytes in the ProgPoW cache.
- PROGPOW_
CACHE_ WORDS - Total number of 32-bit words in the ProgPoW cache.
- PROGPOW_
CNT_ CACHE - Number of cache accesses per loop.
- PROGPOW_
CNT_ DAG - Number of DAG accesses per computation.
- PROGPOW_
CNT_ MATH - Number of mathematical operations per loop.
- PROGPOW_
DAG_ LOADS - Number of DAG loads performed per loop.
- PROGPOW_
LANES - Number of parallel lanes in ProgPoW.
- PROGPOW_
MIX_ BYTES - Number of bytes in the ProgPoW mix buffer.
- PROGPOW_
PERIOD_ LENGTH - Length of the period for block processing.
- PROGPOW_
REGS - Number of registers in each lane.
Functions§
- fill_
mix - Fills the mix registers for a given lane with random values.
- fnv1a
- Computes the FNV-1a hash.
- higher32
- Extracts the higher 32 bits of a 64-bit integer.
- kiss99
- Generates a pseudo-random number using the KISS99 algorithm.
- lower32
- Extracts the lower 32 bits of a 64-bit integer.
- progpow_
init - Initializes the ProgPoW random state and sequence.
- progpow_
loop - Executes a single loop of the ProgPoW computation.
- rotl32
- Performs a left rotation on a 32-bit integer.
- rotr32
- Performs a right rotation on a 32-bit integer.