Methods
getDifficulty() → {Number}
Calculate the target difficulty.
- Source:
Returns:
- Type
- Number
hash() → {Hash}
- Source:
Returns:
- Type
- Hash
powHash() → {Hash}
- Source:
Returns:
- Type
- Hash
shareHash() → {Hash}
- Source:
Returns:
- Type
- Hash
verify(target) → {Boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
Buffer |
- Source:
Returns:
- Type
- Boolean