You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
cronicc ab26290332
Remove unused utiltime.cpp
6 years ago
crypto re-enable boost asserts, verify hdr buffer length, introduced fake soln test (we must introduce a real unit test), removed files automatically generated during build 6 years ago
support Initial Commit 6 years ago
test Added test cases 6 years ago
LICENSE Initial Commit 6 years ago
README.md Update README.md 6 years ago
arith_uint256.cpp Changes on Equihash Tests 6 years ago
arith_uint256.h Changes on Equihash Tests 6 years ago
binding.gyp Remove unused utiltime.cpp 6 years ago
equihashverify.cc Placing const since we do not want anything out from this parameter 6 years ago
index.js Initial Commit 6 years ago
package.json MochaJS Test Framework 6 years ago
random.cpp Initial Commit 6 years ago
random.h Initial Commit 6 years ago
serialize.h Initial Commit 6 years ago
test.js re-enable boost asserts, verify hdr buffer length, introduced fake soln test (we must introduce a real unit test), removed files automatically generated during build 6 years ago
tinyformat.h Initial Commit 6 years ago
uint256.cpp Initial Commit 6 years ago
uint256.h Initial Commit 6 years ago
util.cpp Remove unused utiltime.cpp 6 years ago
util.h Removed Boost Tests, changed install for node-glyp, Added libsodium and boostlib 6 years ago
utilstrencodings.cpp Initial Commit 6 years ago
utilstrencodings.h Initial Commit 6 years ago

README.md

Equihash - Zcash Implementation

nodejs native binding to check for valid Equihash solutions

Dependencies

sudo apt-get install libboost-all-dev

Usage:

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);
//returns boolean

Test Suite:

npm install
npm test