From 77a724649e57f82c79dffab206ec16fd6546ecb5 Mon Sep 17 00:00:00 2001 From: Samy Date: Tue, 11 Aug 2026 15:59:34 +0200 Subject: [PATCH] daemon: fix yearly mining estimate --- src/daemon/rpc_command_executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 07fe6f363..d50137bfc 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -594,7 +594,7 @@ bool t_rpc_command_executor::mining_status() { double ratio = mres.speed * mres.block_target / (double)mres.difficulty; uint64_t daily = 86400ull / mres.block_target * mres.block_reward * ratio; uint64_t monthly = 86400ull / mres.block_target * 30.5 * mres.block_reward * ratio; - uint64_t yearly = 86400ull / mres.block_target * 356 * mres.block_reward * ratio; + uint64_t yearly = 86400ull / mres.block_target * 365 * mres.block_reward * ratio; tools::msg_writer() << "Expected: " << cryptonote::print_money(daily) << " monero daily, " << cryptonote::print_money(monthly) << " monero monthly, " << cryptonote::print_money(yearly) << " yearly"; }