Closed lzpap closed 4 years ago
Introduce new test methods:
test_bundle_is_valid
test_wrongly_ordered_bundle
test_wrong_index
test_wrong_hash
test_timestamp
Also, restructured CcurlPowTestCase to reduce the number of pow calculations and therefore shorten test run times.
CcurlPowTestCase
Add hash validation to attach_to_tangle. Refactor function to recalculate pow until transaction hash becomes valid. See commit for more info.
attach_to_tangle
All ideas for new tests are welcome!
Introduce new test methods:
test_bundle_is_valid
test_wrongly_ordered_bundle
test_wrong_index
test_wrong_hash
test_timestamp
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!