1
0
Fork 0
forked from lthn/blockchain
Commit graph

21 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
Dmitry Matsiukhov
f8600d9fe4
fix cmake for linux build (#531) 2025-06-23 18:38:55 +04:00
cryptozoidberg
21c1631825
auth basic r and d 2024-03-13 13:16:36 +01:00
cryptozoidberg
f8d0e96d95 fixes related to build under vc2022 on windows arm64 2024-02-20 11:26:12 +04:00
cryptozoidberg
c74cd2d454
fixed bug in mobile wallet: wrong objects references 2023-11-21 21:08:54 +01:00
sowle
46a0db21ec
Merge branch 'develop' into cryptoassets
# Conflicts:
#	CMakeLists.txt
#	README.md
#	contrib/epee/include/net/http_client.h
#	src/currency_core/blockchain_storage.cpp
#	src/currency_core/currency_core.cpp
#	src/currency_core/currency_format_utils.cpp
#	src/gui/qt-daemon/layout
#	src/rpc/core_rpc_server.cpp
#	src/rpc/core_rpc_server.h
#	src/rpc/core_rpc_server_commands_defs.h
#	src/version.h.in
#	src/wallet/wallet2.cpp
#	src/wallet/wallet2.h
#	src/wallet/wallet_public_structs_defs.h
#	src/wallet/wallet_rpc_server.h
#	tests/core_tests/chaingen.cpp
#	tests/core_tests/pos_validation.cpp
#	tests/core_tests/wallet_tests.cpp
#	tests/performance_tests/main.cpp
2023-11-01 23:48:36 +01:00
sowle
7d57e8a993
coretests: chaingen PoS refactored, mining outside-of-wallet2 eliminated, code unified 2022-09-23 18:45:22 +02:00
cryptozoidberg
788c5be092
Added timeout to wallet rpc transport 2022-07-12 23:05:36 +02:00
sowle
67b5551eea
crypto tests: various fixes 2022-05-12 20:50:14 +02:00
sowle
9032642ca7
linux build: suppress -Wcomment globally, add dl as a dependency for coretests 2022-05-11 22:52:45 +02:00
sowle
66f212715b
coretests: gcc crazy linking fixed once again 2020-08-20 20:09:19 +03:00
cryptozoidberg
e4aef3f036
Implemented encryption stream 'sink' 2020-08-18 21:54:23 +02:00
anonimal
282214036c
contrib: update miniupnpc to 2.1, use submodule
Resolves the following implemented client vulnerabilities:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-6031
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8798

There are other client fixes as well and I would advise to
semi-regularly bump to master because of the lead developer's release
habits. In the meantime, version 2.1 should be good enough for now.

Note: the adding of TTL argument to upnpDiscover came with the API_VERSION 14.
2019-05-01 23:03:09 +00:00
sowle
303cb9b4ea various tests fixes for gcc 2019-05-01 21:25:56 +02:00
sowle
2143dc6779 functional_tests : fixed linkage for gcc 2019-05-01 21:02:33 +02:00
sowle
cbca150265 difficulty test removed as outdated 2019-05-01 21:01:40 +02:00
sowle
7558c30c8a attempt to fix tests compilation and linkage 2019-04-17 18:35:32 +03:00
crypro.zoidberg
cc850cf3c3 Inital integration of progpow 2019-03-25 01:30:20 +01:00
sowle
34516dd7a8 PCH for coretests corrected 2019-03-02 22:24:01 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00