mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
daemon: Show mining address
This commit is contained in:
parent
5c85da5a73
commit
e54e5668a8
@ -449,7 +449,7 @@ bool t_rpc_command_executor::show_status() {
|
||||
% get_sync_percentage(ires)
|
||||
% (ires.testnet ? "testnet" : ires.stagenet ? "stagenet" : "mainnet")
|
||||
% bootstrap_msg
|
||||
% (!has_mining_info ? "mining info unavailable" : mining_busy ? "syncing" : mres.active ? ( ( mres.is_background_mining_enabled ? "smart " : "" ) + std::string("mining at ") + get_mining_speed(mres.speed) ) : "not mining")
|
||||
% (!has_mining_info ? "mining info unavailable" : mining_busy ? "syncing" : mres.active ? ( ( mres.is_background_mining_enabled ? "smart " : "" ) + std::string("mining at ") + get_mining_speed(mres.speed) + std::string(" to ") + mres.address ) : "not mining")
|
||||
% get_mining_speed(ires.difficulty / ires.target)
|
||||
% (unsigned)hfres.version
|
||||
% get_fork_extra_info(hfres.earliest_height, net_height, ires.target)
|
||||
|
Loading…
Reference in New Issue
Block a user