Skip to content

newDataset

Source (upstream pre-purge) Current
File consensus/ethash/ethash.go ethash.go
Symbol newDataset newDataset
Ref dde2da0ef~1 etc/v1.17.3-full-node

3-way merge — purge → getc ← upstream

pre-purgecore-geth
// newDataset creates a new ethash mining dataset and returns it as a plain Go
// interface to be usable in an LRU cache.
func newDataset(epoch uint64, epochLength uint64) *dataset {
return &dataset{epoch: epoch, epochLength: epochLength}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`ethash.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/consensus/ethash/ethash.go) | | Symbol | `newDataset` | | Ref | `v1.12.20` |

← Consensus & Ethash