1
0
Fork 0
forked from lthn/blockchain
blockchain/tests
Claude 467c64d015
feat: RandomX PoW, LWMA difficulty, stratum mining.* protocol, new genesis
Replace ProgPowZ with RandomX for ASIC-resistant proof-of-work. The
full dataset is initialized multi-threaded at startup with the key
"LetheanRandomXv1". Thread-local VMs are created on demand.

Switch difficulty algorithm from Zano's 720-block window to LWMA-1
(zawy12) with a 60-block window for much faster convergence after
hashrate changes. Target block time set to 10s for PoW.

Add standard stratum mining.* protocol handlers (subscribe, authorize,
submit, extranonce.subscribe) alongside existing EthProxy eth_*
handlers, with automatic protocol detection and mining.notify
translation for XMRig-based miners.

Generate fresh Lethean genesis block and premine wallet. Replace all
remaining hardcoded Zano addresses in tests with runtime-generated
keys to avoid prefix mismatches. Link RandomX library across all
build targets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 13:22:25 +00:00
..
core_tests feat: RandomX PoW, LWMA difficulty, stratum mining.* protocol, new genesis 2026-02-06 13:22:25 +00:00
crypto fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
daemon_tests Moved sources to public repo 2018-12-27 18:50:45 +03:00
db_tests Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
functional_tests fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
gtest autodoc inital code + cmake warningns + improvements over compilation performance 2024-03-20 14:45:29 +01:00
hash improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
net_load_tests Moved sources to public repo 2018-12-27 18:50:45 +03:00
performance_tests fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
unit_tests feat: RandomX PoW, LWMA difficulty, stratum mining.* protocol, new genesis 2026-02-06 13:22:25 +00:00
CMakeLists.txt feat: RandomX PoW, LWMA difficulty, stratum mining.* protocol, new genesis 2026-02-06 13:22:25 +00:00
cryptolib.pl Moved sources to public repo 2018-12-27 18:50:45 +03:00
cryptotest.pl Moved sources to public repo 2018-12-27 18:50:45 +03:00
hash-target.cpp Moved sources to public repo 2018-12-27 18:50:45 +03:00
io.h Moved sources to public repo 2018-12-27 18:50:45 +03:00