| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
0c41488 miner: show id and height when a block is found (stoffu)
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu)
af773211 Stagenet (stoffu)
cc9a0bee command_line: allow args to depend on more than one args (stoffu)
55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu)
450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu)
9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
3962bcb2 Closes #2886: really ignore battery checking (Timothy D. Prime)
|
| | |
| |
| |
| | |
Move option test first.
|
| | |
| |
| |
| | |
Coverity 136462
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
cryptonote::miner::get_system_times(): Fetch the system's total and
idle time using sysctl kern.cp_time.
cryptonote::miner::get_process_time(): Use the same implementation as
Linux and OSX, the times(3) function conforms to POSIX.1 and is
available on FreeBSD.
cryptonote::miner::on_battery_power(): Try to fetch the battery status
using sysctl hw.acpi.acline. If that fails (if ACPI is not enabled on
the system), then try querying /dev/apm.
|
| | |
|
| |\
| |
| |
| | |
c4136134 miner: always update block template when starting (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
This fixes using the previous address when starting mining,
then stopping and restarting with a different address
|
| |/ |
|
| |
|
|
|
| |
The /sys/class/power_supply/*/present file usually does not exist for
AC power supplies.
|
| |\
| |
| |
| | |
d1f204d6 miner: set thread name before logging (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
87b5ede9 miner: fix ignoring battery from command line (moneromooo-monero)
|
| | | |
|
| |\ \
| |/
|/|
| | |
94717021 fix on_battery_power for linux (Ryan Mehta)
|
| | |
| |
| |
| | |
fix ac/battery linux
|
| |/
|
|
|
| |
They were set as uint8_t, which boost was apparently treating
as a character type, rather than a numeric type
|
| |
|
|
|
| |
Implements miner::get_system_times, miner::get_process_time and
miner::on_battery_power for OSX so that background mining works on OSX.
|
| |
|
|
| |
Only works from V5 fork onward - returns 0 before that block.
|
| |\
| |
| |
| | |
a38343bf miner: add a debug log in pause and resume (moneromooo-monero)
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
| |
An idea from smooth
|
| | |
|
| |\
| |
| |
| | |
a493c0b1 BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so required a definition. (Dion Ahmetaj)
|
| | |
| |
| |
| |
| |
| | |
required a definition.
Instead of adding a declaration to cpp file, I changed it to non odr-used.
|
| |/
|
|
|
|
| |
Added an extra path to check for linux power supply status.
Added ignore battery option. If set to true, then when we can't figure out
the power status, we'll assume the system is plugged in.
|
| |
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
order to be better able to handle failure states.
|
| |
|
|
| |
plugged in.
|
| |
|
|
| |
started, and added an explicit sleep in that block to wait for some mining to occur.
|
| |
|
|
| |
mining::stop then mining::start, idle logic is re-run instead of starting immediately (if it was running before stop).
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|