Documentation ¶
Index ¶
- Constants
- func GetDiffWork(diff float64) (float64, error)
- func GetGenesisTargetWork() (float64, error)
- func GetHashRateByDiff(diff float64, secs int64, unit string) (float64, error)
- func GetHashRateByNBits(nBits uint32, secs int64, unit string) (float64, error)
- func GetHashRateByWork(work float64, secs int64, unit string) float64
- func GetNBitsDiff(nBits uint32) float64
- func GetTargetDiff(target *big.Int) (float64, error)
- func GetTargetWork(target *big.Int) (float64, error)
- func NBits2Target(nBits uint32) *big.Int
Constants ¶
View Source
const (
GenesisNBits = uint32(0x1d00ffff)
)
Variables ¶
This section is empty.
Functions ¶
func GetDiffWork ¶
func GetGenesisTargetWork ¶
func GetHashRateByDiff ¶
func GetHashRateByNBits ¶
func GetNBitsDiff ¶
func NBits2Target ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.