Classes
Methods
(static) mine(data, target, min, max) → {Number}
Hash until the nonce overflows.
Parameters:
Name | Type | Description |
---|---|---|
data |
Buffer | |
target |
Buffer | Big endian. |
min |
Number | |
max |
Number |
- Source:
Returns:
Nonce or -1.
- Type
- Number