From 6e877120212e852a84552d74143074dcfce5fb2b Mon Sep 17 00:00:00 2001 From: Hardhat Chad Date: Tue, 15 Oct 2024 21:29:17 +0000 Subject: [PATCH] update comment --- program/src/mine.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/src/mine.rs b/program/src/mine.rs index 6eb1ba2..a0c9db4 100644 --- a/program/src/mine.rs +++ b/program/src/mine.rs @@ -55,8 +55,8 @@ pub fn process_mine(accounts: &[AccountInfo], data: &[u8]) -> ProgramResult { // Reject spam transactions. // - // If a miner attempts to submit solutions too frequently, we reject with an error. In general, - // miners are limited to 1 hash per epoch on average. + // Miners are rate limited to approximately 1 hash per minute. If a miner attempts to submit + // solutions more frequently than this, reject with an error. let t: i64 = clock.unix_timestamp; let t_target = proof.last_hash_at.saturating_add(ONE_MINUTE); let t_spam = t_target.saturating_sub(TOLERANCE);