Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [RANDOMX] Ominira Network (OMI)
by
captnCrunch
on 04/08/2025, 08:01:21 UTC
Yes maybe I read it wrong but please don‘t insult me. I just try to learn. This was the reward function from before:
Code:

pub fn calculate_reward(height: u64) -> u64 {
    if height == 1 {
        10000000000000
    } else if height > 1 && height < 4200000 {
        1000000000
    } else if height >= 4200000 && height < 8400000 {
        5000000000
    } else if height >= 8400000 && height < 12600000 {
        2500000000
    } else {
        10000000
    }
}


Maybe you can explain me the mechanics behind it