• Konrad Feldmeier's avatar
    consensus: Fix `makedag` epoch · 2fefe4ba
    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
..
clique Loading commit data...
ethash Loading commit data...
misc Loading commit data...
consensus.go Loading commit data...
errors.go Loading commit data...