No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
josephnicholas Merge pull request #4 from ZencashOfficial/zencash-development
Zencash development - Configurable Parameters
Latest commit e57d93d Jun 14, 2018

Equihash - Zcash Implementation

nodejs native binding to check for valid Equihash solutions


sudo apt-get install build-essential libsodium-dev libboost-system-dev


var ev = require('bindings')('equihashverify.node');

var header = new Buffer(..., 'hex');
var solution = new Buffer(..., 'hex'); //do not include byte size preamble "fd4005"

ev.verify(header, solution, n, k);
//returns boolean

Backward compatibility

ev.verify(header, solution);

Test Suite:

sudo npm install -g mocha
npm install