Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

HorizenOfficial/equihashverify

Repository files navigation

Equihash - Zcash Implementation

nodejs native binding to check for valid Equihash solutions

Dependencies

sudo apt-get install build-essential libsodium-dev libboost-system-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, n, k);
//returns boolean

Backward compatibility

ev.verify(header, solution);

Test Suite:

sudo npm install -g mocha
npm install
mocha

About

This repository is not maintained anymore, please use https://github.com/s-nomp/equihashverify instead

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages