Crypto-Expert / stratum-mining

AIO Stratum mining server for various coins
Other
365 stars 348 forks source link

Bitcoin ALGO #372

Closed kevinmitnik closed 6 years ago

kevinmitnik commented 7 years ago

Hi there. Bitcoin use SHA256d (Duble SHA256)

If ALGO_NAME = 'sha256d'

File "/opt/stratum-mining/lib/template_registry.py", line 6, in <module>
            algolib = __import__(settings.ALGO_NAME)
        exceptions.ImportError: No module named sha256d

Where I can find this module? Or I can use a standard module. Crypto.Hash.SHA256 ? # Thankful in advance for the answer.

ahmedbodi commented 6 years ago

Need a SHA256 Specific Hashing module which gives a getPoWHash function