iotaledger / ccurl.interface.py

A python interface to load ccurl library and perform PoW locally.
MIT License
6 stars 3 forks source link

Increase test coverage #11

Closed lzpap closed 4 years ago

lzpap commented 5 years ago

Introduce new test methods:

Also, restructured CcurlPowTestCase to reduce the number of pow calculations and therefore shorten test run times.

Add hash validation to attach_to_tangle. Refactor function to recalculate pow until transaction hash becomes valid. See commit for more info.

All ideas for new tests are welcome!