-
Konrad Feldmeier authored
`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`.
2fefe4ba
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| algorithm.go | ||
| algorithm_go1.7.go | ||
| algorithm_go1.8.go | ||
| algorithm_go1.8_test.go | ||
| algorithm_test.go | ||
| consensus.go | ||
| consensus_test.go | ||
| ethash.go | ||
| ethash_test.go | ||
| sealer.go |