Versions in this module Expand all Collapse all v1 v1.1.0 Jul 10, 2019 Changes in this version + var Ether = math.BigPow(10, 18) + var Shannon = math.BigPow(10, 9) + func FormatRatReward(reward *big.Rat) string + func FormatReward(reward *big.Int) string + func GetTargetHex(diff int64) string + func IsValidHexAddress(s string) bool + func IsZeroHash(s string) bool + func MakeTimestamp() int64 + func MustParseDuration(s string) time.Duration + func String2Big(num string) *big.Int + func StringInSlice(a string, list []string) bool + func TargetHexToDiff(targetHex string) *big.Int + func ToHex(n int64) string