stef / equihash Goto Github PK
View Code? Open in Web Editor NEWThis project forked from khovratovich/equihash
Equihash: memory-hard PoW with fast verification
License: Creative Commons Zero v1.0 Universal
This project forked from khovratovich/equihash
Equihash: memory-hard PoW with fast verification
License: Creative Commons Zero v1.0 Universal
The README states
For example, to compute Equihash using N=120 and k=5 using this projects Makefile as seed, consuming at least 32 MB of RAM
$ ./equihash -n 120 -k 5 -s Makefile
However, actually running this on the current master
results in the error message below on Linux.
$ ./equihash -n 120 -k 5 -s Makefile git:master
Error: must provide input file for non-benchmarking modes
Since line 211 of main.c
sets status
to NULL
, line 219 and then passes status
as the first parameter of fprintf
, if the conditional block between this block is not executed, fprintf
tries to dereference it, which leads to segmentation fault on Linux. See GDB/GEF screenshot below. The command I run was ./equihash solve -v -n 40 -k 4 -f Makefile -s /tmp/s
which I took directly from README.md
. To produce the screenshot below, I only removed -O3
from the Makefile
but the crash happens regardless whether optimization is enabled or not โ it just produces more readable backtraces.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.