bsc/pow
Felix Lange 24dd0355a3 pow: fix Search with ethash test mode
The cache/dataset methods crashed with a nil pointer error if
cachesinmem/dagsinmem were zero. Fix it by skipping the eviction logic
if there are no caches/datasets.

Search always used the regular dataset size regardless of test mode. Fix
it by removing the redundant size parameter of hashimotoFull.

Fixes #3784
2017-03-18 01:05:28 +01:00
..
ethash_algo_go1.7.go pow: only support prime calculations on Go 1.8 and above 2017-03-09 15:50:14 +01:00
ethash_algo_go1.8_test.go pow: only support prime calculations on Go 1.8 and above 2017-03-09 15:50:14 +01:00
ethash_algo_go1.8.go pow: only support prime calculations on Go 1.8 and above 2017-03-09 15:50:14 +01:00
ethash_algo_test.go pow: fix Search with ethash test mode 2017-03-18 01:05:28 +01:00
ethash_algo.go pow: fix Search with ethash test mode 2017-03-18 01:05:28 +01:00
ethash.go pow: fix Search with ethash test mode 2017-03-18 01:05:28 +01:00
pow.go all: swap out the C++ ethash to the pure Go one (mining todo) 2017-03-09 15:50:14 +01:00
xor.go crypto, pow: add pure Go implementation of ethash 2017-03-09 15:50:14 +01:00