23 Commits

Author SHA1 Message Date
Mamy Ratsimbazafy
ea46bad40e
Switch to nimcrypto (#6) fix #9
* Cosmetic change on the conversion proc + keep a copy of keccak_tiny implementation as benchmark

* Update ethash to use nimcrypto

* Use the same CI build system as Nimbus
2018-07-23 14:52:14 +02:00
mratsim
61108cbc13 🔥 Speed and memory optimizations (OpenMP !):
- OpenMP multiprocessing for dataset generation
- remove some temporaries
- add march_native flag
2018-02-28 18:46:28 +01:00
mratsim
6955ace961 Rework the nonce validation algorithm. fixes #3 2018-02-28 17:26:02 +01:00
mratsim
f9cf0b78df Mining test: we can only test that it runs without crash/exception 2018-02-28 12:54:01 +01:00
mratsim
2f95b74b36 A "not" overflow was missing 2018-02-27 19:08:51 +01:00
mratsim
c949d9729c Add (failing) mining test 2018-02-27 15:37:42 +01:00
mratsim
1840c12d1d Prepare tests files for mining tests 2018-02-27 11:29:46 +01:00
mratsim
cc52064cde Add BigEndian + Refactoring: remove U512, mapArray, modular arithmetics 2018-02-25 15:55:42 +01:00
mratsim
aacd7234b4 Fix comment/reference in test file 2018-02-25 14:50:18 +01:00
mratsim
806d3298cc Add PoW test for block 30001 and 60000 2018-02-25 14:48:42 +01:00
mratsim
6aedd32111 Pass the tests 🔥 ⚠⚠ Endianness in PoW spec seems wrong 2018-02-25 12:34:33 +01:00
mratsim
d5dc5a5bed Original ethash implementation does not pass its own tests? 2018-02-23 17:32:23 +01:00
mratsim
f11a6a2cde Remove the hard to read concat procs 2018-02-23 15:37:33 +01:00
mratsim
3dd362990e Refix final step of hashimoto + add actual block 22 (failing) test 2018-02-23 10:21:25 +01:00
mratsim
d355c37bed check if dataset and recomputation from cache matches 2018-02-21 20:37:06 +01:00
mratsim
182e9b68af Add yet another failing test (calc_dataset_item) 2018-02-21 18:40:09 +01:00
mratsim
5620f337cc Add (failing) hashimoto light vs full test 2018-02-21 14:48:57 +01:00
mratsim
63332df55b Add cache generation test 2018-02-21 14:24:08 +01:00
mratsim
971871dbe7 Added (failing) light Proof of Work test 2018-02-21 12:34:33 +01:00
mratsim
237b01f62e Add seedhash computation + seed fixes 2018-02-21 12:19:09 +01:00
mratsim
b8af327118 Add computed and LUT sizes tests 2018-02-21 10:48:44 +01:00
mratsim
d53b7e9c0a Add CI, genesis tests and data sizes lookup tables 2018-02-19 17:14:19 +01:00
mratsim
388fd963f0 Add basic hashing tests and use keccak instead of sha3 2018-02-19 16:02:37 +01:00