pybitmessage.proofofwork module

src/proofofwork.py

buildCPoW()[source]

Attempt to build the PoW C module

estimate(difficulty, format=False)[source]
getPowType()[source]

Get the proof of work implementation

init()[source]

Initialise PoW

notifyBuild(tried=False)[source]

Notify the user of the success or otherwise of building the PoW C module

resetPoW()[source]

Initialise the OpenCL PoW

run(target, initialHash)[source]

Run the proof of work thread