This commit is contained in:
Hardhat Chad
2025-05-12 08:22:46 -07:00
parent 9bb6b476f4
commit 3c4cc8f3b6
2 changed files with 20 additions and 27 deletions

View File

@@ -2,15 +2,11 @@ use steel::*;
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct MineEvent {
pub balance: u64,
pub difficulty: u64,
pub last_hash_at: i64,
pub timing: i64,
pub net_reward: u64,
pub net_base_reward: u64,
pub net_miner_boost_reward: u64,
pub net_staker_boost_reward: u64,
pub struct BlockEvent {
pub score: u64,
pub block_reward: u64,
pub boost_reward: u64,
pub ts: u64,
}
event!(MineEvent);
event!(BlockEvent);