Commit Graph

83 Commits (47f78dc11a9e7744336395884b9d9bbbbc7bb29a)

Author SHA1 Message Date
Vasil Dimov 47c0948ab0
Implement missing miner functions on FreeBSD
7 years ago
Vasil Dimov fdb5bd161d
Remove unused variables and fix typos in comments
7 years ago
Riccardo Spagni e50bf5f811
Merge pull request #2597
7 years ago
moneromooo-monero c413613416
miner: always update block template when starting
7 years ago
kenshi84 53ad5a0f42
Subaddresses
7 years ago
Guillaume LE VAILLANT 20256b7c04 Fix AC power supply detection on Linux
7 years ago
Riccardo Spagni 7b14a96c03
Merge pull request #2283
7 years ago
Riccardo Spagni da2c662cf2
Merge pull request #2232
7 years ago
moneromooo-monero d1f204d640
miner: set thread name before logging
7 years ago
Riccardo Spagni ce52d94cb7
Merge pull request #2147
7 years ago
moneromooo-monero 87b5ede908
miner: fix ignoring battery from command line
7 years ago
moneromooo-monero f5f985c018
miner: fix background mining options parsing
7 years ago
Ryan Mehta 94717021ef fix on_battery_power for linux
7 years ago
jethro 1b75ad91aa Add OSX background mining
7 years ago
assylias bff90264b8
Add expected total reward to RPC "getblocktemplate".
7 years ago
Riccardo Spagni 6353e5b0e5
Merge pull request #1946
7 years ago
moneromooo-monero a38343bf68
miner: add a debug log in pause and resume
7 years ago
Guillaume LE VAILLANT 64377c90b5 Add other possible paths of AC power status file on Linux
7 years ago
moneromooo-monero 6d315459b6
core: avoid possible reordering bugs wth tx/bloch hash cache
7 years ago
moneromooo-monero f065234b71
core: cache tx and block hashes in the respective classes
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
Riccardo Spagni 6994c85201
Merge pull request #1733
7 years ago
Dion Ahmetaj 69ab14d91e More robust battery status handling.
7 years ago
Dion Ahmetaj a493c0b196 BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so required a definition.
7 years ago
Dion Ahmetaj ad95e65028 Added a note about smart mining to status command. Fixed up a bug where I was resetting bg mining enabled instead of started. Upped the miner threshold. Also moved setting of enabled on start above miner thread creation since starting with true, then stopping, then starting with false resulted in race condition.
7 years ago
Dion Ahmetaj e4dfd2fb63 Changed ac_line_status to on_battery_power.
7 years ago
Dion Ahmetaj d2c7d0f6b0 Cleaned up some logging. Thanks to moneromooo for help.
7 years ago
Dion Ahmetaj 68652cd94d Added some //TODO comments pertaining to returning enums instead of bools in order to be better able to handle failure states.
7 years ago
Dion Ahmetaj 0b1045ed7d Moved around checking of AC power in order to bail quicker to sleep if not plugged in.
7 years ago
Dion Ahmetaj 2937fdbbbf Moved setting of previous process times to block where background mining is started, and added an explicit sleep in that block to wait for some mining to occur.
7 years ago
Dion Ahmetaj 21a1e0252f Set background mining started bool to false on bg thread start. If mining::stop then mining::start, idle logic is re-run instead of starting immediately (if it was running before stop).
7 years ago
Dion Ahmetaj 345ed4823c Background/smart mining. If a users' computer is plugged into a power
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago