Nodes

*This is sample solution to be tested*

Node Responsibilities with Incentive Calculations

Storage Node Incentives:

  • Rewards depend on storage commitment and duration.

  • Reward Formula:

Reward=base reward×storage capacity×duration

function calculateReward(uint256 baseReward, uint256 storageCapacity, uint256 duration) public pure returns (uint256) {
    return baseReward * storageCapacity * duration;
}

Last updated