Versions in this module Expand all Collapse all v1 v1.9.25 Mar 25, 2021 v1.9.24 Mar 24, 2021 Changes in this version + const SHA256d + const Scrypt + var AlgoSlices []AlgoSpecs + var AlgoVers = map[int32]string + var Algos = map[string]AlgoParams + var D logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var E logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var F logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var FirstPowLimit = func() big.Int { ... }() + var FirstPowLimitBits = bits.BigToCompact(&FirstPowLimit) + var I logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var IntervalBase = 9 + var IntervalDivisor = 1 + var IsTestnet bool + var List = []HardForks + var MainPowLimit = func() big.Int { ... }() + var MainPowLimitBits = bits.BigToCompact(&MainPowLimit) + var P9AlgoVers = make(map[int32]string) + var P9Algos = make(map[string]AlgoParams) + var P9AlgosNumeric = map[int32]AlgoParams + var P9Average float64 + var P9PrimeSequence = []int + var SecondPowLimit = func() big.Int { ... }() + var SecondPowLimitBits = bits.BigToCompact(&SecondPowLimit) + var T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var W logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + func AlgoVerIterator(height int32) (next func(), curr func() int32, more func() bool) + func GetAlgoID(algoname string, height int32) uint32 + func GetAlgoName(algoVer int32, height int32) (name string) + func GetAlgoVer(name string, height int32) (version int32) + func GetAlgoVerSlice(height int32) (o []int32) + func GetAlgos(height int32) (o map[string]AlgoParams) + func GetAveragingInterval(height int32) (r int32) + func GetCurrent(height int32) (curr int) + func GetMinBits(algoname string, height int32) (mb uint32) + func GetMinDiff(algoname string, height int32) (md *big.Int) + func GetNumAlgos(height int32) (numAlgos int) + func GetRandomVersion(height int32) int32 + func GetTargetTimePerBlock(height int32) (r int64) + type AlgoParams struct + AlgoID uint32 + MinBits uint32 + Version int32 + VersionInterval int + type AlgoSpec struct + Name string + Version int32 + type AlgoSpecs []AlgoSpec + func (a AlgoSpecs) Len() int + func (a AlgoSpecs) Less(i, j int) bool + func (a AlgoSpecs) Swap(i, j int) + type HardForks struct + ActivationHeight int32 + AlgoVers map[int32]string + Algos map[string]AlgoParams + AveragingInterval int32 + Name string + Number int + TargetTimePerBlock int32 + TestnetStart int32