Documentation ¶
Overview ¶
Package pow implements proof-of-work and its checking mechanism.
Index ¶
Constants ¶
View Source
const ( // If changed, these values will cause particularly unexpected behavior: You // won't be able to either send or receive messages because the proof of // work you do (or demand) won't match that done or demanded by others. // Don't change them! // // The amount of work that should be performed (and demanded) per byte of // the payload. DefaultNonceTrialsPerByte = 1000 // To make sending short messages a little more difficult, this value is // added to the payload length for use in calculating the proof of work // target. DefaultExtraBytes = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.