MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / checkProofOfWorkSufficient

Method checkProofOfWorkSufficient

src/network/bmobject.py:52–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 self.tag = self.data[payloadOffset:payloadOffset+32]
51
52 def checkProofOfWorkSufficient(self):
53 # Let us check to make sure that the proof of work is sufficient.
54 if not protocol.isProofOfWorkSufficient(self.data):
55 logger.info('Proof of work is insufficient.')
56 raise BMObjectInsufficientPOWError()
57
58 def checkEOLSanity(self):
59 # EOL sanity check

Callers 1

bm_command_objectMethod · 0.80

Calls 1

Tested by

no test coverage detected