Documentation ¶
Index ¶
- Variables
- func BigDiv(dividend *decimal.Big, divisor *decimal.Big) *decimal.Big
- func BlockReward(coinRemainingAtGenesis uint64, blockNumber uint64) uint64
- func CalcCoeff(coinRemainingAtGenesis uint64) *decimal.Big
- func Median(data []int) float64
- func RemainingEmission(coinRemainingAtGenesis uint64, blockNumber uint64) int64
- type Generator
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Precision is 28 as Python Decimal by default supports upto 28 decimal precision // Warning: Change in precision will result into fork PythonPrecision = 28 )
Functions ¶
func BlockReward ¶
func RemainingEmission ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.