Documentation ¶
Overview ¶
Package pow implements the Curl-based proof of work for arbitrary binary data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCancelled = errors.New("canceled") ErrDone = errors.New("done") )
errors returned by the PoW
View Source
var Hash = crypto.BLAKE2b_256
Hash defines the hash function that is used to compute the PoW digest.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.