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.
josephnicholas
82607adab2
|
6 years ago | |
---|---|---|
build | 6 years ago | |
crypto | 6 years ago | |
support | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
arith_uint256.cpp | 6 years ago | |
arith_uint256.h | 6 years ago | |
binding.gyp | 6 years ago | |
equihashverify.cc | 6 years ago | |
index.js | 6 years ago | |
package-lock.json | 6 years ago | |
package.json | 6 years ago | |
random.cpp | 6 years ago | |
random.h | 6 years ago | |
serialize.h | 6 years ago | |
test.js | 6 years ago | |
tinyformat.h | 6 years ago | |
uint256.cpp | 6 years ago | |
uint256.h | 6 years ago | |
util.cpp | 6 years ago | |
util.h | 6 years ago | |
utilstrencodings.cpp | 6 years ago | |
utilstrencodings.h | 6 years ago | |
utiltime.cpp | 6 years ago | |
utiltime.h | 6 years ago |
README.md
equihashverify
nodejs native binding to check for valid Equihash solutions
##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