mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
core: make the "update probably needed soon" message less scary
This commit is contained in:
parent
cdfa2e58df
commit
2cb22d4071
@ -1630,18 +1630,18 @@ namespace cryptonote
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
HardFork::State state = m_blockchain_storage.get_hard_fork_state();
|
HardFork::State state = m_blockchain_storage.get_hard_fork_state();
|
||||||
const el::Level level = el::Level::Warning;
|
el::Level level;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case HardFork::LikelyForked:
|
case HardFork::LikelyForked:
|
||||||
|
level = el::Level::Warning;
|
||||||
MCLOG_RED(level, "global", "**********************************************************************");
|
MCLOG_RED(level, "global", "**********************************************************************");
|
||||||
MCLOG_RED(level, "global", "Last scheduled hard fork is too far in the past.");
|
MCLOG_RED(level, "global", "Last scheduled hard fork is too far in the past.");
|
||||||
MCLOG_RED(level, "global", "We are most likely forked from the network. Daemon update needed now.");
|
MCLOG_RED(level, "global", "We are most likely forked from the network. Daemon update needed now.");
|
||||||
MCLOG_RED(level, "global", "**********************************************************************");
|
MCLOG_RED(level, "global", "**********************************************************************");
|
||||||
break;
|
break;
|
||||||
case HardFork::UpdateNeeded:
|
case HardFork::UpdateNeeded:
|
||||||
MCLOG_RED(level, "global", "**********************************************************************");
|
level = el::Level::Info;
|
||||||
MCLOG_RED(level, "global", "Last scheduled hard fork time shows a daemon update is needed soon.");
|
MCLOG(level, "global", "Last scheduled hard fork time suggests a daemon update will be released within the next couple months.");
|
||||||
MCLOG_RED(level, "global", "**********************************************************************");
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user