wallet: new option to start background mining

The setup-background-mining option can be used to select
background mining when a wallet loads. The user will be asked
the first time the wallet is created.
This commit is contained in:
moneromooo-monero
2019-03-30 19:21:30 +00:00
parent 4308a2e173
commit a2561653cb
10 changed files with 264 additions and 20 deletions
+2
View File
@@ -252,6 +252,8 @@ namespace tools
bool validate_transfer(const std::list<wallet_rpc::transfer_destination>& destinations, const std::string& payment_id, std::vector<cryptonote::tx_destination_entry>& dsts, std::vector<uint8_t>& extra, bool at_least_one_destination, epee::json_rpc::error& er);
void check_background_mining();
wallet2 *m_wallet;
std::string m_wallet_dir;
tools::private_file rpc_login_file;