You can find it here. I want to know if it checks if it has gotten another mining job while mining.
The stratum miner processes any jobs sent to it. Although the stratum miner is one file, it is actually two processes:
- The main process handles the socket messages between itself and the connected pool.
- A worker process which mines jobs.