The setRewardGhRate
function in the MiniByte
contract allows the contract owner to set the reward rate per GH (gigahash) per day. It verifies that the caller is the owner of the contract before updating the REWARD_PER_GH_PER_DAY
variable with the provided rate.
_rewardhhrate
(uint256
): The new reward rate per gigahash per day that the owner wants to set.