Commit graph

17 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
8dd8a6ac1c
tx hf id: WIP 2024-12-27 07:27:43 +01:00
sowle
13f524defb
tx hardfork id: wip (basic structures, miner tx creation adapted, tests adapted almost all + hard_fork_5_tx_version) 2024-12-06 05:39:18 +01:00
sowle
31101bc788
PoS mining, construct_block_template, and chaingen infrastructure adapted for fee burning after HF4 2024-02-07 18:48:18 +01:00
cryptozoidberg
bf908f43a6
Merge branch 'cryptoassets' into recent_history 2023-06-20 21:59:53 +02:00
cryptozoidberg
b744dfb79b
all tests compilation fixed(still a lot of broken tests) 2023-06-13 23:06:55 +02:00
cryptozoidberg
c48f840f68
fixes over renect_history refactoring(tests still broken) 2023-06-13 00:16:46 +02:00
sowle
e80e4a60cc
1) refactored block template creation and construct_miner_tx to incorporate block reward, essential for Zarcanum PoS; 2) fixed a bug in Zarcanum PoS generation; zarcanum_block_with_txs test now passes successfully 2023-06-09 01:19:37 +02:00
cryptozoidberg
be5766f266
fixes against recent changes over tx_source_entry::output_entry 2022-07-13 17:17:04 +02:00
cryptozoidberg
52de76edd5
hidden amounts in wallet: fixed types 2022-07-06 13:22:05 +02:00
cryptozoidberg
4f80c7c334
signature refactoring with [] 2022-06-19 19:47:43 +02:00
cryptozoidberg
7070cecaf2
tx strcture and signature varian refactoring(compilation is still broken) 2022-05-23 21:03:13 +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
ca760a237a
fixed all coretests 2022-05-13 23:35:56 +02:00
cryptozoidberg
ce4b04014b
compilation of core tests fixed 2022-05-12 18:22:53 +02:00
sowle
f532e4637e
coretests fixed 2020-04-23 15:41:40 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00