mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 04:47:17 +00:00
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 |