fixed up some missing copyright messages; added unlock_time validation for protocol_tx outputs

This commit is contained in:
Some Random Crypto Guy
2024-06-10 14:54:57 +01:00
parent e69437ca6a
commit 584890ab25
17 changed files with 29 additions and 25 deletions
+2 -2
View File
@@ -615,8 +615,8 @@ bool t_rpc_command_executor::mining_status() {
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;
tools::msg_writer() << "Expected: " << cryptonote::print_money(daily) << " monero daily, "
<< cryptonote::print_money(monthly) << " monero monthly, " << cryptonote::print_money(yearly) << " yearly";
tools::msg_writer() << "Expected: " << (daily / COIN) << " SALs daily, "
<< (monthly / COIN) << " SALs monthly, " << (yearly / COIN) << " yearly";
}
return true;