mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-09 15:11:40 +00:00
Update mine.rs
This commit is contained in:
@@ -98,6 +98,8 @@ pub fn process_mine<'a, 'info>(
|
|||||||
Ok(())
|
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(
|
pub(crate) fn validate_hash(
|
||||||
current_hash: KeccakHash,
|
current_hash: KeccakHash,
|
||||||
hash: KeccakHash,
|
hash: KeccakHash,
|
||||||
|
|||||||
Reference in New Issue
Block a user