throttling cli arg

This commit is contained in:
2026-05-03 16:37:26 +02:00
parent 318fecc029
commit be2a0f3abf
3 changed files with 50 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ extern "C" {
typedef struct Autolykos2Context Autolykos2Context;
extern uint64_t autolykos2_sleepBetweenHashOperationsMicroseconds;
Autolykos2Context* Autolykos2_Create(void);
void Autolykos2_Destroy(Autolykos2Context* ctx);
@@ -61,6 +63,8 @@ bool Autolykos2_FindNonceSingleCore(
uint8_t outHash[32]
);
void Autolykos2_SetSleepBetweenHashOperations(uint64_t sleepMicroseconds);
#ifdef __cplusplus
}
#endif