ilyavf / tx-builder

Composable helpers for building and decoding blockchain transactions
MIT License
8 stars 5 forks source link

Add PoW for browser parallelized with Web Workers #6

Open ilyavf opened 7 years ago

ilyavf commented 7 years ago

This method should take two params:

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.

ilyavf commented 6 years ago

PoW PR: https://github.com/ilyavf/tx-builder/pull/7

No web workers yet.