mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-15 07:26:45 +00:00
Update mine.rs
This commit is contained in:
@@ -98,6 +98,8 @@ pub fn process_mine<'a, 'info>(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Validates the provided hash, ensursing it is equal to SHA3(current_hash, singer, nonce).
|
||||
/// Fails if the provided hash is valid but does not satisfy the required difficulty.
|
||||
pub(crate) fn validate_hash(
|
||||
current_hash: KeccakHash,
|
||||
hash: KeccakHash,
|
||||
|
||||
Reference in New Issue
Block a user