Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CfgPOWDifficulty defines the config flag of the PoW difficulty. CfgPOWDifficulty = "pow.difficulty" // CfgPOWNumThreads defines the config flag of the number of threads used to do the PoW. CfgPOWNumThreads = "pow.numThreads" // CfgPOWTimeout defines the config flag for the PoW timeout. CfgPOWTimeout = "pow.timeout" )
View Source
const PluginName = "PoW"
PluginName is the name of the PoW plugin.
Variables ¶
View Source
var ErrMessageTooSmall = errors.New("message too small")
ErrMessageTooSmall is returned when the message is smaller than the 8-byte nonce.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.