mimblewimble / cuckoo-miner

Mining wrapper around the Cuckoo Cycle proof of work system for the Grin/MimbleWimble blockchain.
Apache License 2.0
52 stars 16 forks source link

Unit Tests + CI Environment #6

Open yeastplume opened 7 years ago

yeastplume commented 7 years ago

Unit tests for everything:

-Testing output solutions against known solutions at various sizes, that can be run against new plugin implementations to test their outputs -Load testing -Plugin loading/unloading -White box stress testing on the plugins themselves, to check for leaks and segfaults

Note there is some oddness with cargo testing in that loading and unloading DLLs seems to cause segfaults on exit with no obvious reason. We may perhaps have to use another testing strategy or here.

yeastplume commented 6 years ago

Some of these are in place now, but TravisCI is a very inadequate build environment for testing mining plugins, especially at full-strength cuckoo 30 due to memory and cpu constraints. Another strategy for CI testing mining will be needed.