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
Stёpa Dolgorukov
4e78beebeb
unit_tests: repair compilation on the G++ 12 compiler (#473) 2024-10-25 18:06:21 +02:00
cryptozoidberg
8904cc20c4
fixed serialization test 2024-09-10 18:49:19 +04:00
cryptozoidberg
4c666aa6a4
added more test cases for emmit into multiassets_basic_test 2023-08-16 23:04:29 +02:00
cryptozoidberg
033ec29d60
attempt to fix unit_tests Serialization:versioning2 2022-10-10 14:46:56 +02:00
cryptozoidberg
213cb4f85c
implemented proper versioning for binary serialization 2022-09-23 23:19:44 +02:00
cryptozoidberg
91e8b2ba6f
fixed compilation for unit_tests 2022-09-14 22:08:21 +02:00
cryptozoidberg
fa4b8ab130
signature refactoring: pre-core tests 2022-06-23 16:22:55 +02:00
sowle
775fab7374
unit_test: compilation fixup 2022-05-27 17:14:38 +02:00
cryptozoidberg
7070cecaf2
tx strcture and signature varian refactoring(compilation is still broken) 2022-05-23 21:03:13 +02:00
cryptozoidberg
17d1245db1
serializations forks as magic 2022-05-17 17:32:53 +02:00
cryptozoidberg
23803851fe
serialization of versioned transactions: test(in progress) 2022-05-17 16:16:57 +02:00
cryptozoidberg
240b5808b9
trasaction binary versions transaction implementation 2022-05-16 23:32:28 +02:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00