diff options
author | Dion Ahmetaj <Dion Ahmetaj> | 2017-01-14 22:20:54 -0500 |
---|---|---|
committer | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-10 18:07:39 -0500 |
commit | 345ed4823c686edda33e224316c5ade8a5b838ae (patch) | |
tree | 7d113167a22dc88069142584cc32f42202a9ce52 /src/daemon/command_server.cpp | |
parent | Merge pull request #1698 (diff) | |
download | monero-345ed4823c686edda33e224316c5ade8a5b838ae.tar.xz |
Background/smart mining. If a users' computer is plugged into a power
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).
Diffstat (limited to '')
-rw-r--r-- | src/daemon/command_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 34868b576..4133b90d9 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -96,7 +96,7 @@ t_command_server::t_command_server( m_command_lookup.set_handler( "start_mining" , std::bind(&t_command_parser_executor::start_mining, &m_parser, p::_1) - , "Start mining for specified address, start_mining <addr> [<threads>], default 1 thread" + , "Start mining for specified address, start_mining <addr> [<threads>] [do_background_mining], default 1 thread, no background mining" ); m_command_lookup.set_handler( "stop_mining" |