initial commit

This commit is contained in:
2026-07-31 14:21:48 +03:00
commit 92ceb8bec3
22 changed files with 3104 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef DEEPSEEK_POW_H
#define DEEPSEEK_POW_H
#include <stddef.h>
#include <stdint.h>
#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