1
0
Fork 0
forked from lthn/blockchain
Commit graph

14 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
Snider
763d70bec2
Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
sowle
4f703fe8f8
DIFFICULTY_STARTER was split into DIFFICULTY_POW_STARTER and DIFFICULTY_POS_STARTER 2022-11-23 03:05:59 +01:00
cryptozoidberg
ef856d01cc
diff switched to more portable ver 2020-01-27 22:42:18 +01:00
cryptozoidberg
41d4a9b0d3
added class drafts for plain wallet api for mobile app 2020-01-14 23:30:17 +01:00
cryptozoidberg
c9f93364ad
changed difficulty adjustment 2019-07-19 18:39:00 +02:00
cryptozoidberg
f77ca1767c
fixed unused var warning 2019-05-21 19:05:22 +02:00
crypro.zoidberg
cfbe5d2bbc implemented target_calculation optimisation 2019-04-18 23:29:38 +02:00
crypro.zoidberg
5dec82a2fc added more details on performance monitoring 2019-04-17 19:24:44 +02:00
sowle
a62abcf0b5 internal stratum server 2019-03-29 05:43:23 +03:00
crypro.zoidberg
4e65c22310 fixed bug in adjustment fun, tests passing ok 2019-03-03 02:52:12 +01:00
crypro.zoidberg
b90a18578d new difficuty adjustment moved into the scene 2019-03-03 01:09:42 +01:00
crypro.zoidberg
6adcc5c601 simulation few lines 2019-02-06 13:51:17 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00