1
0
Fork 0
forked from lthn/blockchain
Commit graph

7 commits

Author SHA1 Message Date
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
sowle
f4bc3a4160
unit_tests: fixed payment_id_sizes (2) 2020-07-08 20:13:38 +03:00
sowle
ce5e61a055
unit_tests: fixed unintialized variable in payment_id_sizes 2020-07-08 19:25:30 +03:00
sowle
df41672f44
unit_tests: few tests adapted to new address format + lmdb fixed 2020-05-28 19:38:47 +03:00
sowle
42a752d12b
new addresses formats + unit tests 2020-04-30 18:50:22 +03:00
sowle
145dd6b024
unit_tests fixed 2020-04-23 14:56:03 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00