mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
logs
This commit is contained in:
@@ -46,8 +46,9 @@ pub fn process_mine(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
|
||||
seed[104..].copy_from_slice(&nonce.to_le_bytes());
|
||||
let h = hash(&seed);
|
||||
|
||||
sol_log(&format!("Slot hash: {:?}", block.slot_hash));
|
||||
sol_log(&format!("Nonce: {:?}", nonce));
|
||||
sol_log(&format!("Hashpower: {:?}", miner.hashpower));
|
||||
sol_log(&format!("Seed: {:?}", miner.seed));
|
||||
sol_log(&format!("Hash: {:?}", h));
|
||||
|
||||
// If hash is best hash, update best hash.
|
||||
|
||||
Reference in New Issue
Block a user