Versions in this module Expand all Collapse all v1 v1.0.0 Jul 13, 2019 Changes in this version + func MakeCache(block uint64, dir string) + func MakeDataset(block uint64, dir string) + func SeedHash(block uint64) []byte + type Config struct + CacheDir string + CachesInMem int + CachesOnDisk int + DatasetDir string + DatasetsInMem int + DatasetsOnDisk int + PowMode Mode + type Ethash struct + func NewTester() *Ethash + type Mode uint + const ModeFake + const ModeFullFake + const ModeNormal + const ModeShared + const ModeTest + type QEthash struct + func New(config Config, diffCalculator consensus.DifficultyCalculator, remote bool) *QEthash + func (q *QEthash) Finalize(chain consensus.ChainReader, header types.IHeader, state *state.StateDB, ...) (types.IBlock, error) + func (q *QEthash) Prepare(chain consensus.ChainReader, header types.IHeader) error