collateral

This commit is contained in:
Hardhat Chad
2025-06-24 14:37:16 -05:00
parent 8d77aca7c0
commit fdeb2cf82a
13 changed files with 65 additions and 47 deletions

View File

@@ -16,10 +16,13 @@ pub struct Miner {
/// The hash of the last block this miner mined in.
pub hash: [u8; 32],
/// The total number of hashes this miner has submitted.
pub total_hashes: u64,
/// The total number of hashes this miner has committed to the block.
pub total_committed: u64,
/// The amount of ORE this miner has mined.
/// The total number of hashes this miner has deployed to the block.
pub total_deployed: u64,
/// The total amount of ORE this miner has mined across all blocks.
pub total_rewards: u64,
}