Commit graph

29 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
ca9a8f95de
Merge branch 'develop' into txhfid 2025-02-03 18:29:45 +01:00
sowle
38e6556a49
2nd iteration on diminishing CPU mining presence in mainnet builds 2025-01-24 04:41:55 +01:00
sowle
8dd8a6ac1c
tx hf id: WIP 2024-12-27 07:27:43 +01:00
cryptozoidberg
100d46fa9b
changes and fixes over few tests in connection to hardfork 4 2024-01-30 18:59:47 +01:00
sowle
1854196132
coretests: gen_alias_too_much_reward adapted for post-HF4 2023-08-06 14:23:28 +02:00
sowle
ff3614fcce
coretests: gen_alias_in_coinbase, gen_alias_tests and gen_alias_too_small_reward were fixed and adapted for post-HF4 2023-08-06 02:00:40 +02:00
sowle
d1e066c609
coretests: various fixes for alias tests 2023-08-02 22:55:09 +02:00
sowle
affa54f1e1
partially fixed a bug with alias registration for hf4 + gen_alias_update_for_free test updated 2023-07-28 04:15:27 +02:00
sowle
1ec3bac95d
coretests: adapted few tests to fit redesigned test environment (hardforks) 2023-06-05 18:19:39 +02:00
sowle
bd784f9f50
code review and really minor improvements 2022-08-03 13:53:14 +02:00
cryptozoidberg
1a9c3b4d37
fixed coretests compilation 2022-07-13 20:55:34 +02:00
sowle
f24b1350ab
Merge branch 'zarcanum_tx' into zarcanum
# Conflicts solved in:
#	src/currency_core/blockchain_storage.cpp
#	src/currency_core/blockchain_storage.h
#	src/currency_core/core_runtime_config.h
2022-05-26 17:59:15 +02:00
sowle
456588ddc3
hardfork-related structures global refactoring 2022-05-26 16:53:40 +02:00
cryptozoidberg
217a54c8b1
fixed all core tests 2022-05-25 22:31:23 +02:00
cryptozoidberg
389209ff02
tx stracture changes: in progress 3 + signatures converting to varian signature: in progress 2022-05-20 21:32:27 +02:00
cryptozoidberg
186e1fdcf9
multiple fixes over core_tests(transition to tx_version 2) 2022-05-11 23:52:33 +02:00
cryptozoidberg
1cf6d337d3
introducing tx_version(in progress, everything is broken so far) 2022-05-10 23:49:20 +02:00
sowle
ff445036cc
coretests: code cleanup 2021-03-12 07:13:30 +03:00
sowle
e3dfa2ca67
coretests: many tests fixed due to more strict rule for extra_alias_entry and HF2 2021-03-11 19:43:39 +03:00
cryptozoidberg
b2a7423ab4
htlc in work: scanning for outputs and validation agains internal errors 2021-01-06 00:10:54 +01:00
sowle
c1e3b80191
coretests: minor refactoring 2020-05-18 17:20:23 +03:00
sowle
f532e4637e
coretests fixed 2020-04-23 15:41:40 +03:00
sowle
976ed481d0 coretests adapted for serializable_pair 2019-05-01 16:01:10 +02:00
crypro.zoidberg
7fc1eb4d8a multiple fixes on coretests 2019-04-25 23:37:43 +02:00
crypro.zoidberg
cc850cf3c3 Inital integration of progpow 2019-03-25 01:30:20 +01:00
crypro.zoidberg
3c1bb1b042 fixed coretests 2019-01-14 19:51:32 +03:00
crypro.zoidberg
a61ed92e9e changed seeding, implemented altchain pow validating, coretests changed for new pow 2019-01-13 00:12:30 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00