Commit Graph

73 Commits

Author SHA1 Message Date
tersec 953b8ed994
Merge pull request #17 from status-im/Rit
use non-EOL macOS in CI; apply styleCheck:error; prefer func to proc(){.noSideEffect.}; check refc in Nim 2.0+
2024-02-20 23:44:29 +00:00
tersec ba7b983d6b
use non-EOL macOS in CI; apply styleCheck:error; prefer func to proc(){.noSideEffect.}; check refc in Nim 2.0+ 2024-02-20 21:39:23 +00:00
jangko 0306443c52
Add nim 2.0 and devel to CI matrix 2024-02-14 07:46:50 +07:00
jangko a58baa4162
Upgrade to github actions v4 2024-02-14 07:36:31 +07:00
jangko c1d640184b
fix ci 2023-06-04 12:05:03 +07:00
jangko 1322d860a8
add github action 2022-04-07 22:06:37 +07:00
jangko e1582c4a98
remove appveyor and travis script 2022-04-07 21:54:44 +07:00
andri lim 0b1a9969be
Merge pull request #14 from status-im/fix_pow
fixes related to nimcrypto breaking changes
2019-11-07 16:56:29 +07:00
andri lim 31ec33cf8e
fixes related to nimcrypto breaking changes 2019-11-06 19:31:07 +07:00
Ștefan Talpalaru 10c9ec2ff7
Merge branch 'fix_win_compilation' 2019-09-09 15:03:58 +02:00
andri lim 657d22c951
put parentheses back into fnvHash 2019-09-09 19:46:10 +07:00
andri lim a2536e31b3
fixes 32 bit failure 2019-09-09 18:09:09 +07:00
Ștefan Talpalaru 5338f3599a
change AppVeyor badge 2019-09-09 12:53:41 +02:00
andri lim 3454ff7b9b
Merge branch 'fix_ci' into fix_win_compilation 2019-09-09 17:27:22 +07:00
andri lim 0c1213f1a9
use nim-build-system 2019-09-09 17:12:22 +07:00
andri lim adf4fdfe09
fix windows compilation error 2019-09-09 14:16:34 +07:00
Bruno Škvorc 39abbae4b5
Update README.md 2019-01-02 15:04:24 +01:00
Jacek Sieka f19dc30836
nimble: remove nimcache setting, add release mode test task 2018-09-07 13:31:02 -06:00
Jacek Sieka 806988abf5
appveyor: fix version check 2018-09-06 12:00:41 -06:00
Jacek Sieka 62f7307237
readme: update license 2018-09-05 12:47:14 -06:00
Jacek Sieka 571231535e
license: add mit 2018-09-04 22:02:12 -06:00
Jacek Sieka 77e52ef400
ci: update
readme: fix license, badges
2018-09-04 22:00:14 -06:00
Jacek Sieka 4727cec667
travis: use cached nim instead of docker 2018-09-02 08:55:35 -06:00
mratsim 0172ad099d fix comments, remove useless cast 2018-08-22 14:02:25 +02:00
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
alexm-status 8486a31f4f
Update README.md 2018-05-27 22:26:38 -07:00
mratsim 66d7fb6575 require Nim 0.18 2018-03-02 10:12:31 +01: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 78ff9d9305 memory copy optimization 2018-02-28 17:52:39 +01:00
Mamy Ratsimbazafy 2c66038c61
Merge pull request #4 from status-im/fix-all-mul-overflow-cases
Rework the nonce validation algorithm. fixes #3
2018-02-28 17:35:37 +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 833a26c8c7 Remove closure and inline dataset calls (see #2) 2018-02-28 10:44:27 +01:00
mratsim 4d1cc3a359 Remove ttmath dependency for mining 2018-02-27 19:31:25 +01:00
mratsim 0e1a1169e4 Merge branch 'master' of https://github.com/status-im/nim-ethash 2018-02-27 19:08:59 +01:00
mratsim 2f95b74b36 A "not" overflow was missing 2018-02-27 19:08:51 +01:00
Zahary Karadjov 420b7d513c Use the standard Nimble name for the Apache v2 license 2018-02-27 19:59:55 +02:00
mratsim c949d9729c Add (failing) mining test 2018-02-27 15:37:42 +01:00
mratsim b3d4bf3f84 don't inline recursive function 2018-02-27 13:57:09 +01:00
mratsim 69a0c68d3f Rework mining implementation without uint256, div and mod 2018-02-27 13:55:00 +01:00
mratsim 1840c12d1d Prepare tests files for mining tests 2018-02-27 11:29:46 +01:00
mratsim e3ebf7b0e5 Add Ethereum mining (⚠ no test) 2018-02-26 21:39:22 +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 3d219299aa Fix original implementation call. Now outputs correct results 2018-02-23 17:49:56 +01:00
mratsim d5dc5a5bed Original ethash implementation does not pass its own tests? 2018-02-23 17:32:23 +01:00
mratsim 118da2ea29 Add a wrapper to the C lib to the spec folder 2018-02-23 16:43:37 +01:00
mratsim f11a6a2cde Remove the hard to read concat procs 2018-02-23 15:37:33 +01:00