go-ethereum/consensus/ethash
Thomas E Lackey 2de2b746b3
Add a new option to the config for capping the maximum difficulty. (#312)
* consensus/ethash/consensus.go

* Add a new param to the config for capping the maximum difficulty.  This is useful for speeding up block creation on a test network.
2023-02-01 21:53:42 -06:00
..
algorithm_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
algorithm.go consensus/ethash: replace a magic number with it's constant (#22618) 2021-04-06 21:02:52 +03:00
api.go all: fix miner hashRate -> hashrate on API calls 2021-03-31 10:56:51 +03:00
consensus_test.go all: prefer new(big.Int) over big.NewInt(0) (#25087) 2022-06-14 15:09:48 +03:00
consensus.go Add a new option to the config for capping the maximum difficulty. (#312) 2023-02-01 21:53:42 -06:00
difficulty.go go.mod: upgrade to github.com/holiman/uint256 v1.2.0 (#22745) 2021-05-10 12:29:33 +02:00
ethash_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
ethash.go consensus/ethash: remove temp files created during DAG generation (#25381) 2022-08-02 14:33:23 +02:00
mmap_help_linux.go consensus/ethash: avoid runtime errors due to OOD on mmap writes (#23799) 2021-11-02 11:33:54 +01:00
mmap_help_other.go consensus/ethash: avoid runtime errors due to OOD on mmap writes (#23799) 2021-11-02 11:33:54 +01:00
sealer_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
sealer.go consensus/ethash: less allocation during mining (#23199) 2021-07-28 14:24:41 +02:00