I cloned this repo "https://github.com/ethereum-mining/ethminer.git". I built and debugged it with CMake but when I reached the code below in CpuMiner.cpp ( 281th line) I couldn't debug it because there is no source code about ethash::search function in the same project.
auto r = ethash::search(context, header, boundary, nonce, blocksize); if (r.solution_found) The project uses this cmake instructions: hunter_add_package(ethash) find_package(ethash CONFIG REQUIRED)
I am not sure how hunter works, to find ethash repo but probably repo URL is: "https://github.com/chfast/ethash.git"
How Can I debug ethash project inside ethminer? I am using Linux.
https://stackoverflow.com/questions/66620980/debug-external-cmake-project-hunter-add-package March 14, 2021 at 12:04PM
没有评论:
发表评论