ethashproof
ethashproof copied to clipboard
Ethash proof - Command line to calculate ethash (ethereum POW) merkle proof
Generally, sha2 has `2^(len/2)` bits of collision resistance. So truncating to 128 bit digests gives only 64 bits of collision resistance. This means your commitments can be collided in ~2...
Allows to use with any network. We serialise web3js header to rlp with this code: ``` const blockFromRpc = require('ethereumjs-block/from-rpc') const utils = require('ethereumjs-util'); function web3BlockToRlp(blockData) { blockData.difficulty = parseInt(blockData.difficulty,...