nimbus-eth1/nimbus/p2p
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
..
chain Jordan/pow cache management (#888) 2021-12-10 08:49:57 +00:00
clique fixes comments in clique.seal func 2021-08-24 16:14:17 +07:00
executor move stateDB from VMState to chainDB 2021-10-28 18:57:08 +07:00
blockchain_sync.nim Sync fix: `GetBlockBodies` logic preventing sync, dropping peers 2021-10-19 10:20:26 +01:00
chain.nim Feature/implement poa processing (#748) 2021-07-14 16:13:27 +01:00
clique.nim clique: connect period and epoch from chain_config to engine 2021-08-11 17:42:41 +07:00
dao.nim replace state_db with accounts_cache 2020-05-30 10:14:59 +07:00
executor.nim Feature/implement poa processing (#748) 2021-07-14 16:13:27 +01:00
gaslimit.nim config: replace stdlib parseOpt with nim-confutils 2021-09-18 17:34:46 +07:00
validate.nim Jordan/pow cache management (#888) 2021-12-10 08:49:57 +00:00