55f7a4425f
* 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 |
||
---|---|---|
.. | ||
chain_desc.nim | ||
chain_helpers.nim | ||
chain_misc.nim | ||
persist_blocks.nim |