package ethashcfg import ( "github.com/ledgerwatch/log/v3" ) // Config are the configuration parameters of the ethash. type Config struct { CachesInMem int CachesLockMmap bool DatasetDir string DatasetsInMem int DatasetsOnDisk int DatasetsLockMmap bool PowMode Mode // When set, notifications sent by the remote sealer will // be block header JSON objects instead of work package arrays. NotifyFull bool Log log.Logger `toml:"-"` } // Mode defines the type and amount of PoW verification an ethash engine makes. type Mode uint const ( ModeNormal Mode = iota ModeShared ModeTest ModeFake ModeFullFake )