go-ethereum/consensus
Konrad Feldmeier 2fefe4baa0 consensus: Fix makedag epoch
`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`.
2017-06-12 11:15:16 +02:00
..
clique consensus/clique: cache block signatures for fast checks 2017-05-29 22:07:02 +03:00
ethash consensus: Fix makedag epoch 2017-06-12 11:15:16 +02:00
misc core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00
consensus.go consensus, core, ethstats: use engine specific block beneficiary (#14318) 2017-04-12 16:38:31 +03:00
errors.go consensus/clique: Proof of Authority (#3753) 2017-04-10 12:24:12 +02:00