2fefe4baa0
`geth makedag <blocknumber> <path>` was creating DAGs for `<blocknumber>/<epoch_length> + 1`, hence it was impossible to create an epoch 0 DAG. This fixes the calculations in `consensus/ethash/ethash.go` for `MakeDataset` and `MakeCache`, and applies `gofmt`. |
||
---|---|---|
.. | ||
algorithm_go1.7.go | ||
algorithm_go1.8_test.go | ||
algorithm_go1.8.go | ||
algorithm_test.go | ||
algorithm.go | ||
consensus_test.go | ||
consensus.go | ||
ethash_test.go | ||
ethash.go | ||
sealer.go |