cerc-io / go-ethereum

Read-only mirror of https://git.vdb.to/cerc-io/go-ethereum (Statediffing-fork of the official Go implementation of the Ethereum protocol)
https://git.vdb.to/cerc-io/go-ethereum
GNU Lesser General Public License v3.0
13 stars 4 forks source link

Add a new option to the config for capping the maximum difficulty. #312

Closed telackey closed 1 year ago

telackey commented 1 year ago

Add a new option (config.cappedMaximumDifficulty) for capping the maximum difficulty level. When set low (eg, 1) this is useful for speeding up block creation on a test network.