claim rate limiter

This commit is contained in:
Hardhat Chad
2024-05-12 19:28:43 +00:00
parent b264a5a5b1
commit ba6d746c50
5 changed files with 63 additions and 10 deletions

View File

@@ -21,6 +21,9 @@ pub struct Proof {
/// The current mining challenge.
pub challenge: [u8; 32],
/// The last time this account claimed rewards.
pub last_claim_at: i64,
/// The last time this account provided a hash.
pub last_hash_at: i64,