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

@@ -78,7 +78,9 @@ pub fn process_open(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
};
block.slot_hash = [0; 32];
block.start_slot = start_slot;
block.total_hashes = 0;
block.total_committed = 0;
block.total_deployed = 0;
block.total_rewards = 0;
// Select reward strategy.
let noise_seed = block.id.to_le_bytes();