Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-02-10 | Cleaned up some logging. Thanks to moneromooo for help. | Dion Ahmetaj | 1 | -20/+20 | |
2017-02-10 | Added some //TODO comments pertaining to returning enums instead of bools in ↵ | Dion Ahmetaj | 1 | -0/+5 | |
order to be better able to handle failure states. | |||||
2017-02-10 | Moved around checking of AC power in order to bail quicker to sleep if not ↵ | Dion Ahmetaj | 1 | -4/+6 | |
plugged in. | |||||
2017-02-10 | Moved setting of previous process times to block where background mining is ↵ | Dion Ahmetaj | 1 | -14/+11 | |
started, and added an explicit sleep in that block to wait for some mining to occur. | |||||
2017-02-10 | Set background mining started bool to false on bg thread start. If ↵ | Dion Ahmetaj | 1 | -0/+1 | |
mining::stop then mining::start, idle logic is re-run instead of starting immediately (if it was running before stop). | |||||
2017-02-10 | Background/smart mining. If a users' computer is plugged into a power | Dion Ahmetaj | 2 | -11/+442 | |
source, and CPU has been idle for some time, then begin mining to some threshold (don't destroy the users' CPU). This patch only supports windows and linux (I've only tested on Win64 and Ubuntu). The variables currently default to pretty conservative values (i.e. 20% CPU mining threshold). | |||||
2017-02-08 | extract some basic code from libcryptonote_core into libcryptonote_basic | kenshi84 | 22 | -0/+4908 | |