mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #6588
bcef52d
daemon: remove time based 'update needed' status string (moneromooo-monero)
This commit is contained in:
commit
81c2586358
@ -511,7 +511,7 @@ bool t_rpc_command_executor::show_status() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::stringstream str;
|
std::stringstream str;
|
||||||
str << boost::format("Height: %llu/%llu (%.1f%%) on %s%s, %s, net hash %s, v%u%s, %s, %u(out)+%u(in) connections")
|
str << boost::format("Height: %llu/%llu (%.1f%%) on %s%s, %s, net hash %s, v%u%s, %u(out)+%u(in) connections")
|
||||||
% (unsigned long long)ires.height
|
% (unsigned long long)ires.height
|
||||||
% (unsigned long long)net_height
|
% (unsigned long long)net_height
|
||||||
% get_sync_percentage(ires)
|
% get_sync_percentage(ires)
|
||||||
@ -521,7 +521,6 @@ bool t_rpc_command_executor::show_status() {
|
|||||||
% get_mining_speed(cryptonote::difficulty_type(ires.wide_difficulty) / ires.target)
|
% get_mining_speed(cryptonote::difficulty_type(ires.wide_difficulty) / ires.target)
|
||||||
% (unsigned)hfres.version
|
% (unsigned)hfres.version
|
||||||
% get_fork_extra_info(hfres.earliest_height, net_height, ires.target)
|
% get_fork_extra_info(hfres.earliest_height, net_height, ires.target)
|
||||||
% (hfres.state == cryptonote::HardFork::Ready ? "up to date" : hfres.state == cryptonote::HardFork::UpdateNeeded ? "update needed" : "out of date, likely forked")
|
|
||||||
% (unsigned)ires.outgoing_connections_count
|
% (unsigned)ires.outgoing_connections_count
|
||||||
% (unsigned)ires.incoming_connections_count
|
% (unsigned)ires.incoming_connections_count
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user