diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-30 19:21:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-04 18:10:45 +0000 |
commit | a2561653cbcba96e7e2dd352b9e0ea57cd220b2c (patch) | |
tree | b41ef6e9785ddd3b46aa3aafff90605a8adc9b11 /src/wallet/wallet_rpc_server.h | |
parent | Merge pull request #5318 (diff) | |
download | monero-a2561653cbcba96e7e2dd352b9e0ea57cd220b2c.tar.xz |
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.
Diffstat (limited to 'src/wallet/wallet_rpc_server.h')
-rw-r--r-- | src/wallet/wallet_rpc_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h index 2b52275b8..50aa7ba0a 100644 --- a/src/wallet/wallet_rpc_server.h +++ b/src/wallet/wallet_rpc_server.h @@ -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; |