#ifndef DEEPSEEK_POW_H #define DEEPSEEK_POW_H #include #include #ifdef __cplusplus extern "C" { #endif /* * Возвращает: * * >= 0 — найденный nonce * -1 — решение не найдено * -2 — передан NULL * -3 — некорректные аргументы * -4 — внутреннее исключение C++ */ int64_t deepseek_pow_solve( const char* base, size_t base_len, const char* challenge_hex, size_t challenge_hex_len, int64_t difficulty ); #ifdef __cplusplus } #endif #endif