• Felix Lange's avatar
    pow: fix Search with ethash test mode · 24dd0355
    Felix Lange authored
    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
    24dd0355
Name
Last commit
Last update
..
ethash.go Loading commit data...
ethash_algo.go Loading commit data...
ethash_algo_go1.7.go Loading commit data...
ethash_algo_go1.8.go Loading commit data...
ethash_algo_go1.8_test.go Loading commit data...
ethash_algo_test.go Loading commit data...
pow.go Loading commit data...
xor.go Loading commit data...