nimbus-eth1/nimbus/utils
Jordan Hrycaj 55f7a4425f
Jordan/pow cache management (#888)
* PoW wrapper for verification & mining

why:
  It eases data management of per-Epoch lookup tables. Also some unit
  tests show limits of usefulness on non-specialised machines for
  mining besides developing tests.

details:
  For PoW verification, this patch provides a pretty wrapper hiding the
  details of the ethash/Hashimoto lookup cache management.

  For mining on my development system without special hardware, the
  underlying ethash functions are prohibitively slow. It takes
   * ~20 minutes to prepare the full ethash/Hashimoto lookup dataset
   * a second to run ~25k nonce tests (in the mining loop)

  The mining part might be of some use for generating test data for
  the tx-pool, though.

* Using PowRef as replacement for EpochHashCache + hashimotoLight()

* Fix typo (CI failed)

why:
  was below log level when testing locally

* fix canonical naming
2021-12-10 08:49:57 +00:00
..
pow Jordan/pow cache management (#888) 2021-12-10 08:49:57 +00:00
difficulty.nim EIP-3554: Difficulty Bomb Delay to December 2021 2021-06-29 07:36:41 +07:00
ec_recover.nim implement simple PoA sealing engine 2021-08-24 14:49:13 +07:00
header.nim remove unused calcGasLimit code 2021-08-24 18:30:52 +07:00
lru_cache.nim Feature/implement poa processing (#748) 2021-07-14 16:13:27 +01:00
pow.nim Jordan/pow cache management (#888) 2021-12-10 08:49:57 +00:00
utils_defs.nim #768 Moved/re-implemented ecRecover() from Clique sources to utils/ec_recover 2021-08-05 12:27:10 +07:00