readme and comments

This commit is contained in:
Hardhat Chad
2024-03-24 16:33:29 +00:00
parent c29f08273a
commit 5376cdc1e9
5 changed files with 28 additions and 11 deletions

View File

@@ -8,10 +8,10 @@ use crate::{
};
/// UpdateDifficulty updates the program's global difficulty value. Its responsibilities include:
/// 1. Update the difficulty.
/// 1. Update the mining difficulty.
///
/// Safety requirements:
/// - Can only succeed if the signer is the current program admin.
/// - Can only succeed if the signer is the program admin.
/// - Can only succeed if the provided treasury is valid.
///
/// Discussion: