Documentation ¶
Index ¶
Constants ¶
View Source
const ( POCReward = uint64(600) FutureBlockTime = uint64(18) BlockTotal = 365 * 24 * 60 * 60 / FutureBlockTime GenesisDifficulty = uint64(2000000000000000) // Difficulty of the Genesis block. MinimumDifficulty = uint64(2000000000000000) // The minimum that the difficulty may ever be. GenesisNumber = 0 PledgeNumber = GenesisNumber + 100000000 )
Variables ¶
View Source
var BigOne = big.NewInt(1)
bigOne is 1 represented as a big.Int. It is defined here to avoid the overhead of creating it multiple times.
View Source
var BlockReward = big.NewInt(0).Mul(big.NewInt(0).SetUint64(POCReward), big.NewInt(1e+18))
mainPocLimit is the smallest proof of capacity target.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.