Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Difficulty ¶
func HashDifficulty ¶ added in v0.2.0
func HashDifficulty(hash string) (Difficulty, error)
func ParseDifficulty ¶
func ParseDifficulty(raw string) (Difficulty, error)
func (Difficulty) Format ¶ added in v0.2.0
func (d Difficulty) Format() string
Format returns a human-readable representation of difficulty with appropriate units
func (Difficulty) String ¶
func (d Difficulty) String() string
Click to show internal directories.
Click to hide internal directories.