util

package
v0.0.0-...-98dca7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2019 License: GPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Diff1 = StringToBig("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")

Functions

func GetHashDifficulty

func GetHashDifficulty(hashBytes []byte) (*big.Int, bool)

func GetTargetHex

func GetTargetHex(diff int64) string

func MakeTimestamp

func MakeTimestamp() int64

func StringToBig

func StringToBig(h string) *big.Int

func ValidateAddress

func ValidateAddress(addy string, poolAddy string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL