etchash icon indicating copy to clipboard operation
etchash copied to clipboard

etclabscore/cpp-etchash can not search solution by search_light

Open caiqinghua opened this issue 4 years ago • 0 comments

int epoch_number = block_number / 30000;
const struct ethash_epoch_context *context = ethash_get_global_epoch_context(epoch_number); ethash::search_result ethash_result = ethash::search_light(*context, header_hash, boundary, nonce, 1); if (!ethash_result.solution_found) { return LOW_DIFFICULTY; }

The code can search solution for ethereum, but can not for etc node and cpp-etchash code. Please help me @q9f @iquidus

caiqinghua avatar May 08 '21 12:05 caiqinghua