hashflare-0.1.0.0: A library for working with HashFlare.io contracts and hashrates

Safe HaskellSafe
LanguageHaskell2010

Data.Hashrate

Description

Hash rate abstractions

Synopsis

Documentation

data SHA256 Source #

Bitcoin mining algo

Constructors

SHA256 

data Scrypt Source #

Litecoin mining algo

Constructors

Scrypt 

data ETHASH Source #

Ethereum mining algo

Constructors

ETHASH 

data X11 Source #

Dash mining algo

Constructors

X11 

Instances

Eq X11 Source # 

Methods

(==) :: X11 -> X11 -> Bool #

(/=) :: X11 -> X11 -> Bool #

Show X11 Source # 

Methods

showsPrec :: Int -> X11 -> ShowS #

show :: X11 -> String #

showList :: [X11] -> ShowS #

MiningAlgorithm X11 Source # 

data EQUIHASH Source #

Zcash mining algo

Constructors

EQUIHASH 

data Hashrate a Source #

Mining hashrate, polymorphic

Constructors

Hashrate 

Fields

Instances

makeHashrate :: MiningAlgorithm a => a -> Double -> Hashrate a Source #

Hashrate constructor