Random Number Principle

To prevent random numbers from being predictable and to improve the fairness of the algorithm, RuleOS provides future randomized algorithms, solutions.

When the current user calls with a block height of 505 blocks, the algorithm marks the Hash value of the future 507 blocks as the random result generated by the random seed as the call result of the current user call. However, if the user still has not claimed the result during the period from block 507 to block 763 (+256 blocks), then the claimed result is invalidated.

Last updated