tuxcanfly / hs-miner-old

Other
0 stars 0 forks source link

test: fix miner test target #13

Closed tuxcanfly closed 4 years ago

tuxcanfly commented 4 years ago

The existing test is too easy, to the point where a backend which doesn't actually do any work other than return [0, true] would pass it. Updated the test to use a very low difficulty so that the backend might at least need to grind some nonces before the tests pass.

The smallest valid nonce is now 33, this should kept secret from the backend developers :rofl: