Skip to main content

Bindings for blake proof of work compatible with Decred.

Project description

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):
* Install MinGW: http://www.mingw.org/wiki/Getting_Started
* Install Python 2.7: http://www.python.org/getit/

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

decred_hash-1.0.1.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file decred_hash-1.0.1.tar.gz.

File metadata

  • Download URL: decred_hash-1.0.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for decred_hash-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1a0cb13d20e42bf13d119fd63acdc12c76c8d7f0176eefe8258d313cefa57b0e
MD5 136ed7126ce73a1406b7c444c0ba994e
BLAKE2b-256 a3f9402ce5a4a022c01608c36975e2766334b330904c71b583d46dd8acabeafb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page