mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-30 15:11:11 +00:00
comments and tests
This commit is contained in:
@@ -14,9 +14,9 @@ use crate::{
|
||||
PROOF,
|
||||
};
|
||||
|
||||
/// Register generates a new hash chain for a prospective miner. It has 2 responsibilities:
|
||||
/// 1. Initializes a new proof account.
|
||||
/// 2. Generates an initial hash for the miner from the signer's key.
|
||||
/// Register generates a new hash chain for a prospective miner. Its responsibilities include:
|
||||
/// 1. Initialize a new proof account.
|
||||
/// 2. Generate an initial hash for the miner from the signer's key.
|
||||
///
|
||||
/// Safety requirements:
|
||||
/// - Register is a permissionless instruction and can be called by anyone.
|
||||
|
||||
Reference in New Issue
Block a user