nodejs native binding to check for valid Equihash solutions
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Initial commit Nov 17, 2016
src/equi Initial commit Nov 17, 2016
.gitignore Added .gitignore, README, and LICENSE Nov 17, 2016
LICENSE Added .gitignore, README, and LICENSE Nov 17, 2016
README.md Added .gitignore, README, and LICENSE Nov 17, 2016
binding.gyp fixup! Fix broken shared object linkage Nov 18, 2016
equihashverify.cc Initial commit Nov 17, 2016
index.js Add index.js Nov 17, 2016
package.json Added NPM install script Nov 27, 2016
test.js Initial commit Nov 17, 2016

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

##help https://zclassic.herokuapp.com