ESP-Miner/main/tasks/asic_task.h
2023-08-26 12:28:17 -04:00

15 lines
368 B
C

#ifndef ASIC_TASK_H_
#define ASIC_TASK_H_
#include "mining.h"
typedef struct
{
// ASIC may not return the nonce in the same order as the jobs were sent
// it also may return a previous nonce under some circumstances
// so we keep a list of jobs indexed by the job id
bm_job **active_jobs;
} AsicTaskModule;
void ASIC_task(void *pvParameters);
#endif