Skip to content

pav-hash/decred-hash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes for Decred:

Please see the "test.py" for a testcase to verify your implementation.

If you have any questions feel free to ask me (ocminer) at admin AT suprnova.cc

========================= Requirements:

In order to run P2Pool and other Python based pools with the Decred network, you would need to build and install the blake_hash module for Python that includes the blake-256 proof of work code that Decred uses for hashes.

Linux:

sudo python setup.py install

Windows (mingw):

In bash type this:

C:\Python27\python.exe setup.py build --compile=mingw32 install

Windows (microsoft visual c++)

  • Open visual studio console

In bash type this:

SET VS90COMNTOOLS=%VS110COMNTOOLS%	           # For visual c++ 2012
SET VS90COMNTOOLS=%VS100COMNTOOLS%             # For visual c++ 2010
C:\Python27\python.exe setup.py build --compile=mingw32 install

If you run into an error with unrecognized command line option '-mno-cygwin', see this: http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-o

About

python hashing module for Decred

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.2%
  • Python 1.6%
  • C++ 0.2%