Documentation ¶
Index ¶
- 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 StringInSlice(a string, list []string) bool
- func TargetHexToDiff(targetHex string) *big.Int
- func ToHex(n int64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatRatReward ¶
func FormatReward ¶
func GetTargetHex ¶
func IsValidHexAddress ¶
func IsZeroHash ¶
func MakeTimestamp ¶
func MakeTimestamp() int64
func MustParseDuration ¶
func StringInSlice ¶
func TargetHexToDiff ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.