Mining/miner/core/cmake/progpowz.cmake
snider b7af288374 feat: Add ProgPowZ algorithm support (Zano)
- Add core crypto implementation (ProgPowZHash.cpp, ProgPowZCache.cpp)
- ProgPowZ uses standard Ethash 30000 block epochs
- Period length 50 (vs 3 for KawPow), CNT_CACHE 12, CNT_MATH 20
- Integrate with OpenCL and CUDA backends for memory calculation
- Register PROGPOWZ_ZANO algorithm ID (0x70100000)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 20:19:54 +00:00

21 lines
589 B
CMake

if (WITH_PROGPOWZ)
add_definitions(/DXMRIG_ALGO_PROGPOWZ)
list(APPEND HEADERS_CRYPTO
src/crypto/progpowz/ProgPowZHash.h
src/crypto/progpowz/ProgPowZCache.h
)
list(APPEND SOURCES_CRYPTO
src/crypto/progpowz/ProgPowZHash.cpp
src/crypto/progpowz/ProgPowZCache.cpp
)
# ProgPowZ uses the same libethash library as KawPow and ETChash
if (NOT WITH_KAWPOW AND NOT WITH_ETCHASH)
add_subdirectory(src/3rdparty/libethash)
set(ETHASH_LIBRARY ethash)
endif()
else()
remove_definitions(/DXMRIG_ALGO_PROGPOWZ)
endif()