Skip to content

Add PoW for browser parallelized with Web Workers  #6

@ilyavf

Description

@ilyavf

This method should take two params:

  • difficulty (number of zeros in hash)
  • and buffer of data.

The data will be concatenated with a nonce and hash will be calculated. The hash should contain the difficulty number of 0 in the beginning.

Use https://www.npmjs.com/package/worker-task-runner for parallelizing the task.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions