Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2017 Changes in this version + const DefaultExtraBytes + const DefaultNonceTrialsPerByte + var Default = Data + func Check(target Target, nonce Nonce, message []byte) bool + type Data struct + ExtraBytes uint64 + NonceTrialsPerByte uint64 + func (pd *Data) Decode(r io.Reader) (err error) + func (pd *Data) Encode(w io.Writer) error + func (pd *Data) String() string + type Nonce uint64 + func DecodeNonce(r io.Reader) (Nonce, error) + func DoParallel(target Target, initialHash []byte, parallelCount int) Nonce + func DoSequential(target Target, initialHash []byte) Nonce + func (n Nonce) Bytes() []byte + func (n Nonce) Encode(w io.Writer) error + type Target uint64 + func CalculateTarget(payloadLength, ttl uint64, data Data) Target