pybitmessage.proofofwork module¶
Proof of work calculation
-
class
LogOutput
(prefix='PoW')[source]¶ Bases:
object
A context manager that block stdout for its scope and appends it’s content to log before exit. Usage:
- with LogOutput():
- os.system(‘ls -l’)