Skip to content

Python C module for Lyra2z proof of work compatible with Zcoin

Notifications You must be signed in to change notification settings

devwarrior777/lyra2z-py

Repository files navigation


Python C module for lyra2z hashing

Notes for Zcoin:

Module: lyra2z_hash

Please see the "test.py" for a testcase

From a previous readme from ocminer (updated):

Requirements:

In order to run P2Pool and other Python based pools with the Zcoin network, you would need to build and install the lyra2z_hash module for Python that includes the lyra2z proof of work code that Zcoin uses for hashes.

Linux:

sudo python setup.py install

Windows (mingw):

In cmd type this:

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

- untested

Windows (microsoft visual c++)

  • Open visual studio console

In cmd type this:

SET VS90COMNTOOLS=%VS140COMNTOOLS%	           # For visual c++ 2015
C:\Python27\python.exe setup.py install

Test the install:

C:\Python27\python.exe
...
>>>import lyra2z_hash
>>>help('lyra2z_hash')
>>>quit()

- tested ok

About

Python C module for Lyra2z proof of work compatible with Zcoin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published