Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcDifficulty ¶
round_diff = round - parent_round if [0,3] ,diff =parent_diff + parent_diff/2048*2 if [4,7] ,diff =parent_diff + parent_diff/2048*1 if [8,11] ,diff =parent_diff all follow the formula below diff = (parent_diff +
((parent_diff / 2048) * max(2 - (round - parent_round) // 4, -99)) )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.